All technological notes.
Bastion Host
The bastion is in the public subnet which is then connected to all other private subnets
Bastion Host security group must allow inbound from the internet on port 22 from restricted CIDR, for example the public CIDR of your corporation
Security Group of the EC2 Instances must allow
Security Group of the Bastion Hostprivate IP of the Bastion host
Note: SG’s VPC must match with the EC2’s VPC, otherwise instance cannot launch.
Create SG in VPC allowing SSH


Bastion Host EC2 instance in public subnet in the same VPC



.pem file
chmode 0400 <pem_file>ssh -i "pem_file" username@private_ip
ping google.com
