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 Respostas
1
Resposta aceita

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
ESPECIALISTA
respondido há 2 meses
profile picture
ESPECIALISTA
Kallu
avaliado há 2 meses
profile picture
ESPECIALISTA
avaliado há 2 meses
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
ESPECIALISTA
hyp
respondido há 2 meses
profile picture
ESPECIALISTA
avaliado há 2 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas