Skip to content

Commit

Permalink
removed keynames
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianBorn committed Jan 26, 2020
1 parent 9750955 commit 4741184
Showing 1 changed file with 4 additions and 24 deletions.
28 changes: 4 additions & 24 deletions servers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,26 +149,6 @@ Resources:
Resource: "*"
Roles:
- Ref: S3BucketRole
# Policy:
# Type: 'AWS::IAM::Policy'
# Properties:

# IAM Profiles and Roles
# IamRole:
# Type: 'AWS::IAM::Role'
# Properties:
# AssumeRolePolicyDocument:
# Version: 2012-10-17
# Statement:
# -

# ProfileWithRolesForOurApp:
# Type: AWS::IAM::InstanceProfile
# Properties:
# Roles:
# - Fn:ImportValue: UdacityS3ReadOnlyEC2



# Application LaunchConfiguration
AppLaunchConfiguration:
Expand All @@ -183,7 +163,7 @@ Resources:
InstanceMonitoring: false # to avoid additional costs
InstanceType: t2.micro # use free tier
IamInstanceProfile: !Ref ListBucketInstanceProfile
KeyName: foobar # to be able to connect via ssh
# KeyName: foobar # to be able to connect via ssh
SecurityGroups:
- !Ref Ec2SecurityGroup
UserData:
Expand All @@ -204,7 +184,7 @@ Resources:
HealthCheckEnabled: true
HealthCheckIntervalSeconds: 30
HealthCheckPath: /
#HealthCheckPort: 80
HealthCheckPort: 80
HealthCheckProtocol: HTTP
HealthCheckTimeoutSeconds: 10
HealthyThresholdCount: 2
Expand Down Expand Up @@ -271,7 +251,7 @@ Resources:
- !GetAZs
ImageId: ami-06d51e91cea0dac8d # Ubuntu Server 18.04
InstanceType: t2.micro # use free tier
KeyName: foobar5
# KeyName: foobar5
NetworkInterfaces:
- AssociatePublicIpAddress: true
DeviceIndex: '0'
Expand All @@ -298,7 +278,7 @@ Resources:
- !GetAZs
ImageId: ami-06d51e91cea0dac8d # Ubuntu Server 18.04
InstanceType: t2.micro # use free tier
KeyName: foobar5
# KeyName: foobar5
NetworkInterfaces:
- AssociatePublicIpAddress: true
DeviceIndex: '0'
Expand Down

0 comments on commit 4741184

Please sign in to comment.