Create an EC2 instance using AWS CLI under default VPC with the following details:
The name of the instance must be datacenter-ec2
.
You can use the ami-0cd59ecaf368e5ccf
AMI to launch this instance.
The instance type must be t2.micro
.
Create a new RSA key pair named datacenter-kp
.
Attach the default security group (available by default).
Create a new RSA key pair named datacenter-kp
:
Launch an EC2 instance with the specified AMI and instance type, and assign it the name datacenter-ec2
:
Ensure the key pair file has the correct permissions:
#aws #cloudcomputing #happylearning