View a markdown version of this page

Network requirements and ports - AWS Backup

Network requirements and ports

AWS never connects into your environment, and you don't open inbound ports from the internet. Inside your network, some connections start at the appliance and some end at it. The following table lists each connection and the side that listens.

Connectivity model

Resource type From To (listens on the port) Port Purpose
All resource types Appliance AWS endpoints TCP 443 Control plane, heartbeats and backup data transfer
VMware Appliance vCenter Server or standalone ESXi host TCP 443 vSphere API
VMware Appliance ESXi host TCP 902 VM disk data transfer (VMware NFC)
VMware Appliance Agent on the target VM of a file-level restore TCP 21213 Restored files
NAS (NFS) Appliance NFS server TCP/UDP 111, 635 and 2049 RPC (111) and NFS (635, 2049). Allow this traffic in both directions.
NAS (SMB) Appliance SMB server TCP 445 SMB. Allow this traffic in both directions.
SQL Server and Oracle Appliance Agent on the database host TCP 21213 Agent commands
SQL Server and Oracle Agent on the database host Appliance TCP 11117 Backup data
Linux and Windows servers Appliance Agent on the server TCP 21213 Agent commands

AWS endpoints

The appliance connects to the following AWS endpoints over HTTPS (TCP 443). If your firewall or proxy filters outbound traffic by hostname, allow each hostname, replacing region with the Region where you created the appliance. If you use AWS PrivateLink, create a VPC endpoint for each service instead. For details, see Private connectivity.

Endpoint Hostname to allow VPC endpoint service name Required
activation activation-backup-external.region.api.aws com.amazonaws.region.activation-backup-external Yes
edge edge-backup-external.region.api.aws com.amazonaws.region.edge-backup-external Yes
backup-external backup-external.region.api.aws com.amazonaws.region.backup-external Yes
backup-storage backup-storage.region.api.aws com.amazonaws.region.backup-storage Yes
kms kms.region.amazonaws.com com.amazonaws.region.kms Yes
sqs sqs.region.amazonaws.com com.amazonaws.region.sqs Yes
secretsmanager secretsmanager.region.amazonaws.com com.amazonaws.region.secretsmanager Yes
s3 s3.region.amazonaws.com com.amazonaws.region.s3 (Interface type) Only if you send job reports to an Amazon S3 bucket

If you use AWS PrivateLink, see Private connectivity for when the activation-backup-external and edge-backup-external endpoint services become available.

Don't use the com.amazonaws.region.backup or com.amazonaws.region.backup-gateway endpoint services for the appliance. They serve other AWS Backup features.

Ports for the appliance

Infrastructure and support ports

From To Protocol Port Purpose Required
Appliance node DNS servers TCP and UDP 53 Name resolution Yes
Appliance node NTP servers UDP 123 Time synchronization Yes
Appliance node AWS endpoints, or your HTTP proxy TCP 443, or your proxy's port Communication with AWS. See AWS endpoints. Yes
Your transfer host Appliance node TCP 20490 Temporary NFS share for diagnostics and support scripts. See Local console and offline troubleshooting. Only when AWS Support asks for diagnostics

Communication between nodes

Allow all traffic between the nodes of an appliance. On Amazon EC2, use a security group that allows inbound traffic from itself, and attach it to every node.

If your network policy requires specific ports, allow the following between every pair of nodes in the appliance:

From To Protocol Port Purpose
Appliance node Other nodes in the same appliance TCP 2222 Encrypted SSH between nodes
Appliance node Other nodes in the same appliance TCP 23456 Cluster formation and adding nodes
Appliance node Other nodes in the same appliance TCP 443, 9111, 10201–10366, 11119, 22222, 22223, 23335–23336, 23464, 28901, 29998 Cluster services
Appliance node Other nodes in the same appliance UDP 5353 Node discovery (mDNS)

Ports 2222, 22222, 22223 and 23456 must be open before the cluster forms. A new node uses them to join.

Private connectivity

By default, the appliance connects to public AWS endpoints. You can instead route its traffic through an HTTP proxy, through AWS PrivateLink, or both. You can also use Direct Connect for private, dedicated connectivity between your environment and AWS.

You set the proxy and PrivateLink endpoints on each node when you deploy or activate it, through the OVA template, Amazon EC2 user data, or the local console. You can't change them after the node is activated. Use the same values on every node in the appliance.

HTTP proxy

  • The value must use the form http://host:port. The port is optional. HTTPS proxies aren't supported. A value that starts with https:// or has no http:// prefix is rejected, and the appliance doesn't use a proxy.

  • Don't include a username or password. Proxy authentication isn't supported.

  • The proxy must allow HTTPS connections to every hostname in AWS endpoints.

AWS PrivateLink

Important

The activation-backup-external and edge-backup-external endpoint services become available in your AWS account after you first create an appliance in that Region, usually within a few seconds to a few minutes. Create the appliance first, then create the interface VPC endpoints for these two services. Create the endpoints in the same AWS account and Region as the appliance.

  1. In the VPC that the appliance uses, or that your on-premises network reaches through Direct Connect or VPN, create an interface VPC endpoint for each service in AWS endpoints. For s3, choose the Interface type, not Gateway.

  2. Attach a security group to the endpoints that allows inbound TCP 443 from the appliance's nodes, or from your HTTP proxy if you use one.

  3. For each endpoint, do one of the following:

    • Enter the endpoint's Regional DNS name as the override for that endpoint, for example vpce-0123456789abcdef0-abcd1234.kms.region.vpce.amazonaws.com. Use the Regional name, not a name that includes an Availability Zone. For s3, remove the leading *. from the name.

    • Turn on private DNS for the endpoint and leave the override blank. If your VPC already has an endpoint for a service with private DNS turned on, such as secretsmanager, you don't need to create another one. Private DNS without overrides works only from inside the VPC, or when your DNS servers forward these hostnames to an Amazon Route 53 Resolver inbound endpoint in the VPC. For an appliance outside AWS, enter the overrides.

Any endpoint without an override or private DNS uses the public hostname.

HTTP proxy and AWS PrivateLink together

If you set both, the appliance sends its requests for the VPC endpoint names through the proxy. The proxy must be able to resolve and reach the VPC endpoints. VPC endpoint DNS names (*.vpce.amazonaws.com) resolve from anywhere to the private IP addresses of the endpoints, so the proxy must have a network route to those addresses, for example over Direct Connect or a VPN. If you use private DNS instead of overrides, the proxy must also resolve the public hostnames to the endpoints. Run the proxy in the same VPC, or have your DNS servers forward those hostnames to an Amazon Route 53 Resolver inbound endpoint in the VPC.

Bandwidth

The bandwidth you need between the appliance and AWS depends on how much backup data you copy to the cloud. The sizer doesn't account for network bandwidth, so size the connection for your daily copy-to-cloud volume.