Skip to main content
The 2024 Developer Survey results are live! See the results

What is the best way to use ASG priority when you are building multiplatform docker image?

Created
Active
Viewed 56 times
0 replies
1

I have a use case where I need to deploy a Docker image on Graviton. However, as per AWS, Graviton instances are not as widely available as x86 or AMD instances. Therefore, I am creating a multi-platform image so that it can be deployed on any type of architecture, but I also want to prioritize deployment on Graviton machines due to their lower price and better performance.

In what order should I set priority expander for EKS,

ASG 1 Graviton on demand

ASG 2 AMD on demand

ASG 3 Graviton spot

ASG 4 AMD spot

or

ASG 1 Graviton on demand

ASG 2 Graviton spot

ASG 3 AMD on demand

ASG 4 AMD spot

Which order is safer for production-level configuration?

Or should I move towards to use Karpenter?