Difference between revisions of "AWS::EC2"
Jump to navigation
Jump to search
↑ https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{AWS::EC2 TOC}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Example == | == Example == | ||
Line 17: | Line 7: | ||
[[ImageId]]: "ami-79fd7eee" | [[ImageId]]: "ami-79fd7eee" | ||
KeyName: "testkey" | KeyName: "testkey" | ||
− | BlockDeviceMappings: | + | [[BlockDeviceMappings]]: |
- DeviceName: "/dev/sdm" | - DeviceName: "/dev/sdm" | ||
Ebs: | Ebs: | ||
VolumeType: "io1" | VolumeType: "io1" | ||
Iops: "200" | Iops: "200" | ||
− | DeleteOnTermination: "false" | + | [[DeleteOnTermination]]: "false" |
VolumeSize: "20" | VolumeSize: "20" | ||
- DeviceName: "/dev/sdk" | - DeviceName: "/dev/sdk" | ||
Line 31: | Line 21: | ||
* <code>[[AWS::ElasticLoadBalancingV2]]</code> | * <code>[[AWS::ElasticLoadBalancingV2]]</code> | ||
* <code>[[AWS::]]</code> | * <code>[[AWS::]]</code> | ||
+ | * <code>[[aws ec2 run-instances]]</code> | ||
== See also == | == See also == | ||
+ | * {{AWS::EC2}} | ||
* {{aws ec2 create}} | * {{aws ec2 create}} | ||
− | + | ||
− | |||
[[Category:CloudFormation]] | [[Category:CloudFormation]] |
Latest revision as of 10:33, 16 January 2024
AWS::EC2::VPC
AWS::EC2::Instance
[1]AWS::EC2::Subnet
AWS::EC2::SubnetRouteTableAssociation
AWS::EC2::InternetGateway
AWS::EC2::RouteTable
AWS::EC2::EIP
AWS::EC2::Route
AWS::EC2::NatGateway
AWS::EC2::SecurityGroup
AWS::EC2::SecurityGroupIngress
AWS::EC2::Volume
Example[edit]
MyEC2Instance: Type: AWS::EC2::Instance Properties: ImageId: "ami-79fd7eee" KeyName: "testkey" BlockDeviceMappings: - DeviceName: "/dev/sdm" Ebs: VolumeType: "io1" Iops: "200" DeleteOnTermination: "false" VolumeSize: "20" - DeviceName: "/dev/sdk" NoDevice: {}
Related[edit]
See also[edit]
AWS::EC2
aws ec2 [ create-vpc | create-subnet | create-nat-gateway | create-key-pair | create-vpn-connection | create-route | create-route-table | create-vpc-endpoint ]
Advertising: