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
Step: 1
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started