This Lab walks you through the steps to use the AWS CloudShell to run CLI command to create an EC2 instance and SSH into that instance and install Apache web server.
Duration: 45 minutes
AWS Region: US East (N. Virginia) us-east-1
AWS CloudShell is a browser-based shell that makes it easy to manage, explore, and interact securely with your AWS resources. With CloudShell, you can quickly run scripts with the AWS Command Line Interface (AWS CLI), experiment with AWS service APIs using the AWS SDKs, or use a range of other tools
CloudShell inherits the credentials of the user signed in to the AWS Management Console.
A fully managed Amazon Linux 2 environment that has the latest versions of popular tools already installed and updated.
With 1 GB of persistent storage per Region, you can store scripts, files, configuration preferences, etc in your home directory.
Launching Lab Environment.
Create an Environment in CloudShell.
AWS CLI Command to create a KeyPair.
AWS CLI Command to create a Security group.
AWS CLI Command to launch an EC2 Instance.
SSH into EC2 and install Apache.
Deleting AWS Resources.