AWS: Restore Server Requirements
This article describes the network connectivity requirements for restore servers in AWS restore accounts.
By default, Eon runs the restore server using your account’s default VPC, subnet, and security group. If these defaults exist and have the required connectivity, no additional configuration is needed. If the default VPC resources have been deleted or have outbound limitations, customize the restore server’s network configuration. See AWS: Customize Restore Server Configuration for details.
Network requirements
The network requirements depend on the resource you’re restoring.
EC2 and S3
When restoring EC2 instances, Eon creates the restore server in the same availability zone as the restore destination. When restoring S3 buckets, Eon creates the restore server in the same region.
RDS
When restoring RDS instances, Eon creates the restore server in the same VPC as the restored instance.
The restore server needs to create and populate databases on the restored instance. The restore server and the restored RDS instance each need a security group that allows TCP communication between them on the database port.
Eon creates restored databases using standard ports:
-
MySQL: TCP port 3306.
-
PostgreSQL: TCP port 5432.
-
SQL Server: TCP port 1433.
VPC DNS resolution and DNS hostnames are enabled by default on AWS VPCs. If you’re using a custom VPC, verify that these settings are enabled.
Startup connectivity check
When the temporary restore server starts, it checks that it can reach the hosts below on port 443 over HTTPS before it starts the Eon agent. If a host doesn’t respond, the restore fails with a network connectivity error. For causes and fixes, see Network connectivity errors.
In these host names:
-
{region}: The AWS region where the restore server runs. -
{vault-region}: The region of the vault, which may differ from the region where the restore server runs. -
{bucket}: The S3 bucket or access point alias Eon uses to read the vault. Eon usually reads the vault through a temporary access point, so this is the alias Eon generates for the restore job, not the name of the vault’s bucket. -
{alias}: The alias of the Amazon S3 Multi-Region Access Point, which ends in.mrap. Eon uses a Multi-Region Access Point only for cross-region restores, and only when Allow restore to private subnets is on for the VPC. Otherwise, Eon reads the vault through the vault region’s access point, and the restore server needs outbound access to the vault region.
Eon skips the vault check when:
-
The vault uses a custom API endpoint.
-
The vault’s bucket name contains a dot.
-
The vault is addressed by an access point ARN that isn’t a Multi-Region Access Point ARN.
If the vault check fails for a cross-region restore into a subnet without internet access, turn on Allow restore to private subnets for the VPC and create the Multi-Region Access Point endpoint described in VPC endpoints for subnets without internet access. For the steps, see AWS: Customize Restore Server Configuration.
The restore server also needs other AWS services that this check doesn’t cover. For the full list, see VPC endpoints for subnets without internet access.
VPC endpoints for subnets without internet access
When a restore server runs in an isolated or private subnet without internet access, it can’t reach AWS services over the public internet. VPC endpoints let the restore server communicate with those services through the AWS network, without requiring outbound internet access.
If you’re using a custom private subnet for the restore server, configure the following VPC endpoints in the VPC where the restore server runs.
In the service names below, replace {region} with the AWS region of that VPC.
This is the restore destination region, which may differ from the vault’s region.
For interface endpoints:
-
Select Enable private DNS name so the restore server resolves AWS service host names to private endpoint addresses.
-
Place the endpoint in the same VPC and subnet as the restore server.
-
Associate a security group that allows inbound HTTPS (port 443) from the restore server.
Gateway endpoints require no security group and route automatically through the associated route table.
To create these endpoints, see Create a VPC endpoint in the AWS documentation.