Use of ALBs route traffic to private services

0

I have the web app deployed in an ec2 in a private subnet. Can I use an ALB to route HTTP traffic to that ec2?

2 個答案
1
已接受的答案

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.

https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-application-load-balancer.html

profile picture
專家
已回答 2 個月前
profile picture
專家
Kallu
已審閱 2 個月前
profile picture
專家
已審閱 2 個月前
0

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

AWS
專家
hyp
已回答 2 個月前
profile picture
專家
已審閱 2 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南