VM
Size: a a a
VM
V
ПС
V
V
Resources:
EC2Instance1:
Type: AWS::EC2::Instance
Properties:
InstanceType:
Ref: InstanceType
#SecurityGroups:
#- Ref: InstanceSecurityGroup
KeyName: !Ref KeyName
ImageId: ami-0610b01fb66ee53c0
NetworkInterfaces:
- DeviceIndex: 0
DeleteOnTermination: true
SubnetId: !Ref MySubnet
Tags:
- Key: Name
Value: Test instance1
- Key: Environment
Value: !Ref Environment
- Key: Role
Value: Test
EIP1:
Type: AWS::EC2::EIP
Properties:
Domain: VPC
VpcIPAssoc1:
Type: AWS::EC2::EIPAssociation
Properties:
InstanceId: !Ref EC2Instance1
AllocationId:
Fn::GetAtt:
- EIP1
- AllocationId
V
V
SV
SV
SV
V
V
M
RV
SV
V
vk
VM
SP