You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EC2 Instance Connect Endpoint allows you to connect to an instance without requiring the instance to have a public IPv4 address. You can connect to any instances that support TCP.
The purpose of this exercise is to get to know how to connect to EC2 Resources without public IP Address available.
Requirements
Create a VPC with 2 private subnet (No Internet Connectivity)
Create separate 2 Instance in the 2 subnet
Create an Instance Connect Endpoint
Setup IAM Users with Proper Permissions to issue the ec2-instance-connect:OpenTunnel "Action"
Setup your Client (Terminal) with proper tools (latest AWS CLI)
Test Connectivity from AWS Console and from your Client Terminal
Delete the Resources
Desired Architecture (components)
Tips and Trics
Connect to the Instance Using Short Lived Keys (preferred method)