Hi, what's the best way to find the service IP fro...
# general
c
Hi, what's the best way to find the service IP from this code:
Copy code
export const fargate = new awsx.ecs.FargateService(NAME, {
  cluster,
  taskDefinitionArgs: {
    containers: {
      mbankrlproxy: {
        image: image,
        memory: 512,
        portMappings: [{ containerPort: 80, hostPort: 80 }],
        environment: ENVIRONMENT,
      },
    },
  },
  desiredCount: 1,
});
either to get the randomly generated IP, or better yet to use a reserved IP. I've been looking in the docs but can't find it ...
s
You can attach an application load balancer, but its IPs are dynamic and can't be relied upon.
c
It is creating a randomly assigned IP w/o a load balancer. How do I get to the IP's from the awsx api?