Forum Discussion

Anonymous's avatar
Anonymous
5 years ago

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?

Thanks!


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

3 Replies

  • Anonymous's avatar
    Anonymous

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

    Have a wonderful day :)

  • Anonymous's avatar
    Anonymous

    Hi timmoses,

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

    The https://hub.docker.com/r/1password/connect-sync has some details on configuration options but the team is working on some improved documentation and examples.