

# Amazon ECS best practices
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](networking-outbound.md)  | 
|  Receive inbound connections to Amazon ECS from the internet.  |  [Best practices for receiving inbound connections to Amazon ECS from the internet](networking-inbound.md)  | 
|  Connect Amazon ECS to other AWS services within a VPC  |  [Best practices for connecting Amazon ECS to AWS services from inside your VPC](networking-connecting-vpc.md)  | 
|  Network services across AWS accounts and VPCs  |  [Best practices for networking Amazon ECS services across AWS accounts and VPCs](networking-connecting-services-crossaccount.md)  | 
|  Troubleshoot network issues  |  [AWS services for Amazon ECS networking troubleshooting](networking-troubleshooting.md)  | 

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](security-fargate.md)  | 
|  Fargate security considerations  |  [Fargate security considerations for Amazon ECS](fargate-security-considerations.md)  | 
|  Linux containers on Fargate container image pull behavior  |  [Linux containers on Fargate container image pull behavior for Amazon ECS](fargate-pull-behavior.md)  | 
|  Windows containers on Fargate container image pull behavior  |  [Windows containers on Fargate container image pull behavior for Amazon ECS](fargate-windows-behavior.md)  | 
| Fargate task retirement | [Task retirement and maintenance for AWS Fargate on Amazon ECS](task-maintenance.md) | 

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](container-considerations.md)  | 
| Task size |  [Best practices for Amazon ECS task sizes](capacity-tasksize.md)  | 
| Volume best practices |  [Storage options for Amazon ECS tasks](using_data_volumes.md)  | 

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](security-fargate.md)  | 
|  EC2 container instance security considerations  |  [Amazon EC2 container instance security considerations for Amazon ECS](ec2-security-considerations.md)  | 
|  Cluster auto scaling  |  [Optimize Amazon ECS cluster auto scaling](capacity-cluster-speed-up-ec2.md)  | 
| Operating at scale |  [Operating Amazon ECS at scale](operating-at-scale-best-practice.md)  | 
| Auto scaling and capacity management |  [Amazon ECS Auto scaling and capacity management best practices](capacity-availability.md)  | 
|  Instance selection best practices for Amazon ECS Managed Instances  |  [Instance selection best practices for Amazon ECS Managed Instances](managed-instances-instance-selection-best-practices.md)  | 

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](task-recommendations.md)  | 
|  Service parameters  |  [Best practices for Amazon ECS service parameters](service-options.md)  | 
|  Optimize load balancer health check parameters  |  [Optimize load balancer health check parameters for Amazon ECS](load-balancer-healthcheck.md)  | 
|  Optimize load balancer connection draining parameters  |  [Optimize load balancer connection draining parameters for Amazon ECS](load-balancer-connection-draining.md)  | 
|  Optimize service auto scaling  |  [Optimizing Amazon ECS service auto scaling](capacity-autoscaling-best-practice.md)  | 

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](security-network.md)  | 
|  Task and container security  |  [Amazon ECS task and container security best practices](security-tasks-containers.md)  | 