{"id":23463804,"url":"https://github.com/abhinav2712/aws-ebs-volume-automation","last_synced_at":"2026-05-07T08:33:34.619Z","repository":{"id":193102455,"uuid":"688123051","full_name":"abhinav2712/AWS-EBS-Volume-Automation","owner":"abhinav2712","description":"Optimize AWS EBS volumes with automated management. Ensure compliance and efficiency in your cloud infrastructure. Learn how to implement it","archived":false,"fork":false,"pushed_at":"2023-09-06T18:13:15.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-16T01:44:03.618Z","etag":null,"topics":["automation","aws","aws-cloudwatch","aws-cloudwatch-logs","aws-lambda","cloudnative","compliance","devops","ebs-volumes"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abhinav2712.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-09-06T17:42:50.000Z","updated_at":"2023-09-06T18:14:41.000Z","dependencies_parsed_at":"2023-09-06T20:25:43.441Z","dependency_job_id":null,"html_url":"https://github.com/abhinav2712/AWS-EBS-Volume-Automation","commit_stats":null,"previous_names":["abhinav2712/aws-ebs-volume-automation"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhinav2712%2FAWS-EBS-Volume-Automation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhinav2712%2FAWS-EBS-Volume-Automation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhinav2712%2FAWS-EBS-Volume-Automation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhinav2712%2FAWS-EBS-Volume-Automation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abhinav2712","download_url":"https://codeload.github.com/abhinav2712/AWS-EBS-Volume-Automation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248565086,"owners_count":21125415,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","aws","aws-cloudwatch","aws-cloudwatch-logs","aws-lambda","cloudnative","compliance","devops","ebs-volumes"],"created_at":"2024-12-24T09:16:34.300Z","updated_at":"2026-05-07T08:33:34.576Z","avatar_url":"https://github.com/abhinav2712.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Automated EBS Volume Type Enforcement and Compliance Monitoring System\n\n## Video Demonstartion of the project:\nhttps://github.com/abhinav2712/AWS-EBS-Volume-Automation/assets/68495520/6b0c0ec4-1bbb-42b2-b41e-e17d1c0d4dc6\n\nWe can see, first the old volume is deleted and new one is created since the lambda fucntion would get trigerred only on the creation of the new volume. Now on creating a new one, the type is left by default 'GP2', however later on refresh , the type automatically gets converted into 'GP3'\n\n\nBlog Link: https://abhinavkumar.hashnode.dev/aws-ebs-volume-automation\n\nIn today's ever-evolving cloud computing landscape, efficiency and compliance are vital for the smooth operation of any organization's infrastructure. As a Cloud Engineer, it's your responsibility to optimize cloud resources and services while adhering to company policies. This blog explores a unique project that demonstrates the power of automation and monitoring within Amazon Web Services (AWS) to maintain operational excellence and regulatory compliance.\n\n## The Challenge: EBS Volume Type Mismatch\nImagine a scenario where your organization heavily relies on Amazon Elastic Block Store (EBS) volumes, which come in different types. The recurring issue is that team members inadvertently create \"GP2\" volumes when the company standard is \"GP3.\" This mismatch leads to inefficiencies and poses risks to resources and budgets.\n\n## The Solution: Automation with CloudWatch Events and Lambda\nTo address this challenge, we leverage two powerful AWS services: Amazon CloudWatch Events and AWS Lambda. These tools enable automatic monitoring of EBS volume creation, detection of \"GP2\" volumes, and conversion to the preferred \"GP3\" type, all while maintaining compliance.\n\n## Project Overview\n### Step 1: Configure Your AWS Environment\nEnsure you have the following prerequisites in place:\n\nAWS account with necessary permissions.\nAWS Command Line Interface (CLI).\nBasic Python knowledge.\n\n### Step 2: Create a Lambda Function\nCreate a Lambda function responsible for EBS volume type conversions using the AWS Lambda console. Write Python code to handle GP2 to GP3 conversions.\n\n### Step 3: Set Up a CloudWatch Events Rule\nConfigure CloudWatch Events to monitor EBS volume creation and trigger the Lambda function when necessary.\n\n### Step 4: Write Lambda Function Logic\nDevelop Python code to extract volume IDs from ARNs and use boto3 to modify volume types.\n\n## Conclusion\nThis project showcases the value of automation in maintaining operational excellence and compliance. Whether you're a seasoned Cloud Engineer or new to cloud computing, you can optimize AWS infrastructure while adhering to company standards. By proactively addressing EBS volume type mismatches, you enhance resource utilization and operational efficiency. Automation is a key element in keeping AWS environments well-managed and compliant.\n\n## Detailed BLog on the same:\nhttps://abhinavkumar.hashnode.dev/aws-ebs-volume-automation\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhinav2712%2Faws-ebs-volume-automation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabhinav2712%2Faws-ebs-volume-automation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhinav2712%2Faws-ebs-volume-automation/lists"}