AWS Elastic IP Network vpc is not connected to any Internet gateway

I have granted limited access to the AWS account.

I already created an instance of EC2, but when I try to bind elastic ip, I got the error below:

An error occurred while attempting to associate the address Network vpc-(security id) is not attached to any internet gateway 
+8
amazon-web-services amazon-ec2 elastic-ip
source share
1 answer

You are using Amazon's new virtual private cloud instead of EC2 Classic. The cloud you are using does not have the virtual component of the Internet gateway, which is necessary so that the cloud can be accessed from the public Internet.

You need to add an Internet gateway to your personal cloud so that it can connect to the Internet; with this, you can use Elastic IPs (after all, they are addressed over the Internet, your VPC instances can have static instances of instances) and add a routing entry for Internet addresses (0.0.0.0/0 or a narrower space).

+11
source share

All Articles