Skip to main content

 

Druva Documentation

Deploy Phoenix AWS proxy

Phoenix Editions: File:/cross.pngBusiness         File:/tick.png Enterprise     File:/tick.pngElite
(Purchase Separately)

This topic provides instructions for deploying the Phoenix AWS proxy using AWS CloudFormation. AWS CloudFormation automates the deployment process of creating and managing the AWS resources in the AWS environment. It also facilitates the registration and activation of the Phoenix AWS Proxy with the Phoenix Cloud.

To register and activate a Phoenix AWS proxy, you must first select an AWS region on the Phoenix Management Console and create an AWS CloudFormation Stack on the AWS Management Console.

Before you begin

You must register the Phoenix AWS Proxy in the same region as the server storage region.

Procedure

To register a Phoenix AWS Proxy, perform the following steps:

Step 1: Select an AWS region on the Phoenix Management Console 

  1. Log in to the Phoenix Management Console.
  2. On the menu bar, click All Organizations, and select the required organization from the drop-down list.
  3. On the menu bar, click Manage Disaster Recovery.
  4. In the left pane, click the Phoenix AWS Proxies tab.
  5. On the Phoenix AWS Proxies page, click Register Phoenix AWS Proxy.
  6. On the Register Phoenix AWS Proxy page, from the AWS Region drop-down list, select the AWS region where you want to deploy the proxy. For example, us-west-2.

    NoteDeploy the Phoenix AWS Proxy in the same region where the virtual machines that you intend to configure for disaster recovery are backed up in Phoenix. For example, if the virtual machines are backed up to a storage in Phoenix that is located in the US-East region, deploy the Phoenix AWS Proxy in the US-East region.

    Register_proxy_cfs.PNG

    The Activation Token section displays an activation token that is used while creating the CloudFormation Stack.

    Note: Phoenix lists the activation token under Manage > Activation Tokens.

  1. In the AWS CloudFormation Stack section, click Create CloudFormation Stack to register the Phoenix AWS Proxy.

If you are logged in to the AWS Management Console, you are directed to the Create Stack page. Else, you are directed to the login page of the AWS Management Console. Use your credentials to log in and the Create Stack page appears.

Step 2: Create a CloudFormation Stack on the AWS Management Console

The Create Stack page on the AWS Management Console uses a proxy deployment template depending on your first-time proxy deployment or the subsequent deployments. This page enables you to configure parameters for your AWS resources defined in the template.
CFS Main.png

The Create Stack page populates values in the following fields:

  • Template URL: Displays the URL of the Druva deployment template used for your proxy deployment.
  • Description: The description of the Druva deployment template used.
  • Stack name: Displays the name generated by Phoenix for your stack.
  • DeploymentType: Displays the Druva deployment template type selected for the proxy deployment:
    • InfraAndProxyDeployment: This template is used for the first-time proxy deployment. It is a JSON-based CloudFormation template, which is used to deploy the IAM policies, roles, and proxy instances in your AWS account.

      Note: If you have deployed an IAM role using the InfraProxyDeployment option and try to use the same option to launch an instance, the stack creation process fails as it tries to create the DruvaIAMRole role, which is already created.

    • ProxyDeployment: This template is used to deploy only proxy instances and reuse the existing IAM policies and roles created for your AWS account during the previous deployments.
  • PhoenixActivationToken: Displays the Phoenix activation token generated based on the selected AWS storage region on the Phoenix Management Console.

Provide the Phoenix Configuration, Network Configuration, and Amazon EC2 Configuration parameters for your AWS resources/EC2 instances.

Procedure

  1. InstanceCount: Specify the number of proxy instances that you want to launch. You can specify up to 5 instances. The default value is 1.
  2. VPC: Select a Virtual Private Cloud (VPC) network specific to the AWS account to launch the Phoenix AWS proxies.
  3. Subnet: Select a subnet to launch the Phoenix AWS proxies in the specific network in your VPC.
  4. InstanceType: Select the instance type for the Phoenix AWS proxy.

    Note: It is recommended to select the instances based on the following configuration: 8 CPUs, 16 GB memory, 3500 Mbps bandwidth, 10,000 IOPS.

  5. KeyPair: Select an EC2 key-pair to enable SSH access to the proxy instance.
  6. AutoAssignPublicIP: Select the option based on the chosen subnet.
    • true: Select this option if you want to assign a public IP after launching the Phoenix AWS Proxy and have chosen a public subnet in Step 3.
    • false: Select this option if you do not want to assign a public IP after launching the Phoenix AWS Proxy and have chosen a private subnet in Step 3.
      The stack template may list certain capabilities for AWS CloudFormation to create the AWS resources in your stack.
  7. In the Capabilities section, select the acknowledgment checkboxes and click Create.

After you click Create, Amazon creates the stack with the configuration parameters you set on the Create stack page. Verify the status of stack creation on the Stack Details page on the AWS Management Console.

  • If the status is CREATE_COMPLETE,  Phoenix lists the registered Phoenix AWS Proxy on the Phoenix AWS Proxies tab on the Phoenix Management Console.
    CFS_stack_creation_complete.PNG
  • If the status is CREATE_FAILED, check the Events section on the Stack Details page on the AWS Management Console for more details. You can also contact Druva Support. See Limitations.
    CFS_stack_failed.png

After the registration completes successfully, the AWS account appears on the Phoenix AWS Proxies page. 

DR_Phoenix_AWS_Proxies_tab.PNG

Note: When you delete a stack, AWS does not delete resources attached to the stack. Ensure that you manually delete the resources attached to the AWS account.

Limitations

  • If you have deployed an IAM role using the InfraProxyDeployment option and if you deploy the same option to launch the instance, the stack creation fails only if DruvaIAMRole already exists in your account.
    To redeploy the DruvaIAMRole
    Perform the following steps to redeploy the DruvaIAMRole:

  1. Delete the existing DruvaIAMRole from the AWS Management Console.
  2. Select the Services tab and click IAM.
  3. In the left pane, click the Roles tab.
  4. On the Roles page, type DruvaIAMRole in the search box.
  5. Select the DruvaIAMRole checkbox and click Delete role button.

Notes:

  • If you want to deploy only proxy, select the ProxyDeployment option.
  • If you want to add any new permissions to the existing DruvaIAMRole, refer to the FAQ topic.
  • When the Phoenix AWS proxy activation fails, the Events section on the Stack Details page of the AWS Management Console shows the CloudFormation stack creation status as CREATE_FAILED. However, it does not display any Phoenix Activation failure message. The CloudFormation logs the cfn-signal send failure status error. To debug the instance launch, login into the instance and check the vi /var/log/cfn-init.log logs
  • Was this article helpful?