aws: update instance types for 2025 #216
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds new instance types to both ARM64 and AMD64, mostly types which were introduced in 2025. The criteria was: it must have the same amount of memory, it must be suitable for CPU and I/O intensive tasks and the price must be very similar.
For ARM64, there is a new Graviton4 CPU available for us-east-1 that still has competitive pricing, it is just slightly more than our biggest instance currently in use.
For AMD64, I propose to also add Flex types which were introduced in 2024 and these are recommended by AWS for CICD pipelines. These flex instances share more CPU time with others and they are CPU-throttled, meaning if there is long enough burst the instance might get throttled but this almost never gonna happen in our use case (we only use high CPU during image compression for few minutes). There are no credits or extra fees tho, this is safe to use. Additionally, new m8 types were introduced in 2025 which can be also used at the very same pricing.
I used Gemini to help me to navigate through AWS price lists, so review with care.