miniature-arm-21874
04/01/2020, 1:55 PM80 tcp 0.0.0.0/0
outbound rule to the created group in the console to test. as soon as i create this it works but also then allows http traffic to my container which i don't want. i just need https externally.
what's the best way to make this work? I've added my own security group with an egress rule with 80 tcp 0.0.0.0/0
for now which makes my healthchecks pass and attached it to the LB. // Open egress traffic from our targets to your load balancer (for health checks).
const sg = new awsx.ec2.SecurityGroup('web-sg', {
vpc,
egress: [
{ protocol: '-1', fromPort: 0, toPort: 0, cidrBlocks: ['0.0.0.0/0'] },
],
});
export const alb = new awsx.lb.ApplicationLoadBalancer('web-services-lb', {
vpc,
securityGroups: [sg],
});