Migration to AWS
Amazon Web Services Pre-requisites
Generating the Required AWS Credentials
To generate the required AWS credentials to use with the IBM Live Migration Service, create one AWS Identity and Access Management (IAM) user and assign the proper permission policy to the user. Obtain an Access key ID and a Secret access key, which are the credentials to enter into the IBM Live Migration Service console.
For more detailed explanations and instructions on the creation of IAM users, please refer to the AWS documentation.
The instructions below describe the necessary steps for creating an IAM user with the required policy. These steps include the following:
- Creating a policy for the IBM Live Migration Service.
- Creating a new IAM user and generating AWS credentials.
Creating a Policy for IBM Live Migration Service
The AWS policy required to provide access to the user console is based on a pre-defined policy. This policy contains the necessary permissions for using AWS as Target infrastructure.
-
Sign in to AWS Console with AWS account.
NoteIf you do not have an AWS account, create an account by clicking on the “Create a new AWS account” button. -
In the AWS Console, click on Services and then navigate to Security, Identity & Compliance > IAM.

-
On the Welcome to Identity and Access Management page, select the Policies option from the left-hand navigational menu.

-
On the Policies page, click the Create policy button.

-
On the Create policy page, click the JSON tab.

-
Copy the policy code.
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "ec2:*", "elasticloadbalancing:*", "cloudwatch:*", "autoscaling:*", "iam:GetUser", "iam:PassRole", "iam:ListInstanceProfiles", "kms:ListKeys", "mgh:*", "s3:*" ], "Resource": "*" } ] } -
Paste the copied code into the JSON field. Paste the code over any text that currently exists in the field.

-
Click on the Review policy at the bottom right of the page.

-
On the Review policy page, enter a name for the new AWS IBM Live Migration Service policy in the Name field. Enter an optional description in the Description field.

-
Click Create policy button at the bottom right of the page.

-
The page will redirect back to the main Policies page and displays a confirmation stating "your new policy has been created" on the top of the page.

The next step is to create a new user, and then attach the policy you created to this user. During this procedure, you will be provided with an Access key ID and a Secret access key, which are the credentials to enter into IBM Live Migration Service User Console.
Creating a New IAM User and Generating AWS Credentials
After creating an AWS policy which is based on IBM Live Migration Service pre-defined policy, create a new IAM user and attach the new policy to this user. Provide the user with a Programmatic access type to enable the use of the new policy. At the end of this procedure, you will be provided with an Access key ID and Secret access key. It is important to save these values in an accessible and secured location, since they are required for running IBM Live Migration Service.
-
Navigate to Users on the left-hand navigational menu.

-
Click on Add user.

-
On the Add user page, set the following:
- User name - add a username for the new user.
-
Access type - check the Programmatic access option.

-
Click Next: Permissions at the bottom right of the page.

-
On the Set permissions for… page, select the Attach existing policies directly option.
NoteIf you already created a group or a user with the required IBM Live Migration Service permissions, you can use one of the other two options. -
Locate the policy created in the previous Create a Policy for IBM Live Migration Service section. Search for the policy can either be in the Search box or locate it manually by scrolling through the policy list.

-
Once the policy is located, check the box next to it.

-
Click the Next: Review button at the bottom right of the page.

-
On the Review page, verify if the correct User name, AWS access type (Programmatic access), and Managed policy are selected.

-
Click the Create User button at the bottom right of the page.

-
A confirmation page will display. This page provides Access key ID and Secret access key which is needed to enter in the IBM Live Migration Service User Console.

-
Click Show under Secret access key to see your key.

-
Click Download.csv button.
Note You need the Access key ID and Secret access key to run your IBM Live Migration Service. You can save these keys in a separate file for easy access by clicking the Download.csv button. Make sure to save these values in an accessible and secure location. -
Save your Access key ID and Secret access key. Then, to finish the procedure, click the Close button at the bottom right of the page.

-
You will be returned to the Users page, and the details of the new user you created will be shown.

The process of generating the required AWS credentials is complete. The next step is to enter your Access key ID and Secret access key in the IBM Live Migration Service User Console.
Working with AWS Credentials
Using Your AWS Credentials
After generating the required AWS credentials, enter the credentials into the IBM Live Migration Service User Console.
- Sign in to the IBM Live Migration Service User Console.
-
From the Projects dropdown menu, select the project to which the AWS credentials should be assigned to.

-
Click Setup & Info in the main navigational menu to the left. From the Setup & Info, click the AWS CREDENTIALS tab.

The AWS CREDENTIALS page allows for setting up the replication Staging Area on AWS and manage and monitor resources on your AWS Target infrastructure.
-
Enter the relevant credentials obtained from the Generating the Required AWS Credentials section into the corresponding fields:
- AWS Access Key ID
-
AWS Secret Access Key
NoteReminder- Your AWS Access Key ID and AWS Secret Access Key can be found within the Download.csv file that was downloaded after setting up your AWS credentials in the earlier section.
-
After AWS credentials is entered, click Save at the bottom right of the page.

Your AWS credentials are now saved in your IBM Live Migration Service Project.
NoteIf the AWS credentials you entered do not exist or is invalid in any way, or if the IAM policy you created and attached to the user does not contain the required permissions, you will get the following error message:
In this event, you can attempt the following troubleshooting steps:
- Verify if the IAM policy you created is identical to the IBM Live Migration Service pre-defined policy. Limiting the permissions of this policy may prevent the managing and monitoring of AWS resources. As this is required for the IBM Live Migration service solution. (as illustrated in the Creating a Policy for IBM Live Migration Service section).
- Verify if the IAM user is provided with a Programmatic access type (as illustrated in the Creating a New IAM User and Generating AWS Credentialssection).
- Verify if the IAM user is attached to the correct policy (as illustrated in the Creating a New IAM User and Generating AWS Credentials section).
- Retry the steps described in the Generating the Required AWS Credentials section with the most updated credentials within the AWS console.