/aws-lambda-Functions

Lambda Functions for building most of the services like EBS,EC2,ASG,RDS,S3,ECache,CW event,SNS and SES

Primary LanguagePython

AWS-lambdaFunctions

https://github.com/knowledgeshare99/aws-lambda

Lambda Functions using CW event,SNS and SES

#lambda function for stop_and_start instance

https://matoski.com/article/aws-automatic-start-stop-instances-lambda/

######### stop and start #########

https://asmed.com/lambda-tutorial-schedule-to-stop-ec2-instances/

######### stop and start from ASG

https://gist.github.com/veuncent/3e8ea08b0b593620451e887daef1595a

http://blog.conygre.com/2016/11/18/starting-and-stopping-ec2-instances-using-a-lambda-and-cut-your-aws-bill-in-half/

################# orphaned volumes ##########

https://davidheward.com/2017/03/23/cleaning-up-orphaned-aws-ebs-volumes-with-aws-lambda-and-python.html

https://cloud.netapp.com/blog/automate-ebs-volumes-cost-efficiency

https://mike.lapidak.is/thoughts/lambda-tracking-orphaned-ebs-volumes

############## SendMail function using boto ###########

https://stackoverflow.com/questions/43157065/error-on-amazon-ses-sendemail-operation-illegal-addres

#VPC - Notify On Invalid External Peering Connections

https://www.capitalone.io/docs/usecases/vpcpeeringcrossaccount.html

#RDS - Terminate Unencrypted Public Instances

https://www.capitalone.io/docs/usecases/rdspublicunencrypted.html

#RDS - Delete Unused Databases With No Connections

https://www.capitalone.io/docs/usecases/rdsdeleteunused.html

#Lambda Function to maintain s3 lifecycle managment

https://github.com/aws-samples/aws-lambda-lifecycle-hooks-function/blob/master/lambda_backup.py