Amazon Elastic Compute Cloud (EC2) is a web service that provides resizable compute capacity in the cloud. It is designed to make web-scale cloud computing easier for developers. One of the features of EC2 is the ability to create Virtual Private Clouds (VPCs), which are isolated networks that can be connected to each other using VPC peering connections.
When working with VPC peering connections, you might encounter the InvalidVpcPeeringConnectionID.NotFound
error. This error typically occurs when you attempt to describe or modify a VPC peering connection using an ID that does not exist or is incorrect.
The primary symptom of this issue is receiving an error message stating that the specified VPC peering connection ID cannot be found. This can happen during operations such as describing, accepting, or rejecting a VPC peering connection.
The InvalidVpcPeeringConnectionID.NotFound
error indicates that the VPC peering connection ID you are using is not recognized by the system. This could be due to a typographical error, or the peering connection may have been deleted or never existed.
To resolve this error, follow these steps:
Ensure that the VPC peering connection ID you are using is correct. You can list all VPC peering connections in your account to verify the ID:
aws ec2 describe-vpc-peering-connections
Check the output for the correct ID.
If the ID is correct, verify whether the VPC peering connection has been deleted. Deleted connections will not appear in the list of active connections.
Ensure that you are operating in the correct AWS region. VPC peering connections are region-specific, and using the wrong region can result in this error.
For more information on VPC peering connections, refer to the AWS VPC Peering Documentation. If you need further assistance, consider reaching out to AWS Support.
Let Dr. Droid create custom investigation plans for your infrastructure.
Book Demo