AWS Load Balancer not reaching LightSail instance

0

I would like to protect my lightsail instances with a AWS-WAF. For that, I need an EC2 Load Balancer instead of the lightsail one. I´ve implemented the following steps (all with root user):

  1. Enable VPC peering in lightsail, on the correspondent zone, let say 'Ireland'.
  2. AWS VPC is default and in Ireland.
  3. Create a Target Group of type IP Address, on previous default VPC; Network 'Other Private IP Address' and the private address of the lightsail instance (instance has an apache listening on port 80). Checked that targets are 'Healty' on Target Group.
  4. Create a LoadBalancer in the Default VPC, with the previous created Target Group, and with zones 'a' and 'b' of Ireland. Zone 'a' is the zone of where the lightsail instance is.
  5. On Route 53 created a public hosted zone, with the name of my domain (registered directly in Route 53).
  6. Create a DNS A record of type 'Alias', with linked point 'Alias Application Load Balancer', in region Ireland and pointing to previous created Load Balancer (showed for selection with the name of the LB, but wit 'dualstack.' appended to it). 6.1. Also tried resolving the LB DNS and creating the DNS A record to point directly to the IP instead of the 'Alias'.

After all these steps, when trying to browse to my domain, I´m getting an "ERR_CONNECTION_TIMED_OUT".

Ping to domain resolves to same ip that Load Balancer DNS; Security Groups in AWS allow all traffic; there is route in AWS to internal network of LightSail (created automatically when peering VPCs in step 1); ACL or Firewall are allowing all traffic; on ligthsail all traffic is allowed as well.

What I could be missing? At that point and with all the steps reviewed, I can´t not figure out where the issue is.

2 Answers
0

Have you checked the security group associated to the AWS ALB if it is allowing 0.0.0.0/0 inbound?

AWS
answered 2 years ago
0

Hello Tim,

Issue is already solved. What did I do? I just logged out and login again. I know it sounds dumb but is what I did and suddenly after loging again, browsed to my domain and there it was the content of my LightSail instance.

In some part of the documentation I had read something about log out and login, but it was in the case you implement things with different account, which what not my case as I did everything with the root account.

Thanks and regards.

Pepelu
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions