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

add lifecycle rules to elastic filesystem storage layer #356

Open
twentylemon opened this issue Oct 16, 2021 · 2 comments
Open

add lifecycle rules to elastic filesystem storage layer #356

twentylemon opened this issue Oct 16, 2021 · 2 comments
Labels
deployment To do with the docker image build or running it

Comments

@twentylemon
Copy link
Member

EFS has an infrequent access storage class, which is quite a bit cheaper than the standard storage class, but you do end up paying for data transfer when you access the data. There's settings on the file system you can configure to have the data within automatically move from standard to infrequent access classes if the data is unused for a set period of time, then back after it is accessed to avoid data transfer costs. See CloudFormation attribute for lifecycle rules.

It may be cheaper to always use infrequent access, given the size of the data we typically request. That may change after ~1y, so probably do the math so see what's up.

@twentylemon twentylemon added the deployment To do with the docker image build or running it label Oct 16, 2021
@twentylemon twentylemon changed the title add lifecycle rules to elastic filesystem storage layer (post aws free tier) add lifecycle rules to elastic filesystem storage layer Oct 16, 2021
@twentylemon twentylemon added this to the AWS Free Tier Expires milestone Oct 16, 2021
@twentylemon
Copy link
Member Author

Can maybe also switch to using S3 as a file system. Storage is a little cheaper infrequent access tier for EFS even.

@twentylemon
Copy link
Member Author

We're only storing about 50Mb in EFS still (only /weather uses it). The cost to leave it entirely in standard storage will be $0.01 - $0.02 per month, depending on rounding. I'll leave the issue open, but won't be working on it until we start using the database quite a bit more.

@twentylemon twentylemon removed this from the AWS Free Tier Expires milestone Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployment To do with the docker image build or running it
Projects
None yet
Development

No branches or pull requests

1 participant