Step 3: Configuring your service to use a load balancer - 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.

Step 3: Configuring your service to use a load balancer

Important

Amazon ECS has a new console experience for creating a service. For more information, see Creating a service using the new console.

Services can be configured to use a load balancer to distribute incoming traffic to the tasks in your service. If your service is using the rolling update deployment type, this is optional. If your service is using the blue/green deployment type, then it is required to use either an Application Load Balancer or Network Load Balancer.

If you aren't configuring your service to use a load balancer, you can choose None as the load balancer type and move on to the next section, Step 4: Configuring your service to use Service Discovery.

If you configured an available Elastic Load Balancing load balancer, you can attach it to your service with the following procedures, or you can configure a new load balancer. For more information, see Creating a load balancer.

Important

Before following these procedures, you must create your Elastic Load Balancing load balancer resources.