ECS: Service should autoconfigure security groups when attached to NLB
- Dominant language
- TypeScript
- Stars
- 12.9k
- Forks
- 4.6k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 83
Description
Right now in ELBv2, security groups are configured for Application Load Balancers, but not for Network Load Balancers.
It seems to be that NLBs don't have security groups themselves (verify), but in that case the target should be autoconfiguring its own SGs correctly upon the LB being attached to them.
@karlpatr has sensible things to say about this in https://github.com/aws/aws-cdk/issues/3667, we should investigate and follow up.
Contributor guide
Research direction
Start by tracing the ELBv2 and ECS service attachment entry points and verifying the issue's assumption that Network Load Balancers do not have security groups. Review the discussion in aws-cdk issue 3667, then identify the existing Application Load Balancer security-group behavior and determine the expected configuration when an NLB is attached. Done means the intended behavior is confirmed and covered by relevant tests, though this issue names no files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript
- Domain
- cloud, infrastructure, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100