CloudWiki
Rules
Low

Ensure Internet Gateway is attached to a VPC

Other
Description

An Internet Gateway (IGW) is a horizontally scaled, redundant, and highly available VPC component that allows communication between instances in the VPC and the internet. Ensuring that an Internet Gateway is attached to a VPC means that the VPC can receive and send traffic from and to the internet. An alarm indicating that an Internet Gateway is not attached to a VPC may suggest that the VPC's resources are not adequately protected, as the VPC may be isolated and not be able to receive patches or updates from the internet.

Remediation

Here are the remediation steps to ensure that an Internet Gateway is attached to a VPC:

  1. Open the Amazon VPC console.
  2. In the navigation pane, choose "Internet Gateways."
  3. Select the Internet Gateway that is not attached to a VPC.
  4. Choose "Actions" and then select "Attach to VPC."
  5. In the "Attach to VPC" dialog box, select the VPC from the list.
  6. Click "Attach."

After these steps, the Internet Gateway will be attached to the VPC, and the VPC will be able to connect to the Internet. It's important to ensure that all VPCs that need Internet access have an Internet Gateway attached to them.

Enforced Resources
Note: Remediation steps provided by Lightlytics are meant to be suggestions and guidelines only. It is crucial to thoroughly verify and test any remediation steps before applying them to production environments. Each organization's infrastructure and security needs may differ, and blindly applying suggested remediation steps without proper testing could potentially cause unforeseen issues or vulnerabilities. Therefore, it is strongly recommended that you validate and customize any remediation steps to meet your organization's specific requirements and ensure that they align with your security policies and best practices.