Working with gateways - AWS Backup

Working with gateways

To back up and restore your virtual machines (VMs) using AWS Backup, you must first install a Backup gateway. A gateway is software in the form of an OVF (Open Virtualization Format) template that connects Amazon Web Services Backup to your hypervisor, allowing it to automatically detect your virtual machines, and enables you to back up and restore them.

A single gateway can run up to 4 backup or restore jobs at once. To run more than 4 jobs at once, create more gateways and associate them with your hypervisor.

Creating a gateway

To create a gateway:

  1. Open the AWS Backup console at https://console.aws.amazon.com/backup.

  2. In the left navigation pane, under the External resources section, choose Gateways.

  3. Choose Create gateway.

  4. In the Set up gateway section, follow these instructions to download and deploy the OVF template.

Connecting the hypervisor

Gateways connect AWS Backup to your hypervisor so you can create and store backups of your virtual machines. To set up your gateway on VMware ESXi, download the OVF template. The download may take about 10 minutes.

After it is complete, proceed with the following steps:

  1. Connect to your virtual machine hypervisor using VMware vSphere.

  2. Right-click a parent object of a virtual machine and select Deploy OVF Template.

  3. Choose Local file, and upload the aws-appliance-latest.ova file you downloaded.

  4. Follow the deployment wizard steps to deploy it. On the Select storage page, select virtual disk format Thick Provision Lazy Zeroed.

  5. After deploying the OVF, right-click the gateway and choose Edit Settings.

    1. Under VM Options, go to VM Tools.

    2. Ensure that for Synchronize Time with Host, Synchronize at start up and resume is selected.

  6. Turn on the virtual machine by selecting “Power On” from the Actions menu.

  7. Copy the IP address from the VM summary and enter it below.

Once the VMWare software is downloaded, complete the following steps:

  1. In the Gateway connection section, type in the IP address of the gateway.

    1. To find this IP address, go to the vSphere Client.

    2. Select your gateway under the Summary tab.

    3. Copy the IP address and paste it in the AWS Backup console text bar.

  2. In the Gateway settings section,

    1. Type in a Gateway name.

    2. Verify the AWS Region.

    3. Choose whether the endpoint is publicly accessible or hosted with your virtual private cloud (VPC).

    4. Depending on the endpoint chosen, enter the VPC endpoint DNS Name or IP address.

      For more information, see Creating a VPC endpoint.

  3. [Optional] In the Gateway tags section, you can assign tags by inputting the key and optional value. To add more than one tag, click Add another tag.

  4. To complete the process, click Create gateway, which takes you to the gateway detail page.

Editing or deleting a gateway

To edit or delete a gateway:

  1. In the left navigation pane, under the External resources section, choose Gateways.

  2. In the Gateways section, choose a gateway by its Gateway name.

  3. To edit the gateway name, choose Edit.

  4. To delete the gateway, choose Delete, then choose Delete gateway.

    You cannot reactivate a deleted gateway. If you want to connect to the hypervisor again, follow the procedure in Creating a gateway .

  5. To connect to a hypervisor, in the Connected hypervisor section, choose Connect.

    Each gateway connects to a single hypervisor. However, you can connect multiple gateways to the same hypervisor to increase the bandwidth between them beyond that of the first gateway.

  6. To assign, edit, or manage tags, in the Tags section, choose Manage tags.

Next steps

To connect a hypervisor to your gateway, see Working with hypervisors.