aws-samples / aws-cdk-examples

Example projects using the AWS CDK
Apache License 2.0
5.04k stars 2.12k forks source link

CDK example: ecs-service-with-advanced-nlb-config #446

Open namedgraph opened 3 years ago

namedgraph commented 3 years ago

I'm trying to follow the examples in https://github.com/aws/aws-cdk/issues/4463 but with NetworkLoadBalancedEc2Service and can't get the target registration to work.

Can we please get complex config examples for the NetworkLoadBalancer? Something like ecs-service-with-advanced-nlb-config, in addition to ecs-network-load-balanced-service and as a mirror of ALB's ecs-service-with-advanced-alb-config.

namedgraph commented 3 years ago

People complain that the NLB setup is under-documented, not only under CDK but in general: https://stackoverflow.com/questions/62578770/aws-network-load-balancers-and-ephemeral-ports