Created
December 12, 2023 01:21
-
-
Save beisong7/4250ca8d3cdcb762448c4d3b9e77c324 to your computer and use it in GitHub Desktop.
cloud formation ec2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWSTemplateFormatVersion: "2010-09-09" | |
Description: A sample template | |
Resources: | |
Ec2CloudForm: #An inline comment | |
Type: "AWS::EC2::Instance" | |
Properties: | |
ImageId: "ami-06aa3f7caf3a30282" #Another comment -- This is a Linux AMI | |
InstanceType: t2.micro | |
KeyName: nvirginia | |
# BlockDeviceMappings: | |
# - | |
# DeviceName: /dev/sdm | |
# Ebs: | |
# VolumeType: io1 | |
# Iops: 200 | |
# DeleteOnTermination: false | |
# VolumeSize: 20 | |
AvailabilityZone: "us-east-1a" | |
SecurityGroups: | |
- "default" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment