Search code examples
amazon-web-servicesamazon-elastic-beanstalkelastic-ip

AWS Elastic IP pointed to new instance does not work


I created an AMI of my server on AWS, and spun up a new instance.

When I point my elastic IP address to my new instance and type in my domain name I get a timeout error when going to my website.

I have done backups before and just re-pointed my elastic IP but this time it does not seem to be working, any ideas?

Steps I take on AWS:

  1. I click on my elastic IP and pick actions-> Associate Address
  2. Resource type = Instance
  3. Instance: I select the new instance I just made by copying my old instance
  4. Reassociation: I click the checkbox to allow Allow Elastic IP to be reassociated if already attached
  5. I click associate

When I go to my webpage I get this error in edge:

Error Code: DLG_FLAGS_INVALID_CA
DLG_FLAGS_SEC_CERT_CN_INVALID

When I click proceed I get this instead of my website (Chrome would not allow me to proceed):

enter image description here

Looks like some sort of certificate issue...

The error I get in chrome is:

NET::ERR_CERT_AUTHORITY_INVALID

Solution

  • I did not update my security groups correctly so web traffic wasn't allowed.