In this live AWS environment you will create your own EC2 workstation in the AWS console. This will be a useful skill whenever you find yourself working in an AWS environment. Not only will you learn some of the nuances of creating EC2 instances through this process, you’ll also be able to do this again in your own AWS environment to create your own AWS workstation that is free from the clutter of a local machine. By the end of this hands-on lab, we will have created our own EC2 instance and signed into it with an SSH key. We will also have used that instance to create an S3 Bucket in our AWS account and used the instance to have the Simple Notification Service send us a text message.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Create an EC2 Instance
- Navigate to the EC2 portion of the console.
- Click launch instance.
- Go through the configuration steps.
- Create a key pair and download it to your machine.
- Launch the instance.
- Use the EC2 Instance to Create an S3 Bucket with the AWS CLI and Send a Message with SNS
- Log in to your EC2 instance using the ssh key created.
- Configure the AWS CLI.
- Use the AWS CLI to create an S3 bucket.
- Install boto3 with
sudo pip install boto3
. - Open the Python interpreter with
python
. - Use the commands shown in the video to send yourself a text message with SNS.