Skip to content

Commit 701182c

Browse files
authored
Update ec2-with-bootstrapping.yaml
1 parent 5dc8bd9 commit 701182c

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

ec2/cloudformation/ec2-with-bootstrapping.yaml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
AWSTemplateFormatVersion: 2010-09-09
22
Description: >-
33
AWS CloudFormation template: This template builds an EC2 instance attached to
4-
an elastic IP address, and installs some basic software upon creation.
4+
an elastic IP address, and installs some basic software upon creation. Homed
5+
to primary UVA CIDR address blocks.
56
Parameters:
67
InstanceType:
78
Description: EC2 instance type
@@ -18,14 +19,6 @@ Parameters:
1819
Description: Name of an existing EC2 KeyPair to enable SSH access to the instances
1920
Type: 'AWS::EC2::KeyPair::KeyName'
2021
ConstraintDescription: must be the name of an existing EC2 KeyPair.
21-
SSHLocation:
22-
Description: The off-campus IP address range to SSH to the EC2 instances. UVA Campus is automatically granted access.
23-
Type: String
24-
MinLength: '9'
25-
MaxLength: '18'
26-
Default: 1.2.3.4/32
27-
AllowedPattern: '(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})/(\d{1,2})'
28-
ConstraintDescription: Must be a valid IP CIDR range of the form x.x.x.x/x.
2922

3023
Resources:
3124

@@ -69,10 +62,6 @@ Resources:
6962
Properties:
7063
GroupDescription: Enable SSH access
7164
SecurityGroupIngress:
72-
- IpProtocol: tcp
73-
FromPort: '22'
74-
ToPort: '22'
75-
CidrIp: !Ref SSHLocation
7665
- IpProtocol: tcp
7766
FromPort: '22'
7867
ToPort: '22'

0 commit comments

Comments
 (0)