https://github.com/stelligent/elastic-volumes-lambda
Lambda and example terraform to demo automation of elastic volume live modifications
https://github.com/stelligent/elastic-volumes-lambda
Last synced: 4 months ago
JSON representation
Lambda and example terraform to demo automation of elastic volume live modifications
- Host: GitHub
- URL: https://github.com/stelligent/elastic-volumes-lambda
- Owner: stelligent
- License: mit
- Created: 2017-06-02T01:13:50.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-01-07T21:33:14.000Z (over 6 years ago)
- Last Synced: 2025-05-14T19:17:27.611Z (about 1 year ago)
- Language: HCL
- Size: 2.93 KB
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
### Requirements
* Python 2.7
* Terraform
* AWS keys configured
### Setup
* Zip up lambda code: `zip modify_elastic_volume.zip modify_elastic_volume.py`
* Run terraform: `terraform apply`
### Testing
* Let all resources come up and verify EC2 instance's alarm status as "OK"
* SSH into the EC2 instance and fill up the disk space: `fallocate -l 6G file`
* Watch the alarm and see it trigger the lambda
* Within 10 minutes or so, your instance should have more space!