Home > database >  AWS Fargate: How to deploy a service fargate task with a network load balancer
AWS Fargate: How to deploy a service fargate task with a network load balancer

Time:09-01

Background

  • Current State: I currently have a nlb that routes to an nginx server running on an ec2 instance.

Goal

  • I am trying to replace the nginx ec2 instance with a fargate service that runs nginx.
  • I would like to keep the current nlb and set the fargate cluster as the target group for the existing nlb.

Problem

  • according to aws documentation, aws ecs fargate cluster service supports loadbalancing with nlb or alb: enter image description here

    If your view doesn't look like that, try switching from the "New ECS Experience" in the UI which is still fairly beta and missing a lot of features.


    I just went back and checked, and in the new ECS UI they are currently missing the option to select an NLB, so you have to continue using the old version of the UI for now until they fix that. I suggest continuing to use the old UI until they phase it out, because the new ECS UI is still missing a lot of features.

  • Related