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

Stop using CopyImage, upload to all regions in Parallel #122

Open
arianvp opened this issue Apr 19, 2024 · 1 comment
Open

Stop using CopyImage, upload to all regions in Parallel #122

arianvp opened this issue Apr 19, 2024 · 1 comment
Labels
cost-saving :dollar:

Comments

@arianvp
Copy link
Member

arianvp commented Apr 19, 2024

EC2 charges 2 cents per gigabyte for inter-region egress traffic. This means that every CopyImage call costs us 4 cents.

In the meantime, Github Actions doesn't charge for Egress and EC2 doesnt' charge for ingress. So if we create a github job for each Region we will save like a dollar per CI run.

@arianvp arianvp added the cost-saving :dollar: label Apr 19, 2024
@arianvp
Copy link
Member Author

arianvp commented Apr 19, 2024

This also significantly simplifies the code. So win win?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cost-saving :dollar:
Projects
None yet
Development

No branches or pull requests

1 participant