2 Answers
- Newest
- Most votes
- Most comments
2
Yes, this is exactly what they are designed for.
If your services need to be accessed by the public Internet, you will need to place your ALB's on a Public Subnet. If its inter-nal use only, then the ALBs can be on any Subnet though preferably on a private subnet.
You will need Target Groups for your EC2s, Security Groups configuring, ALB Rules and if you require the traffic encrypted, then an SSL Cert in ACM assigned to the ALB. The EC2's are only accessible via the ALB and from other private hosts only.
1
I hope this is what you want.
How do I attach backend instances with private IP addresses to my internet-facing load balancer in ELB? https://repost.aws/knowledge-center/public-load-balancer-private-ec2
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 2 years ago