latestOpenAPI 3.0.02026-08-2045003.8 MB

72813baf8d47

Elastigroup AWS

Import EC2 Instance

Import an EC2 instance into a new Elastigroup

post/aws/ec2/group/instance/import

Query parameters

regionstring required

The AWS region to create the new Elastigroup in

instanceIdstring required

Enter the AWS instance Id of the instance to import

Parameters

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

Request body

Example request

{
  "group": {
    "name": "EG_Name",
    "spotInstanceTypes": [
      "m3.large",
      "c3.large"
    ]
  }
}

Response

Import EC2 Instance Response

Example response

{
  "request": {
    "id": "ff3e1e5b-91b8-42fa-8267-b988efc7f662",
    "url": "string",
    "method": "GET",
    "timestamp": "2015-06-29T13:01:55.060Z"
  },
  "response": {
    "status": {
      "code": 200,
      "message": "OK"
    },
    "count": 1
  }
}