# Deploying a MediaAgent on Amazon EC2

Deploy a MediaAgent on Amazon EC2 before you configure Amazon EC2 protection if you use your own infrastructure.

## Enable an installation authcode

1. From the Command Center navigation pane, go to Manage > CommCell.

2. In the General tile, move the Requires authcode for installation toggle key to the right.

3. Click the authcode and save it in a safe location. You'll provide it during the deployment.

## Add MediaAgent

1. From the Command Center navigation pane, go to Manage > Infrastructure.

2. Click the MediaAgent tile.

3. In the upper-right area of the page, click Add.

4. From the Vendor list, select Amazon Web Services.

5. From the Deployment type list, select any of the following:

   - Vendor native deployment

     1. From Authentication list, select any of the following:

        - AWS STS AssumeRole (recommended)

        - IAM Role

        - Access keys for IAM users (not recommended)

     2. From the Platform list, select the operating system.

     3. From the Region list, select a region to deploy the MediaAgent in.

     4. Click the Launch The CloudFormation Stack link to open the AWS console.

        Note

        If AWS EBS encryption is enabled for your region in your AWS account, to use the stack, you must be a key user for the default encryption key. If you are not a key user for the default encryption key, copy the Launch The CloudFormation Stack link and share it with someone who is a key user, such as your security administrator.

     5. Log on to the AWS console.

     6. Under Parameters, specify the following information:

        1. For EC2 Instance Type, select the type of EC2 instance to use for the MediaAgent.

        2. For EC2 Key Pair, select a key pair to use to access the Commvault MediaAgent.

        3. For VPC ID, select an Amazon Virtual Private Cloud (VPC).

        4. For Subnet ID, select a subnet.

        5. For VPC CIDR, select a VPC CIDR.

     7. Click Create stack.

   - Manual deployment

     Use this procedure to install a MediaAgent by downloading the installation package from the Command Center.

     #### Windows

     1. From the Platform list, select Windows.

     2. Click Download package to download the MediaAgent installation package.

     3. Copy the installation Auth code. You'll enter this code during the installation.

     4. Copy the installation package to the Windows computer where you want to install the MediaAgent.

     5. Run the installation executable as an administrator.

     6. Follow the installation wizard.

        Installation wizard

        - Select the installation language.

        - Verify that MediaAgent is selected as the component to install.

        - Specify the installation directory, if required.

        - Configure the firewall settings, if prompted.

        - Provide the CommServe host name, if prompted.

        - Paste the installation Auth code.

     7. Complete the installation.

     8. In the Command Center, verify that the MediaAgent appears on the MediaAgents page.

     #### Linux

     1. From the Platform list, select Linux.

     2. Click Download package to download the MediaAgent installation package.

     3. Copy the installation Auth code. You'll enter this code during the installation.

     4. Transfer the installation package to the Linux computer where you want to install the MediaAgent.

     5. Extract the installation package, if necessary.

     6. Run the installation script (for example, `./cvpkgadd`) as the root user or by using `sudo`.

     7. Follow the installation prompts.

        Installation prompts

        - Confirm that you want to install the MediaAgent package.

        - Specify the installation directory, if required.

        - Configure the firewall settings, if prompted.

        - Provide the CommServe host name, if prompted.

        - Enter the installation Auth code.

     8. Complete the installation.

     9. In the Command Center, verify that the MediaAgent appears on the MediaAgents page.

   - Auto Provision

     1. From the Deployment type list, select Auto Provision.

     2. From the Scale profile list, select a scale profile.

        A scale profile is a predefined configuration that specifies how MediaAgents are automatically provisioned and managed. It includes settings such as the cloud environment, networking, security, and scaling behavior that Commvault uses when deploying MediaAgents.

        Note

        Before you use Auto Provision, create a scale profile.

     3. From the Region list, select the AWS region where you want to deploy the MediaAgent.

     4. From the Platform list, select the operating system.

     5. From the Size list, select the instance size (VM type) to use when provisioning the MediaAgent.

        Size options determine the compute resources allocated to the MediaAgent, such as CPU and memory.

     6. From the Server group list, select the server group where the new MediaAgent will be added.

        Server groups are logical collections of MediaAgents and other servers that help you organize infrastructure and control where workloads are processed.

     7. Click Submit.

×

Loading...