All Projects → eheydrick → ebsautotagger

eheydrick / ebsautotagger

Licence: MIT License
AWS Lambda function to tag EBS volumes created by autoscaling

Programming Languages

HCL
1544 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to ebsautotagger

Content Lambda Boto3
Automating AWS with Lambda, Python, and Boto3
Stars: ✭ 91 (+405.56%)
Mutual labels:  lambda, ec2
Komiser
☁️ Cloud Environment Inspector 👮🔒 💰
Stars: ✭ 2,684 (+14811.11%)
Mutual labels:  lambda, ec2
Aws Cli Cheatsheet
☁️ AWS CLI + JQ = Make life easier
Stars: ✭ 94 (+422.22%)
Mutual labels:  lambda, ec2
awsctl
Control AWS infrastructure easily from a single command line written in Go
Stars: ✭ 97 (+438.89%)
Mutual labels:  ec2, ebs
aws-backup-lambda
A utility AWS lambda function to manage EBS and RDS snapshot backups.
Stars: ✭ 60 (+233.33%)
Mutual labels:  lambda, ebs
Awesome Aws
A curated list of awesome Amazon Web Services (AWS) libraries, open source repos, guides, blogs, and other resources. Featuring the Fiery Meter of AWSome.
Stars: ✭ 9,895 (+54872.22%)
Mutual labels:  lambda, ec2
Terraform Aws Labs
Terraform template for AWS provider ☁️
Stars: ✭ 146 (+711.11%)
Mutual labels:  lambda, ec2
Aws Automation
AWS automation scripts and lambda functions
Stars: ✭ 81 (+350%)
Mutual labels:  lambda, ec2
tech1-temple-aws
AWS Proofs of Concepts repository. No Longer Supported
Stars: ✭ 32 (+77.78%)
Mutual labels:  lambda, ec2
go-localstack
Go Wrapper for using localstack
Stars: ✭ 56 (+211.11%)
Mutual labels:  lambda, ec2
Awstaghelper
AWS bulk tagging tool
Stars: ✭ 98 (+444.44%)
Mutual labels:  lambda, ec2
sensu-plugins-aws
This plugin provides native AWS instrumentation for monitoring and metrics collection, including: health and metrics for various AWS services, such as EC2, RDS, ELB, and more, as well as handlers for EC2, SES, and SNS.
Stars: ✭ 79 (+338.89%)
Mutual labels:  ec2, ebs
aws-tag-sched-ops
Retired, please see https://github.com/sqlxpert/lights-off-aws
Stars: ✭ 24 (+33.33%)
Mutual labels:  ec2, ebs
ebs-backup
Backup EBS Volumes
Stars: ✭ 34 (+88.89%)
Mutual labels:  lambda, ebs
instance-watcher
Get notified for Instances mistakenly left running across all AWS regions for specific AWS Account
Stars: ✭ 90 (+400%)
Mutual labels:  lambda, ec2
s3-lambda-transcribe-audio-to-text-s3
Transcribe your audio to text with this serverless component
Stars: ✭ 84 (+366.67%)
Mutual labels:  lambda
lambda-string
Lambda-string (LS) is a helping java agent that inject configurable toString method into lambdas with some useful meta-information.
Stars: ✭ 34 (+88.89%)
Mutual labels:  lambda
terraform-aws-ec2-ami-backup
Terraform module for automatic & scheduled AMI creation
Stars: ✭ 19 (+5.56%)
Mutual labels:  ebs
example-step-functions-integration-api-gateway
Example application using the new Step Functions integration with API Gateway. It developers to call API Gateway REST APIs and API Gateway from a Step Functions workflow.
Stars: ✭ 17 (-5.56%)
Mutual labels:  lambda
buildkite-agent-scaler
📈A lambda for scaling an AutoScalingGroup based on Buildkite metrics
Stars: ✭ 25 (+38.89%)
Mutual labels:  lambda

ebsautotagger

Tag EBS volumes created by autoscaling.

Currently there is no way for EC2 autoscaling to tag EBS volumes when they are created. The ebsautotagger lambda function will automatically add tags to EBS volumes as autoscaling launches the instances. A Cloudwatch Events rule is used to invoke the lambda. It will tag all non-root EBS volume with the tags you specify in the lambda function.

Usage

You will most certainly need to adjust the lambda function to meet your needs. The example function will add a few sample tags. It looks for an instance tag called service with a value defined in the environment variable SERVICE_TAG_VALUE. You will want to adjust this for your environment or replace it with something that makes more sense for you.

The terraform directory contains terraform code that sets everything up. This terraform will do the following:

  1. Deploy lambda function
  2. Create Cloudwatch Rule that invokes the lambda function when autoscaling launches instances.
  3. Create all the required IAM permissions
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].