This page provides an index to existing documentation and a To Do list for standard solutions of technical problems we regularly face.
Standard Solutions That Need to be (Better) Documented
(Also, standards solutions that we need to come up with.)
- Provide customer access to files on EFS volumes, without requiring shell access. Access to AWS EFS Volumes
Standard Solutions
Set an environment variable with AWS region for instances in Elastic Beanstalk
- There are lots of ways to do this, but this is automagical if you are using Elastic Beanstalk
- https://github.com/awslabs/elastic-beanstalk-docs/blob/master/.ebextensions/aws_provided/instance%20configuration/env-regionname.config
Use an EFS volume for instances in Elastic Beanstalk
- http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/services-efs.html
- Create EFS - https://github.com/awslabs/elastic-beanstalk-docs/blob/master/.ebextensions/aws_provided/instance%20configuration/storage-efs-createfilesystem.config
- Mount EFS - https://github.com/awslabs/elastic-beanstalk-docs/blob/master/.ebextensions/aws_provided/instance%20configuration/storage-efs-mountfilesystem.config
Setup Papertrail on Elastic Beanstalk instances
- http://help.papertrailapp.com/kb/hosting-services/aws-elastic-beanstalk/
- https://github.com/papertrail/remote_syslog2/blob/master/examples/remote_syslog.ebextensions.config
- See also Logging Tool : Papertrail
Snapshot EBS volumes attached to running EC2 instances
- Use snapshotting instead of a traditional file backup process.
- Configure a Jenkins job to run the auto-snapshot utility.
- https://github.com/CU-CloudCollab/cucloud_utils#auto-snapshot
Prune EBS snapshots
- Prune snapshots that are older than a specified age. Useful in conjunction with "Snapshot (backup) EBS volumes attached to running EC2 instances".
- https://github.com/CU-CloudCollab/cucloud_utils#clean-snapshots
- https://github.com/CU-CloudCollab/cucloud_utils/blob/master/bin/delete-ebs-snapshots-older-than.rb