Question: I have done Method 1: Launch an EC2 instance into the VPC with the following command: aws ec2 run-instances --image-id ami-xxxxxxxxxx --count 1 --instance-type t3.micro

I have done Method 1: Launch an EC2 instance into the VPC with the following command: aws ec2 run-instances --image-id ami-xxxxxxxxxx --count 1 --instance-type t3.micro --key-name username-key --security-group-ids sg-xxxxxxxxxx --subnet-id subnet-xxxxxxxxxxxxx

I have done Method 2: Create another instance in your subnet with the following command: aws ec2 run-instances --image-id ami-xxxxxxxxxxxx --count 1 --instance-type t1.micro --key-name username-key --security-group-ids sg-xxxxxxxx --subnet-id subnet-xxxxxxxxxxxxxxxx

My question: Now how to create ec2 instance for users on the Internet and for users in the public subnet with a public IP address to verify pinging test for the requirements in AWS CLI commands?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!