Connect API in AWS Fargate

I would like to run the Connect API in AWS ECS Fargate instead of AWS ECS on an EC2 host. This would make it easier to manage and allow me to start and stop the Connect API containers as needed without also managing an EC2 host machine.

From what I understand, in Fargate it is not possible to map container ports to different host ports, so if the container uses port 8080, so will the host. Both the connect-api and connect-sync containers default to port 8080, which causes a conflict.

Is it possible to set the connect-sync container to use 8081 as the container port since that is what is needed on the host? Is there another option I may be overlooking?


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Sync Type: Not Provided


  • James_1PJames_1P

    Team Member

    Hi timmoses,

    Both containers support using a custom HTTP port by setting the OP_HTTP_PORT environment variable.

    The docker hub page has some details on configuration options but the team is working on some improved documentation and examples.

  • Perfect! Thanks!

  • ag_anaag_ana

    Team Member

    On behalf of James, you are welcome! If you have any other questions, please feel free to reach out anytime.

    Have a wonderful day :)

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file