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
(Created page with " {{CloudFormation}}") Tags: Mobile web edit, Mobile edit |
|||
(25 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{AWS::EC2 TOC}} | ||
+ | == Example == | ||
+ | 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 == | ||
+ | * <code>[[AWS::ECS]]</code> | ||
+ | * <code>[[AWS::ElasticLoadBalancingV2]]</code> | ||
+ | * <code>[[AWS::]]</code> | ||
+ | * <code>[[aws ec2 run-instances]]</code> | ||
− | {{ | + | == See also == |
+ | * {{AWS::EC2}} | ||
+ | * {{aws ec2 create}} | ||
+ | |||
+ | |||
+ | [[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: