Create Public instance
Create Public EC2 Linux
You refer to how to create EC2 Linux
-
Go to EC2 service management console
- Click Instances.
- Click Launch instances.
-
In the Name and tags
- Input your name instance:
Public Linux Instance
-
On the Step 1: Choose an Amazon Machine Image (AMI) page.
- Click Select to select AMI Amazon Linux 2 AMI.
-
On the Instance Type page.
- Click on Instance type t2.micro.
-
In the Key Pair (login).
- Click to select Select an existing key pair.
Click here If you have not an keypair
- Click to select Create a new key pair.
- In the Key pair name field, enter aws-key.
- Click Download Key Pair and save it to your computer.
- Click Launch Instances to create EC2 server.
-
At Network setting page
- In the VPC section, select Lab VPC.
- In the Subnet section, select Lab Public Subnet.
- In the Auto-assign Public IP section, select Use subnet setting (Enable)
- In the Firewall (security group), select select existing security group
- In the Common security group, select SG Pulic Linux Instance
-
Click Launch.
-
Click View Instances to return to the list of EC2 instances.
Next, we will do the same to create an EC2 Instance Windows running in the Private subnet.