Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Resources:
- Ec2Instance:
- Type: 'AWS::EC2::Instance'
- Properties:
- SecurityGroups:
- - !Ref InstanceSecurityGroup
- KeyName: AKIAISJKQ5LU3ZI3HJXQ
- ImageId: ''
- InstanceSecurityGroup:
- Type: 'AWS::EC2::SecurityGroup'
- Properties:
- GroupDescription: Enable SSH access via port 22
- SecurityGroupIngress:
- - IpProtocol: tcp
- FromPort: '22'
- ToPort: '22'
- CidrIp: 0.0.0.0/0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement