latestOpenAPI 3.0.02026-08-2045003.8 MB

72813baf8d47

Elastigroup AWS

Import Stateful Instance

Create a new Stateful Elastigroup – this Elastigroup will have the same configuration and state of the imported instance.

post/aws/ec2/statefulMigrationGroup

Parameters

#/paths/~1azure~1costs/get/parameters/0 — unresolved $ref

Request body

Example request

{
  "statefulMigrationGroup": {
    "originalInstanceId": "i-123c53d9f152a1234",
    "shouldTerminateInstance": true,
    "name": "MyNewElastigroup",
    "product": "Linux/UNIX (Amazon VPC)",
    "spotInstanceTypes": [
      "m3.large"
    ],
    "region": "us-west-2",
    "availabilityZones": [
      {
        "name": "us-west-2b",
        "subnetIds": [
          "subnet-12345678"
        ]
      }
    ]
  }
}