Ocean ECS

Import Fargate To Existing Ocean Cluster

Import a Fargate service into an existing Ocean ECS cluster. Upon Fargate service import, Spot clones the selected Fargate services and runs them with the same VPC & Subnet settings on EC2 spot Instances. Ocean will automatically and seamlessly predict and replace spot instances before they are interrupted, ensuring the uptime of the cluster and providing cost-savings of up to 90% over Fargate-enabled ECS clusters.

post/ocean/aws/ecs/cluster/{oceanClusterId}/fargateMigration

Request

  • Base URL
    https://api.spotinst.io
  • URL
    https://api.spotinst.io/ocean/aws/ecs/cluster/{oceanClusterId}/fargateMigration
  • Auth
    HTTP bearer

Parameters

#/paths/~1azure~1costs/get/parameters/0 (unresolved $ref)
#/paths/~1ocean~1aws~1ecs~1cluster~1%7BoceanClusterId%7D/get/parameters/1 (unresolved $ref)

Request body

servicesstring[]

List of Fargate services by their names. Must contain at least one service.

simpleNewServiceNamesboolean

Flag to align imported service names in the following format: sfm_

Example request

{
  "services": [
    "service_1",
    "service_2"
  ]
}

Changes

No recorded changes to this operation across all 12 revisions of this API.