Skip to navigation

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.

Network resourceRequirements
SubnetOutbound communication is open, or VPC endpoints are configured.

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.

Network resourceRequirements
VPC DNS resolutionMust be enabled. The restore server resolves database endpoints by hostname.
VPC DNS hostnamesMust be enabled.
SubnetOutbound communication is open, or VPC endpoints are configured.
Security group for restore serverAllows outbound TCP on the database port to the restored instance’s security group.
Security group for restored instanceAllows inbound TCP on the database port from the restore server’s security group.

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.

Network resourceRequirements
Amazon SQSsqs.{region}.amazonaws.com is reachable.
Amazon DynamoDBdynamodb.{region}.amazonaws.com is reachable.
Vault{bucket}.s3.{vault-region}.amazonaws.com is reachable.
Vault, Multi-Region Access Point{alias}.accesspoint.s3-global.amazonaws.com is reachable instead of the vault host. Applies only when Allow restore to private subnets is on for the VPC.

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.

AWS serviceService nameEndpoint typePurpose
Amazon S3com.amazonaws.{region}.s3GatewayReads vault backup data from S3, downloads the agent bootstrap script, and uploads agent logs.
Amazon DynamoDBcom.amazonaws.{region}.dynamodbGatewayThe restore agent writes command execution results to DynamoDB, which the Eon control plane polls to track progress.
Amazon ECR (API)com.amazonaws.{region}.ecr.apiInterfaceAuthenticates with Elastic Container Registry to obtain an authorization token before pulling container images.
Amazon ECR (Docker registry)com.amazonaws.{region}.ecr.dkrInterfacePulls Eon restore workload Docker images from Elastic Container Registry after authentication.
AWS Security Token Servicecom.amazonaws.{region}.stsInterfacePerforms cross-account AssumeRole calls for S3, Elastic Container Registry, DynamoDB, and resource management.
Amazon SQScom.amazonaws.{region}.sqsInterfaceServes as the command channel from the Eon control plane to the restore node. Carries commands and encrypted secrets.
Amazon S3 Multi-Region Access Pointscom.amazonaws.s3-global.accesspointInterfaceAllows the restore server to read vault data when the vault is in a different region. Eon creates the access point automatically. Required only for cross-region restores when Allow restore to private subnets is on for the VPC.

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.