This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ec2InPrivateSubnetWithouttNatGtwy: | |
Type: AWS::EC2::Instance | |
Properties: | |
ImageId: !Ref LatestAmiId | |
InstanceType: !Ref InstanceType | |
# KeyName: NO SSH Key needed | |
IamInstanceProfile: !Ref Ec2InstanceProfile | |
NetworkInterfaces: | |
# The SSM Agent running on the EC2 instances must be able to connect to Session Manager's | |
# public endpoint. You can also set up a PrivateLink connection to allow instances running |