aws-cdk-examples icon indicating copy to clipboard operation
aws-cdk-examples copied to clipboard

Fargate Service with NLB missing securitygroup details

Open kazijn opened this issue 5 years ago • 2 comments
trafficstars

:bug: Bug Report

What is the problem?

When running the ECSFargateLoadBalanced sample in Java there is a statement missing to add the correct ingress rule to the fargate linked securitygroup.

Reproduction Steps

Just run the sample and you will not be able to connect to the sample app via the public url.

Environment

  • CDK CLI Version: 1.62.0
  • Example: fargate-load-balanced-service
  • Example Version: ?
  • OS: all
  • Language: Java

Other information

kazijn avatar Sep 08 '20 11:09 kazijn

I don't seem to be able to add a pull request to this issue but the missing line is: fargateService.getService().getConnections().allowFromAnyIpv4(Port.tcp(80));

kazijn avatar Sep 08 '20 11:09 kazijn

Thanks for reporting, I will add this fix!

😸 😷

NGL321 avatar Oct 05 '20 03:10 NGL321

Was fixed.

kaiz-io avatar Dec 28 '24 22:12 kaiz-io

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.

github-actions[bot] avatar Dec 28 '24 22:12 github-actions[bot]