Advertisement
Guest User

Untitled

a guest
Sep 21st, 2019
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. Resources:
  2. Ec2Instance:
  3. Type: 'AWS::EC2::Instance'
  4. Properties:
  5. SecurityGroups:
  6. - !Ref InstanceSecurityGroup
  7. KeyName: AKIAISJKQ5LU3ZI3HJXQ
  8. ImageId: ''
  9. InstanceSecurityGroup:
  10. Type: 'AWS::EC2::SecurityGroup'
  11. Properties:
  12. GroupDescription: Enable SSH access via port 22
  13. SecurityGroupIngress:
  14. - IpProtocol: tcp
  15. FromPort: '22'
  16. ToPort: '22'
  17. CidrIp: 0.0.0.0/0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement