đCreate a New VPC Connection
Introduction
What is VPC
Amazon Virtual Private Cloud (VPC) is a cloud service provided by Amazon Web Services (AWS) for creating and managing virtual networks in the AWS cloud environment. With Amazon VPC, you can logically isolate computing resources, such as virtual machines (Amazon EC2), and other services within a virtual network that is completely isolated from the internet or public network. The virtual network created is very similar to the traditional network you operate in an on-premises data center, with the benefit of using scalable AWS infrastructure.
Toppologi
Configuration AWS
Create a New VPC
Create Subnet
Public Subnet
Private Subnet
Edit Public Subnet
Create Internet Gateway
Create NAT Gateway
Create Routes Table
Public Routes Tables
Private Routes Tables
Edit Routes Tables
Public Rotes Tables
Private Routes Tables
Edit Subnet Associations
Create Security Group
Bastion Host
WebServer
Database
Create EC2 Instance
Bastion Host
WebServer
Database
Instance | IP Public | IP Private |
---|---|---|
Bastion Host | 3.82.107.26 | 10.10.1.198 |
Web Server | 52.91.87.14 | 10.10.1.85 |
DBInstance | - | 10.10.2.107 |
How to Connect SSH
Open GitBash
cd Downloads/
ssh-agent bash
ssh-add labsuser.pem
Jump SSH to WebServer/DBInstance
From Bastion-Host
Reference
Last updated