ECS Services and Load Balancers
Working with Load Balancers using AWS ECS
Prerequisites
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.
Adding an ECS Service and Load Balancer Listener
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.
Add Load Balancer Listener pane for an ECS Service Complete the fields on the Add Load Balancer Listener pane, and click Add.
On the Add ECS Service page, click Submit.
Viewing ECS Services
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.

Additional Load Balancer Settings
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 ECS details page with the Edit Other Settings option highlighted The Other Load Balancer Settings pane displays.
Other Load Balancer Settings pane Configure the settings, as needed.
Click Save. The Load Balancer settings are updated.
Last updated
Was this helpful?