Skip to main content
All CollectionsEnterprise WorkloadsDisaster Recovery for VMware Virtual MachinesSet up AWS proxy
Deploying CloudFormation stack template for migrating AWS Proxy from CentOS to Ubuntu
Deploying CloudFormation stack template for migrating AWS Proxy from CentOS to Ubuntu
Updated over 8 months ago

Overview

In the event of RedHat's announcement of discontinuation of CentOS, we need to take necessary steps to ensure a smooth disaster recovery process for our VMs. To achieve this, we are required to transition our AWS proxies from CentOS (AWS proxy version 6.3.3 or earlier) to Ubuntu. You can easily migrate your proxies from CentOS to Ubuntu by deploying the new CF template. As a part of the deployment process, the new CF template does the following:

  1. Deploys Ubuntu proxy.

  2. Updates the IAM roles

  3. Deletes the CentOS proxies (AWS proxy version 6.3.3 or earlier) from AWS and moves them to a disconnected state on the Management Console.

Before you begin

Check if your AWS proxies are on version 6.3.3 or earlier. If yes, perform the following steps to migrate your proxy from CentOS to Ubuntu, else you can upgrade your Ubuntu proxies automatically from the Management Console.

Log in to the AWS proxy using ubuntu as the username and use the key-pair you provided while deploying the AWS proxy.

Procedure

  1. Log in to the AWS Management Console.

  2. From the top navigation bar, in the search box, search for CloudFormation.

  3. On the Stacks page, from the top right corner, click Create Stack > With new resources (standard).

    CreateNew Stack.png
  4. On the Create Stack page, provide the following information:
    a. In the Prerequisite - Prepare template section, under Prepare Template, select the Template is ready option.

    1. In the Specify template section, under Template source, select the Amazon S3 URL option.

    2. S3URL-New.png
  5. Click Next.

  6. In the Specify stack details screen, provide the following details then click Next.

    1. In the Stack name section, enter a stack name.

    2. In the Parameters section, provide the following values:

      1. InstanceIds: Select the instance IDs for migration.
        Note: The activation token is valid for up to 5 instances. So make sure you select a maximum of 5 instances for migration.

      2. PhoenixActivationToken: Provide the activation token. You can get it from the Enterprise Workloads Management console.

        Stackdetails.png
  7. On the Configure stack options page, retain the default values and click Next.

  8. On the Review page, under the Capabilities section, selectthecheckboxes for acknowledgement, and then click Submit.

The stack gets created and is displayed on the Stacks listing page.
If the deployment fails, you can check the detailed logs for the same on CloudWatch.

Next Steps

After migrating the CentOS proxy to Ubuntu successfully, the CF template deletes the CentOS proxy from AWS. However, you need to manually delete the CentOS proxy from the Management Console. For more information, see Delete Druva AWS proxy.

Did this answer your question?