Search code examples
amazon-web-servicesamazon-ecsaws-fargate

Custom Machine Image for ECS-Fargate


I am trying to use AWS ECS Fargate. I notice that one can build their own Machine Image (AMI) to be used with ECS-EC2.

However, I do not see any documentation for how/if we can build a custom Machine Image for ECS Fargate. Is that supported? If so how can I build one?


Solution

  • ECS Fargate uses containers, not virtual machines. Therefore when working with ECS, you don't use AMIs but Docker images, which are specified in the Task Definition with the Image parameter.