Course: Network and System Administration

In Class Lab: 19.5

Name: Introduction to the AWS console

Objective: Start the AWS Lab from Canvas, log in to the AWS console, and find your way around it. Find the EC2 and S3 services, and check which Region you are working in.

Until now, every lab has run on servers you built yourself: your development server in UTM or VirtualBox, and your production server. From Lab 24 on, you also work in the cloud with Amazon Web Services (AWS). AWS runs the hardware for you, in data centers around the world, and you rent what you need.

This short lab makes sure you can get into AWS before you need it. If something doesn't work, you have time to get help now rather than in the middle of a later lab.

Note: This lab does not use your development or production server. Everything happens in your web browser.

How to use the hints

Some steps give you every instruction. Others give you a Goal and ask you to work it out yourself. If you get stuck, open the hint. Once you have an answer, or if you are really stuck, open the solution and compare it with your own.

Lab overview

  1. Part 1: Start the AWS Lab
  2. Part 2: Look around the console - Task 1
  3. Part 3: Regions - Task 2

If you get stuck, check the Troubleshooting section at the end of this lab.


Part 1: Start the AWS Lab

Your AWS account for this course is provided through Vocareum, which you open from Canvas. You don't need your own AWS account.

Open Vocareum

  1. Log in to Canvas and open this course.
  2. Select Modules, and scroll to the bottom to the module named AWS Lab.
  3. Click AWS Lab. A new tab opens with a button labeled Load AWS Lab in a new window. Click it.

AWS lab load

Start the lab and log in

The Vocareum page has a row of buttons along the top.

  1. Click Start Lab. It can take a minute or two to start the first time.
  2. Wait until the dot next to AWS turns green.
  3. Click AWS. The AWS console opens in a new tab, already logged in.

Start AWS lab

Warning: Do not click End Lab. Ending the lab removes most of what you have created in AWS. You start the lab once, and leave it running for the rest of the course.

Tip: When you come back to AWS in a later lab, you follow the same steps: Canvas, Modules, AWS Lab, then AWS in Vocareum. If the dot next to AWS is not green, click Start Lab again. That restarts your session without removing anything.


Part 2: Look around the console

You are now in the AWS console. AWS has more than two hundred services, and the console is the web page you use to manage all of them.

AWS console

The parts you use most are:

Part of the page What it does
Search bar (top) Finds a service by name, such as EC2 or S3. The fastest way around.
Services menu (top left) Lists every service, grouped by category.
Region menu (top right) Shows and changes the Region you are working in. More on this in Part 3.
Console Home The start page. It shows the services you have used recently.

Two services matter most in this course:

Task 1: Find EC2 and S3

Goal: Open the EC2 dashboard, then the S3 page. On each one, find how many instances or buckets you have right now.

Hint
Solution
  1. Type EC2 in the Search bar, and click EC2. Under Resources, Instances (running) shows 0, because you haven't created any yet.
  2. Type S3 in the Search bar, and click S3. The list of buckets is empty, or shows only buckets that were set up for the lab.

After you have visited both, they appear under Recently visited on Console Home.


Part 3: Regions

AWS has data centers around the globe, grouped into Regions. Each Region has a name, such as US West (Oregon), and a code, such as us-west-2. Each Region is built with redundancy, so that a failure in one data center doesn't take your servers down, and prices can be different from one Region to the next.

Most of what you create in AWS, such as an EC2 instance, lives in one Region. The console only shows you what is in the Region you have selected. It is very common to create something, switch Region without noticing, and then think it is gone. Worse, it keeps running, and costing money, where you can't see it.

Note: In this course you always work in us-west-2, US West (Oregon).

Your AWS Region

Task 2: Check your Region

Goal: Find which Region you are in now. Look at the list of Regions you can choose from, and make sure you end in US West (Oregon), us-west-2.

Hint

The Region menu is near the top right of the console, next to your account name.

Solution
  1. Click the Region name at the top right of the console. The menu lists every Region, with its code.
  2. If you are not in US West (Oregon), click US West (Oregon) us-west-2.
  3. Open EC2 again, and check that the Region at the top right still says Oregon.

Some Regions may be greyed out or give an error when you open them. The lab account only allows some Regions, which is normal.

If you want to know more, read about AWS Regions and Availability Zones.


Lab summary

You have now:

Your AWS lab is still running. Leave it that way, and never click End Lab.

Questions to consider

Discuss these with others in class:

  1. How is an EC2 instance like your development server? How is it different?
  2. Why might a company pick one Region over another?
  3. You created a server in AWS last week, and today the EC2 dashboard shows 0 instances. What is the first thing you check?

Troubleshooting

Q. I can't find the AWS Lab module in Canvas.

A. Scroll all the way to the bottom of Modules. If it still isn't there, it may not be published yet. Ask for help as shown at the end of this section.

Q. Clicking AWS does nothing, or the console doesn't open.

A. Your browser may be blocking pop-ups. Allow pop-ups for the Vocareum page, and click AWS again. Make sure the dot next to AWS is green first.

Q. The console says my session has expired.

A. Go back to the Vocareum tab, click Start Lab again, wait for the green dot, and click AWS. Restarting the session doesn't remove anything.

Q. I get "You are not authorized" or "Access denied" on some pages.

A. The lab account can't use every service or every Region. Check that you are in us-west-2. If you are, that page is simply not part of this course.

Q. I clicked End Lab by mistake.

A. Click Start Lab to start a new session. Anything you created may be gone, but nothing in this lab needs to be kept.

If you are still stuck, post your question, and a screenshot of what you are seeing, in this week's Teams channel, or reach out by email for help.


Lab complete