4

1) Is it possible to attach single internet gateway to multiple VPC in AWS? what are the advantages or disadvantages of doing this?

By default an internet gateway is created with a vpc attached it in AWS. I am trying to understand if can attach the same internet gateway to other VPCs that i create in future.

John Rotenstein
  • 241,921
  • 22
  • 380
  • 470
ineyaz
  • 61
  • 1
  • 3

1 Answers1

10

Each VPC can have only one Internet Gateway.

Each Internet Gateway can be attached to only one VPC.

If there is no Internet Gateway attached to a VPC, then the VPC will not have any connectivity with the Internet. This can be useful for 'internal' applications, such as Dev and Test. The VPC can be connected to a corporate network via Direct Connect or VPN, with no risk of being exposed on the Internet.

While the VPC Wizard automatically creates an Internet Gateway (for most scenarios) and attaches it to the VPC, you can also create a VPC manually without an Internet Gateway.

There is no charge for an Internet Gateway. It is a logical connection rather than a physical device.

John Rotenstein
  • 241,921
  • 22
  • 380
  • 470