Network Load Balancers supporting security groups. I've gone through a bunch of audits, and automated scans, and I constantly have to explain this shit, even to AWS Employees. How it works with ALBs, which do support security groups: You want to receive traffic on port :443, and allow it to be accessible to the world. You have EC2 instances, and they are listening on the VPC at port :1234 So, you create: - ALB my_alb…
Edit: in the first example the servers should be in a private subnet. And not have a public ip allocated. They would require ssh hopping via a bastion or a vpn.