Skip to content

Instantly share code, notes, and snippets.



Created Apr 27, 2019
What would you like to do?
curl -X POST \
'{act-1234xyz}’ \
-H 'Authorization: Bearer <authorization_token>’ \
-H 'Content-Type: application/json' \
-H 'Postman-Token: <postman_token>' \
-H 'cache-control: no-cache' \
-d '{
"statefulMigrationGroup": {
"shouldKeepPrivateIp": true,
"originalInstanceId": "'"$instance_id"'",
"name": "'"$instance_name"'",
"product": "Linux/UNIX",
"spotInstanceTypes": [
"region": “<region_name>”
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.