In this section, we will create an ECS cluster to run the serverless application.

docker-container-ecs

In AWS ECS, a task definition is a blueprint that specifies how Docker containers should be configured and run, detailing the Docker images, CPU and memory requirements, networking settings like port mappings, environment variables, and data volumes.

docker-container-taskFARGATEecsTaskExecutionRole. You can choose Create new role if you don’t have one.

container-018000
