Which compute should this container use?

Which compute should this container use? A workflow diagram generated by Archify. 01 / Walk the questions left to right EX / Leaves ECS compute 03 / ECS compute mode Hard constraints Engineering trade-offs Runs outside AWS? · on-prem or edge · Walk the questions left to right › Hard constraints · start here Runs outside AWS? on-prem or edge start here Need Kubernetes? · CRDs and operators · Walk the questions left to right › Hard constraints Need Kubernetes? CRDs and operators Plain HTTPS service? · needs DNS and TLS now · Walk the questions left to right › Hard constraints Plain HTTPS service? needs DNS and TLS now Special hardware? · GPU, Arm or Spot · Walk the questions left to right › Engineering trade-offs Special hardware? GPU, Arm or Spot Need the host? · custom AMI or daemons · Walk the questions left to right › Engineering trade-offs Need the host? custom AMI or daemons ECS on EC2 · your ASG and AMI · Walk the questions left to right › Engineering trade-offs ECS on EC2 your ASG and AMI ECS Anywhere · launchType: EXTERNAL · Leaves ECS compute › Hard constraints ECS Anywhere launchType: EXTERNAL Amazon EKS · you own the upgrades · Leaves ECS compute › Hard constraints · Kubernetes Amazon EKS you own the upgrades ECS Express Mode · one call does the wiring · ECS compute mode › Hard constraints ECS Express Mode one call does the wiring AWS Fargate · just CPU and memory · ECS compute mode › Engineering trade-offs AWS Fargate just CPU and memory ECS Managed Instances · AWS operates the EC2 · ECS compute mode › Engineering trade-offs ECS Managed Instances AWS operates the EC2 no yes no yes no yes no yes no yes Legend Decision point AWS compute option Outside AWS

Read it left to right

  • • The first three questions are constraints, not preferences
  • • Only the last two are genuine engineering trade-offs
  • • Most teams stop at Express Mode or Fargate - that is the correct answer

Cheap to change your mind

  • • The task definition is portable across every ECS outcome
  • • Moving between ECS and EKS is a real migration, not a setting
  • • Start simple; you can always take on more of the host later