5. EC2 - AWS - EC2 Private
This form is quite long, so we will fill it out step by step.
- Name: AWS - EC2 Private
- Amazon Machine Image (AMI): Amazon Linux 2 AMI ⇒ This will be the OS (Operation system) for this EC2 instance. While there is no best AMI, we chose Amazon Linux 2 for convenience when installing Openswan VPN.
Create a key pair to be able to SSH into AWS - EC2 - Private if you don’t already have one.
After creating the key pair, you can select it now.
For network settings, we will edit them as follows:
- VPC: AWS
- Subnet: AWS - Private subnet
- Auto-assign public IP: Disable ⇒ This EC2 instance is private and does not need a public IP.
- Select existing security group: AWS - Private ⇒ Our security group will allow other instances in the same private subnet to communicate via ICMP and Ping.
We can click “Launch Instance” now, leaving the other settings at their defaults is fine.
Now, we’re done setting up the VPC AWS resources!

×

