简体   繁体   中英

AWS Domain Path Routing to ECS Service listening on specific port

Is there any way in AWS to create specific rules and have an application path point to a service running in an ECS cluster on a specific port. For example:

ECS-Cluster (abc.test.com)

  • Service 1 : Listening on port 8081 (abc.test.com:8081)
  • Service 2 : Listening on port 8082 (abc.test.com:8082)

I would want like it to be configured to achieve below:

  • abc.test.com/path1/* -->> abc.test.com:8081
  • abc.test.com/path2/* -->> abc.test.com:8082

Create your service in ECS.

At Step 2: Configure network => Container to load balance

Set your Path pattern

捕获我的服务

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM