Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save rangsimanketkaew/f31dbcbbc59c1653adc3fb0dc008b433 to your computer and use it in GitHub Desktop.

Select an option

Save rangsimanketkaew/f31dbcbbc59c1653adc3fb0dc008b433 to your computer and use it in GitHub Desktop.
aws ec2 create-launch-template --region ap-northeast-1 --launch-template-name TemplateForSpot --version-description TemplateForSpotVersion1 --launch-template-data "{\"NetworkInterfaces\":[{\"DeviceIndex\":0,\"SubnetId\":\"subnet-93d49ac8\"}],\"ImageId\":\"ami-06cd52961ce9f0d85\",\"InstanceType\":\"m4.large\",\"TagSpecifications\":[{\"ResourceType\":\"instance\",\"Tags\":[{\"Key\":\"Name\",\"Value\":\"EC2SpotImmersionDay\"}]}]}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment