Skip to content

vmwarecloudadvocacy/cloudhealth-lambda-functions

Repository files navigation

CloudHealth Lambda Functions

Serverless apps are very efficient at running code, so what if we leveraged AWS Lambda to automate governance policies for multi-cloud environments? This repository has several AWS Lambda functions that can be triggered from CloudHealth.

Get Started

There are a few steps to get started with the AWS Lambda samples in this repository.

Current apps

  • Stop RDS instances - Stops RDS instances (looks for ARN values from CloudHealth with resource type='db')
  • Snapshot EC2 instances - Takes a snaphot of an EC2 instance (looks for ARN values from CloudHealth with resource type = 'instance')
  • Modify EBS volume - Updates the size of an EBS volume (looks for ARN values from CloudHealth with resource type = 'instance')

All samples are available in Python and Go

Contributing

If you have any thoughts on which functions we could add, feel free to raise a new issue. If you want to contribute your own functions to this repository, feel free to open a Pull Request.

License

All of these functions are available under the MIT license.

About

Tested lambda functions that can be triggered by cloudhealth

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages