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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠