Migration Hub Strategy Recommendations and interface VPC endpoints (AWS PrivateLink) - Migration Hub Strategy Recommendations

Migration Hub Strategy Recommendations and interface VPC endpoints (AWS PrivateLink)

You can establish a private connection between your VPC and Migration Hub Strategy Recommendations by creating an interface VPC endpoint. Interface endpoints are powered by AWS PrivateLink. With AWS PrivateLink, you can privately access Strategy Recommendations API operations without an internet gateway, NAT device, VPN connection, or AWS Direct Connect connection. Instances in your VPC don't need public IP addresses to communicate with Strategy Recommendations API operations. Traffic between your VPC and Strategy Recommendations stays within the Amazon network.

Each interface endpoint is represented by one or more Elastic Network Interfaces in your subnets.

For more information, see Interface VPC endpoints (AWS PrivateLink) in the Amazon VPC User Guide.

Considerations for Strategy Recommendations VPC endpoints

Before you set up an interface VPC endpoint for Strategy Recommendations, ensure that you review Interface endpoint properties and limitations and AWS PrivateLink quotas in the Amazon VPC User Guide.

Strategy Recommendations supports making calls to all of its API actions from your VPC. To use all of Strategy Recommendations, you must create a VPC endpoint.

Creating an interface VPC endpoint for Strategy Recommendations

You can create a VPC endpoint for Strategy Recommendations using either the Amazon VPC console or the AWS Command Line Interface (AWS CLI). For more information, see Creating an interface endpoint in the Amazon VPC User Guide.

Create a VPC endpoint for Strategy Recommendations using the following service name:

  • com.amazonaws.region.migrationhub-strategy

If you use private DNS for the endpoint, you can make API requests to Strategy Recommendations using its default DNS name for the Region. For example, you can use the name migrationhub-strategy.us-east-1.amazonaws.com.

For more information, see Accessing a service through an interface endpoint in the Amazon VPC User Guide.

Creating a VPC endpoint policy for Strategy Recommendations

You can attach an endpoint policy to your VPC endpoint that controls access to Strategy Recommendations. The policy specifies the following information:

  • The principal that can perform actions.

  • The actions that can be performed.

  • The resources on which these actions can be performed.

For more information, see Controlling access to services with VPC endpoints in the Amazon VPC User Guide.

Example: VPC endpoint policy for Strategy Recommendations actions

The following is an example of an endpoint policy for Strategy Recommendations. When attached to an endpoint, this policy grants access to the listed Strategy Recommendations actions for all principals on all resources.

{ "Statement":[ { "Principal":"*", "Effect":"Allow", "Action":[ "migrationhub-strategy:ListContacts", ], "Resource":"*" } ] }