How to Connect to a Private EC2 Instance in a VPC Using a Bastion Host

preview_player
Показать описание
When you deploy your Amazon EC2 instances into private subnets it can make it a little more difficult to administer them remotely. One solution to this challenge is to create a Bastion Host EC2 instance running in a public subnet and then connect from the Bastion Host to the private EC2 instance.

In this AWS video tutorial, you'll learn how to correctly configure your AWS VPC for this scenario, launch a private and public EC2 instance, and configure the public EC2 instance as a Bastion Host. You'll then learn how you can connect to the private EC2 instance using the SSH protocol with Agent Forwarding configured.

This video comes from our AWS Labs playlist. If you're new to AWS and want to learn with hands-on lab please subscribe to stay tuned for new videos every weekend:

Prewatch Video Links:

AWS Security Group: Theory:

IP Addressing:

#awstrainingvideos #aws #awscloud #awscli #cloudcomputing
⭐️ Course Contents ⭐️
00:00 Introduction
03:15 What is a bastion host and why it is used?
06:14 Bastion host and private instance architectural overview
11:41 Creating bastion host in public subnet
14:14 Connecting to Bastion host using Mobaxterm
15:05 Creating EC2 instances in a private subnet
16:34 Security group refrencing
19:26 Testing connectivity from Bastion to Private EC2 Instance
23:19 Configuring MobXterm for ssh forwarding / configuring as ssh forwarding agent
27:27 Using Putty for ssh forwarding
Рекомендации по теме
Комментарии
Автор

Can you kindly show or explain how you configured the mobaxterm in such away that you were able to connect to bastion Host please

kingsleyonyeemeosi
Автор

Hello techup,
MobaXterm is tool for
Enhancing terminal for Windows with X11 server, tabbed SSH client, network tools and much more.
What if my OS is window 10? Which tool should I use?

jasonyu