Difference between revisions of "AWS::EC2"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
== Example == | == Example == | ||
MyEC2Instance: | MyEC2Instance: | ||
− | Type: AWS::EC2::Instance | + | Type: [[AWS::EC2::Instance]] |
Properties: | Properties: | ||
[[ImageId]]: "ami-79fd7eee" | [[ImageId]]: "ami-79fd7eee" | ||
Line 18: | Line 18: | ||
- DeviceName: "/dev/sdk" | - DeviceName: "/dev/sdk" | ||
NoDevice: {} | NoDevice: {} | ||
+ | |||
+ | == Related == | ||
+ | * [[AWS::ECS]] | ||
==See also== | ==See also== |
Revision as of 07:42, 29 March 2022
- AWS::EC2::Instance: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html
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
See also
- AWS CloudFormation,
AWS::CloudFormation
AWS CloudFormation Designer, Drift detection, AWS Cloud Development Kit (CDK),aws cloudformation
,ServicesStack:
, AWS CloudFormation Linter (cfn-lint
), Former2, CloudCraft, Change sets, AWS CloudFormation Public Registry, CloudFormation snippets, CloudFormation templates, StackSets,Outputs:
,Type:
,Fn::Sub
,!Ref
, CloudFormation Parameters, AWS CloudFormation Templates, CloudFormation functions - AWS EC2, Amazon EC2 API,
aws ec2, AWS::EC2
, Amazon EC2 Spot Instances, CPU credits, Instance type, EC2 limitations, 169.254.169.254, Instance metadata and user data (IMDS),InstanceType, InstanceId
, Amazon EC2 Auto Scaling, AWS EC2 Instance Connect, launch template, lifecycle, AWS Security group (SG), Amazon EC2 Recycle Bin, Amazon EC2 Mac Instances, Global View
Advertising: