Amazon ECS best practices - Amazon Elastic Container Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Amazon ECS best practices

You can use any of the following pages to learn the most important operational best practices for Amazon ECS networking.

Best practice overview Learn more

Connect applications to the internet

Connect Amazon ECS applications to the internet

Receive inbound connections to Amazon ECS from the internet.

Best practices for receiving inbound connections to Amazon ECS from the internet

Connect Amazon ECS to other Amazon services within a VPC

Best practices for connecting Amazon ECS to Amazon services from inside your VPC

Network services across Amazon Web Services accounts and VPCs

Best practices for networking Amazon ECS services across Amazon Web Services accounts and VPCs

Troubleshoot network issues

Amazon services for Amazon ECS networking troubleshooting

You can use any of the following pages to learn the most important operational best practices for Fargate on Amazon ECS.

Best practice overview Learn more

Fargate security

Fargate security best practices in Amazon ECS

Fargate security considerations

Fargate security considerations for Amazon ECS

Linux containers on Fargate container image pull behavior

Linux containers on Fargate container image pull behavior for Amazon ECS

Windows containers on Fargate container image pull behavior

Windows containers on Fargate container image pull behavior for Amazon ECS
Fargate task retirement Task retirement and maintenance for Amazon Fargate on Amazon ECS

You can use any of the following pages to learn the most important operational best practices for task definitions.

Best practice overview Learn more

Container images

Best practices for Amazon ECS container images
Task size Best practices for Amazon ECS task sizes
Volume best practices Storage options for Amazon ECS tasks

You can use any of the following pages to learn the most important operational best practices for clusters and capacity.

Best practice overview Learn more

Fargate security

Fargate security best practices in Amazon ECS

EC2 container instance security considerations

Amazon EC2 container instance security considerations for Amazon ECS

Cluster auto scaling

Optimize Amazon ECS cluster auto scaling

You can use any of the following pages to learn the most important operational best practices for tasks and services.

Best practice overview Learn more

Optimize task launch time

Optimize Amazon ECS task launch time

Service parameters

Best practices for Amazon ECS service parameters

Optimize load balancer health check parameters

Optimize load balancer health check parameters for Amazon ECS

Optimize load balancer connection draining parameters

Optimize load balancer connection draining parameters for Amazon ECS

Optimize service auto scaling

Optimize Amazon ECS service auto scaling

You can use any of the following pages to learn the most important operational best practices for security.

Best practice overview Learn more

Network security

Network security best practices for Amazon ECS

Task and container security

Amazon ECS task and container security best practices