Quantcast
Channel: Veeam Support Knowledge Base
Viewing all articles
Browse latest Browse all 4362

How to offload backup files to Capacity and Archive Tiers via AWS PrivateLink

$
0
0
KB ID: 4226

Challenge

This article documents how to configure Veeam Backup & Replication to use AWS PrivateLink.

Solution

1. Configure a VPN connection to the VPC where you are planning to deploy the PrivateLink Endpoint. One of the ways to do this is to create a tunnel on the VM gateway using AWS Client VPN: https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/what-is.html.
PrivateLink allows users to create private endpoints within their VPC, you will not be able to access buckets via PrivateLink from public networks.

2. Create an S3 Interface Endpoint in your VPC. It will be assigned a DNS name that you can see in the AWS Console under VPC - Endpoints, when selecting the corresponding Endpoint.

3. On the Veean Backup Server, edit the C:\Program Files\Veeam\Backup and Replication\Backup\AmazonS3Regions.xml file by adding the DNS from step 2 with a "bucket" prefix to the corresponding region, as shown in the example below:

<Region Id="eu-central-1" Name="EU (Frankfurt)" Type="Global">
<Endpoint Type="S3">bucket.<DNS name></Endpoint>
<Endpoint Type="EC2">ec2.eu-central-1.amazonaws.com</Endpoint>
<Endpoint Type="IAM">iam.amazonaws.com</Endpoint>
<Protocol>HTTP</Protocol>
<Protocol>HTTPS</Protocol>
<LocationConstraint>eu-central-1</LocationConstraint>
<SignatureVersion>4</SignatureVersion>
</Region>

Here we edited the "eu-central-1" record, because the S3 bucket along with the PrivateLink endpoint are located in that region. The new DNS goes into the S3 Endpoint Type node.

4. Create a registry parameter on the Veeam Backup Server:

  • Path: HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication\
  • Type: DWORD
  • Name: CloudRegionsDisableUpdate
  • Value: 1

This will prevent Veeam from automatically updating the XML file we've edited in step 3, thus making sure your custom configuration remains untouched.

5. Having performed all steps above, you can now create a Scale-Out Backup Repository in Veeam and use the DNS from step 2 to add a Capacity Tier and/or an Archive Tier extent.

6. In order to use PrivateLink Endpoint with your Archive Tier extent, you will need some additional tweaks:
    a) Create a registry parameter:

  • Path: HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication\
  • Type: DWORD
  • Name: ArchiveFreezingUsePrivateIpForAmazonAppliance
  • Value: 1

    b) Configure a EC2 Interface Endpoint in your VPC


Viewing all articles
Browse latest Browse all 4362

Trending Articles