Creating instance profiles for AWS Database Migration Service
You can create multiple instance profiles in the AWS DMS console. Make sure that you select an instance profile to use for each migration project that you create in AWS DMS.
To create an instance profile
-
Sign in to the AWS Management Console and open the AWS DMS console at https://console.aws.amazon.com/dms/v2/
. -
In the navigation pane, choose Instance profiles.
-
Choose Create instance profile.
-
On the Create instance profile page, enter a descriptive value for Name for your instance profile.
-
For Network type, choose Dual-stack mode to create an instance profile that supports IPv4 and IPv6 addressing. Keep the default option to create an instance profile that supports only IPv4 addressing.
-
Next, choose Virtual private cloud (VPC) to run your instance of the selected network type. Then choose a Subnet group and VPC security groups for your instance profile.
To connect to Amazon RDS databases, use a subnet group that includes public subnets. To connect to on-premises databases, use a subnet group that includes private subnets. Make sure that you configured your network so that AWS DMS can access your source on-premises database using the NAT gateway's public IP address. For more information, see Create a VPC based on Amazon VPC.
-
(Optional) In you create a migration project for DMS Schema Conversion, then for Schema conversion settings - optional, choose an Amazon S3 bucket to store information from your migration project. Then choose the AWS Identity and Access Management (IAM) role that provides access to this Amazon S3 bucket. For more information, see Create an Amazon S3 bucket.
-
Choose Create instance profile.
After you create your instance profile, you can modify or delete it.
To modify an instance profile
-
Sign in to the AWS Management Console and open the AWS DMS console at https://console.aws.amazon.com/dms/v2/
. -
Choose Instance profiles. The Instance profiles page opens.
-
Choose your instance profile, and then choose Modify.
-
Update the name of your instance profile, edit the VPC or Amazon S3 bucket settings.
-
Choose Save changes.
To delete an instance profile
-
Sign in to the AWS Management Console and open the AWS DMS console at https://console.aws.amazon.com/dms/v2/
. -
Choose Instance profiles. The Instance profiles page opens.
-
Choose your instance profile, and then choose Delete.
-
Choose Delete to confirm your choice.