Amazon ECS resource replication with Arpio
Arpio supports recovery of Amazon ECS workloads, including ECS workloads running on the AWS Fargate compute engine. The following resource types from the Amazon Elastic Container Service are supported.
Jump to:
ECS Cluster
Arpio replicates ECS clusters, as well as the tasks, services, and capacity providers, and instances that support the cluster. The ECS clusters themselves are unchanged in replicating them to the recovery environment, aside from translating references to other infrastructure that is also being replicated.
ECS Service
Arpio captures ECS service definitions in the production environment. The actual ECS service is not created in the recovery environment until a test or a failover operation is executed. The ECS service is unchanged during replication, aside from updating references to other infrastructure that is also being replicated.
The following resources are automatically selected into recovery points when an ECS Service is selected:
- Referenced ECS Capacity Providers that are not built-in (i.e. AWS Fargate). The built-in capacity providers already exist in the recovery environment so they do not need to be replicated.
- Referenced ELB Classic Load Blancers
- Referenced ELB load balancer Target Groups
- Referenced VPC Security Groups
- Referenced VPC Subnets
- The referenced IAM Role
- Referenced ECS Task Definitions
- Referenced ECS Task Sets
- Referenced service registries that are AWS Cloud Map services
ECS Task Definition
Arpio replicates task definitions to the recovery environment. The task definition is unchanged during replication, aside from translating references to other infrastructure that is also being replicated.
The following resources are automatically selected into recovery points when an ECS Task is selected:
- The IAM role that the task executes as
- The IAM role used by Amazon ECS to access Amazon Elastic Container Registry (ECR) and other services on your behalf
- The ECR repository that holds container images referenced by the task
- ECS Task definition environment variables that match an arpio-config:environment: tag applied to the task definition
- Resources referenced within the task definition's environment variables (Amazon RDS databases, Amazon ElastiCache clusters, Amazon OpenSearch domains, etc.)
ECS Task Set
Arpio replicates ECS task sets to the recovery environment. The task set is unchanged during replication, aside from updating references to other infrastructure that is also being replicated.
The following resources are automatically selected into recovery points when an ECS Task Set is selected:
- The ECS Cluster that includes the task set
- The ECS Services that reference the task set
- The ECS Task Definitions for the task set
- AWS Cloud Map services for the configured service registry
ECS Capacity Provider
Arpio replicates ECS Capacity providers to the recovery environment.
The following resources are automatically selected into recovery points when an ECS Capacity Provider is selected:
- The EC2 Autoscaling Groups that are reference by the capacity provider