Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cost efficient AMIs (review 2/14/21) #59

Open
3 of 4 tasks
cellistigs opened this issue Feb 1, 2021 · 0 comments
Open
3 of 4 tasks

Cost efficient AMIs (review 2/14/21) #59

cellistigs opened this issue Feb 1, 2021 · 0 comments

Comments

@cellistigs
Copy link
Collaborator

cellistigs commented Feb 1, 2021

For cost efficiency, we should reduce our usage of EBS resources. We can do this as follows:

  • delete all volumes not actively in use by an instance. Volumes can be recreated at will from snapshots.
  • Set up a cron job to periodically delete unused volumes and snapshots. See the snapshot_utils code you have to set up a lambda function for this.
  • In two weeks, delete all AMIs that are not currently referenced in a CFN stack. Send out an email to notify on this.
  • Delete all unattended instances older than 6 weeks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant