How to Migrate a Server from AWS to Ace Cloud?
Last updated
Last updated
This document outlines the step-by-step process of migrating a Ubuntu server from AWS to Ace Cloud.
a. Navigate to the AWS Management Console.
b. Select S3 from the list of services.
c. Click on Create Bucket.
a. Give your bucket a unique name.
b. Under Object Ownership, choose ACLs enabled.
c. Click Next to proceed.
a. Go to the Permissions tab.
b. Scroll down to the Access Control List (ACL) section and click on Edit.
c. Click on Add grantee.
d. Provide the below permission and grantee ID for your region.
READ_ACP
(In the Amazon S3 console, Bucket ACL should have the Read permission)
WRITE
(In the Amazon S3 console, Objects should have the Write permission)
Note: Click here to find the grantee ID for your region.
e. Review the settings and click on Create Bucket.
Install and configure AWS CLI on the server where you want to temporarily store your server image.
a. Run the below commands to install AWS CLI:
b. Run the following command to configure AWS CLI:
c. Enter your AWS credentials and set the default region.
d. Run the below command to find your bucket:
a. Run the below command to export your Ubuntu server as an image to the S3 bucket created in Step 1:
Get the instance ID from the instance overview.
b. To see the progress and state of VM export, use the command below. Make changes to the export ID given by the previous command.
Once the export task is complete, download the VM image to the server using the following command:
On the same server, install the OpenStack CLI using the below command:
You need an RC file to work with OpenStack CLI. This file contains the environment variables necessary to interact with your OpenStack environment.
To download the RC file, follow the below steps:
a. Log in to the Customer portal.
b. Navigate to Services and then click on My Services.
c. Click on your project.
d. Click on Utilities, then on User.
e. Click on Create User.
f. Enter the Username and Description for the user and click on Create User.
g. Click on Download to save the user credential.
h. Login to the horizon portal with the credential created above.
i. Click on the region in the top-left corner and select the region.
j. Click on the user icon in the top-right corner.
k. Click on OpenStack RC File to download the RC file.
a. Transfer the downloaded RC file to the server where OpenStack CLI is installed.
b. You can use scp or any other file transfer method.
a. Source the RC file to load the environment variables using the below command:
Note: Enter the path location in place of </path/to/<RCFileName>>
b. Use the following command to upload the image downloaded from the AWS S3 bucket to Ace Cloud:
As per volume size, it will take time. Once it is active, launch a VM.
c. Check image status using the below command:
a. Navigate to Compute and then click on Instances. Here, you can view the list of all instances.
b. Click on Create Instance.
c. Enter the instance details and hit Next.
d. Click on Select Source, then select Image from the Boot Source drop-down.
e. Click on Custom Images and select your image.
f. Select Flavor and hit Next.
i. Review the details and click on Launch Instance.
g. Select the Security Groups and click Next. (You can also create a security group. Click to learn how.)
h. Choose a network of your own choice. Select the Security Groups and click Next. (You can also create a security group. Click to learn how.)