ECS Services and Load Balancers
Working with Load Balancers using AWS ECS
Last updated
Was this helpful?
Working with Load Balancers using AWS ECS
Last updated
Was this helpful?
Before you create an ECS Service and Load Balancer, you must create a Task Definition to run the Service. You can define multiple containers in your Task Definition.
For an end-to-end example of deploying an application using an ECS Service, see the AWS Quick Start Tutorial and choose the Creating an ECS Service option.
Tasks run until an error occurs or a user terminates the Task in the ECS Cluster.
Navigate to Cloud Services -> ECS.
In the Task Definitions tab, select the Task Definition Family Name. This is the Task Definition Name that you created prepended by a unique DuploCloud identifier.
In the Service Details tab, click the Configure ECS Service link. The Add ECS Service page displays.
In the Name field, enter the Service name.
In the LB Listeners area, click Add. The Add Load Balancer Listener pane displays.
Complete the fields on the Add Load Balancer Listener pane, and click Add.
On the Add ECS Service page, click Submit.
Verify that the Service and Load Balancer configuration details in the Service Details tab are correct.
Navigate to Cloud Services -> ECS.
Select the Services tab.
Select the Service you want to view from the NAME column. Service details display.
You can use the Other Settings card in the DuploCloud Portal to set the following features:
WAF Web ACL
Enable HTTP to HTTPS redirects
Enable Access Logging
Set Idle Timeout
Drop invalid headers
Delete Protection
In the DuploCloud Portal, navigate to Cloud Services -> ECS, and select the Services tab.
Select the Service to which your Load Balancer is attached from the NAME column.
Click the Load Balancers tab.
In the Other Settings card, click Edit.
The Other Load Balancer Settings pane displays.
Configure the settings, as needed.
Click Save. The Load Balancer settings are updated.