Connect an Existing ECS Cluster
Ocean is a managed infrastructure service for ECS that automatically adjusts infrastructure capacity and size to meet the needs of all tasks, containers, and applications.
In this procedure, you will connect an existing ECS cluster to Ocean using the Spot Console.
Prerequisites
- Connect your AWS account to Spot.
- Have an ECS cluster with at least a single container instance running.
Get Started
- In the left menu of the Spot Console, click Ocean/Cloud Clusters, and click Create Cluster.

- When the Create Ocean Cluster page appears, you will need to choose a use case template. Under Connect an Existing Cluster, click Connect an Existing ECS Cluster.

Step 1: General
- In the General page, choose the Region where the cluster is running, enter an Ocean Name, and choose the ECS Cluster to connect.
- Ocean Name is the name of the Ocean entity that will be created. For a cluster that you are importing, we recommend that you give it the same name as the original cluster (ECS Cluster Name). This will make it easier to identify related entities in each system.
- ECS Cluster Name is the ECS cluster to import the compute configuration from.

- Click Next.
Step 2: Compute
- Ocean imports the compute configuration from your ECS cluster and displays it in the Compute page. Confirm or edit the configuration if needed:
- Cluster Network
- VPC
- Subnets
- Machine Types All types are selected by default to grant Ocean the most freedom of operation possible. Click Customize if an adjustment is required.
- Instance Specifications
- Image
- Security Group
- Security Profile
- Key Pair
- User Data (Startup Script)
- Tags (Key and Value)
- Resource Limits
- Max vCPUs
- Max Memory
- Additional Configuration
- Public IP Assignment
- Draining Timeout
- Cluster Network

- Click Next.
Step 3: Review
Review all the Ocean settings you have configured. Click Create to finish or use the JSON or Terraform generated templates to create the Ocean cluster using other tooling.
You're all set! Ocean will now ensure the most cost-effective capacity and sizing possible for your cluster.
Related Topics
- Migrate Elastigroups: Migrate your existing Elastigroups to Ocean.
- If you need to run different workloads in the same cluster, create a Virtual Node Group.
- Manually scale down your existing ECS nodes in the node pools you migrated to get Ocean to provision pod-driven optimized infrastructure for your existing workloads.
- Import Fargate services to Ocean clusters using the Spot APIs.