Advertisement
benitojcv

Untitled

Mar 5th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. aws ec2 request-spot-instances --spot-price "0.702" --instance-count 1 --availability-zone-group "eu-west-1a" --type "one-time" --valid-from "2018-03-06T01:00:00.000Z" --valid-until "2018-03-06T07:00:00.000Z" --launch-specification file://aws_detectron_spot_request.json
  2.  
  3.  
  4. {
  5. "ImageId": "ami-70703009",
  6. "InstanceType": "g2.2xlarge",
  7. "KeyName": "nexoyoga-Ireland",
  8. "IamInstanceProfile": {
  9. "Arn": "arn:aws:iam::023988749392:instance-profile/yogapp"
  10. },
  11. "BlockDeviceMappings": [
  12. {
  13. "DeviceName": "/dev/sda1",
  14. "Ebs": {
  15. "DeleteOnTermination": true,
  16. "VolumeType": "gp2",
  17. "VolumeSize": 50,
  18. "SnapshotId": "snap-04038c8ead8b134e9"
  19. }
  20. }
  21. ],
  22. "NetworkInterfaces": [
  23. {
  24. "DeviceIndex": 0,
  25. "SubnetId": "subnet-69f38c31",
  26. "DeleteOnTermination": true,
  27. "Groups": [
  28. "sg-33e5b955"
  29. ],
  30. "AssociatePublicIpAddress": true
  31. }
  32. ],
  33. "Placement": {
  34. "Tenancy": "default"
  35. }
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement