Skip to content

Instantly share code, notes, and snippets.

@miike
Created December 31, 2016 01:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miike/c22d37cb73537c8029b4296fb87e3494 to your computer and use it in GitHub Desktop.
Save miike/c22d37cb73537c8029b4296fb87e3494 to your computer and use it in GitHub Desktop.
Request a p2.xlarge instance for fast.io
{
"DryRun": false,
"SpotPrice": "0.20",
"InstanceCount": 1,
"Type": "one-time",
"LaunchSpecification": {
"ImageId": "ami-b43d1ec7",
"KeyName": "fastio",
"UserData": "",
"InstanceType": "p2.xlarge",
"Placement": {
"AvailabilityZone": ""
},
"BlockDeviceMappings": [
{
"VirtualName": "",
"DeviceName": "/dev/sda1",
"Ebs": {
"VolumeSize": 128,
"DeleteOnTermination": true,
"VolumeType": "gp2",
"Encrypted": false
}
}
],
"SubnetId": "subnet-xxxxxxx",
"SecurityGroupIds": [
"sg-xxxxxxx"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment