Elastic Container Service resource replication with Arpio
Arpio supports recovery of ECS workloads, including ECS workloads running on the Fargate compute engine. The following resource types from Amazon's 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. FARGATE). The built-in capacity providers already exist in the recovery environment so they do not need to be replicated.
- Referenced Classic ELB load balancers
- Referenced load balancer Target Groups
- Referenced Security Groups
- Referenced Subnets
- The Referenced IAM Role
- Referenced Task Definitions
- Referenced Task Sets
- Referenced service registries that are 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 ECS to access ECR and other services on your behalf
- The ECR repository that holds container images referenced by the task
- 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 (RDS databases, Elasticache clusters, 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
- 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