EC2 InvalidVpcEndpointServiceConfigurationID.NotFound

The specified VPC endpoint service configuration ID does not exist or is incorrect.

Understanding Amazon EC2 and VPC Endpoints

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. A key feature of EC2 is its integration with Amazon Virtual Private Cloud (VPC), which allows you to launch AWS resources into a virtual network that you've defined. VPC endpoints enable you to privately connect your VPC to supported AWS services and VPC endpoint services powered by AWS PrivateLink without requiring an internet gateway, NAT device, VPN connection, or AWS Direct Connect connection.

Identifying the Symptom

When working with VPC endpoints, you may encounter the error code InvalidVpcEndpointServiceConfigurationID.NotFound. This error indicates that the specified VPC endpoint service configuration ID does not exist or is incorrect. This can occur during the creation or modification of VPC endpoints.

Common Scenarios

  • Attempting to create a VPC endpoint with an incorrect service configuration ID.
  • Modifying a VPC endpoint with a service configuration ID that has been deleted.

Exploring the Issue

The error InvalidVpcEndpointServiceConfigurationID.NotFound is typically encountered when the VPC endpoint service configuration ID provided does not match any existing configuration. This could be due to a typo, an incorrect ID, or the configuration being deleted or not yet created.

Why This Happens

This error is often a result of one of the following:

  • Incorrectly entered VPC endpoint service configuration ID.
  • The configuration ID has been deleted or is not yet available.

Steps to Resolve the Issue

To resolve the InvalidVpcEndpointServiceConfigurationID.NotFound error, follow these steps:

Step 1: Verify the VPC Endpoint Service Configuration ID

Ensure that the VPC endpoint service configuration ID you are using is correct. You can list all available VPC endpoint service configurations using the AWS CLI:

aws ec2 describe-vpc-endpoint-service-configurations

Check the output to verify the correct configuration ID.

Step 2: Check for Deletion

If the configuration ID was recently deleted, it will not be available. Confirm that the configuration ID is still active and has not been removed.

Step 3: Correct the Configuration ID

If you find that the ID was entered incorrectly, update your scripts or configuration files with the correct ID. Double-check for any typographical errors.

Additional Resources

For more information on VPC endpoints and troubleshooting, refer to the following resources:

By following these steps, you should be able to resolve the InvalidVpcEndpointServiceConfigurationID.NotFound error and ensure your VPC endpoint configurations are correctly set up.

Never debug

EC2

manually again

Let Dr. Droid create custom investigation plans for your infrastructure.

Book Demo
Automate Debugging for
EC2
See how Dr. Droid creates investigation plans for your infrastructure.

MORE ISSUES

Made with ❤️ in Bangalore & San Francisco 🏢

Doctor Droid