Question
Method 1 Done: 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
Method 1 Done: 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
Method 2 Done: 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
Get Instant Access to Expert-Tailored Solutions
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