Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 889 Bytes

instance_start.md

File metadata and controls

39 lines (28 loc) · 889 Bytes

Initialize a Start-Up of a SINGLE Instance

Sends a startup request to the AWS API for the specified instance id.

{instance-id} is the aws-power-toggle internal id, NOT the AWS instance_id

URL : /api/v1/instance/{instance-id}/start

Method : POST

Success Response

Code : 200 OK

Example Request

Given the following instance:

{
  "id": "1aef6299109b",
  "instance_id": "i-0008ad1bfd83a52eb",
  "instance_type": "t3.xlarge",
  "name": "kube-k8node2",
  "state": "stopped",
  "environment": "kube",
  "vcpu": 4,
  "memory_gb": 16,
  "pricing": 0.1856
}

Use the id field (NOT the instance_id field) to place the following request: /api/v1/instance/1aef6299109b/start

Notes

Responses vary depending on upstream AWS API since we pass the exact aws response. This will be addressed in an upcomming release for consistency.