Access Amazon Inspector using an interface endpoint (Amazon PrivateLink
You can use Amazon PrivateLink to create a private connection between your VPC and Amazon Inspector. You can access Amazon Inspector as if it were in your VPC, without the use of an internet gateway, NAT device, VPN connection, or Amazon Direct Connect connection. Instances in your VPC don't need public IP addresses to access Amazon Inspector.
You establish this private connection by creating an interface endpoint, powered by Amazon PrivateLink. We create an endpoint network interface in each subnet that you enable for the interface endpoint. These are requester-managed network interfaces that serve as the entry point for traffic destined for Amazon Inspector.
For more information, see Access Amazon Web Services services through Amazon PrivateLink in the Amazon PrivateLink Guide.
Considerations for Amazon Inspector
Before you set up an interface endpoint for Amazon Inspector, review Considerations in the Amazon PrivateLink Guide.
Amazon Inspector supports making calls to all of its API actions through the interface endpoint.
VPC endpoint policies are not supported for Amazon Inspector. By default, full access to Amazon Inspector is allowed through the interface endpoint. Alternatively, you can associate a security group with the endpoint network interfaces to control traffic to Amazon Inspector through the interface endpoint.
Create an interface endpoint for Amazon Inspector
You can create an interface endpoint for Amazon Inspector using either the Amazon VPC console or the Amazon Command Line Interface (Amazon CLI). For more information, see Create an interface endpoint in the Amazon PrivateLink Guide.
When you create an interface endpoint for Amazon Inspector, use one of the following service names:
com.amazonaws.
region
.inspector2
com.amazonaws.
region
.inspector-scan
Replace region
with the Amazon Web Services Region code for the applicable Amazon Web Services Region.
If you enable private DNS for the interface endpoint, you can make API requests to Amazon Inspector using its default Regional DNS name, for example, service-name.us-east-1.amazonaws.com
or service-name.us-east-1.api.aws.com
for the US East (N. Virginia).