OPS705 Lab 1 (2207)
Purpose / Objectives of Lab 1
In this lab, you will login to Microsoft Azure for the first time, navigate your way to DevTest Labs, and spin up your first VM image. The main purpose of this lab is to ensure you can access your account and familiarize yourself with the Azure user interface.
While you are working through this lab, it is highly recommended that you write down general notes and commands to help you remember how to do this lab. You may use your notes during tests, so fill it out accordingly!
If you encounter technical issues, please contact your professor via e-mail or in your section's Microsoft Teams group.
Before beginning, you must have:
- Attended the Week 1 lecture (or watched the posted recording)
- Read through the Week 1 slides, and have them handy as a reference for concepts
- Your Seneca Azure login credentials (check your e-mail)
- A mobile device (phone/tablet) to setup 2FA (two-factor authentication)
- An Internet connection is helpful (If you don't have one... How are you here?)
INVESTIGATION 1: Connecting to Your Azure Account
In this investigation, you'll log in to your Seneca-provided Azure account, and perform some light house-keeping to make future labs easier.
- Look for an e-mail within your Seneca inbox from Microsoft. This contains a welcome message, and a link to our class's DevTest Labs instance.
- Click the link in the e-mail message.
- Enter your Seneca credentials. (Same username and password you use for your e-mail)
- You'll next be asked to set up two-factor authentication. Do not bypass this step!
- Once you've set that up, verify it by logging out and logging back in again.
- Conduct a small celebration (pat on the back, a quick jig, perhaps a fist pump) and move on to Part 2.
INVESTIGATION 2: DevTest Labs
Microsoft Azure's DevTest Labs is where we'll be doing most of our work in this course. In this investigation, you'll get a first look and set it up for easy access.
- Click on the menu bar icon, and select All Services. (Refer to Figure 1.)
- In the Search All text box, type DevTest Labs.
- Click DevTest Labs.
- Click 'OPS705.
- With this new window (i.e. blade) open, find the push-pin icon next to the title, and click it. This will add it to your Dashboard for easy navigation next time you log in.
- In the newly-opened Pin to dashboard options window, select Private and My Dashboard, then click Pin.
- Click on the menu bar icon once again, and select Dashboard.
- Scroll down to the bottom of your screen, and you should see the new Lab icon. However, at having it way at the bottom isn't very convenient! Let's change that.
- Towards the top of the screen, look for a option titled Edit. Click that.
- This now allows you to drag icons around. Move the Lab icon to where you find it most convenient for you.
- Click Done customizing when finished.
- At the very top of your screen, find the cog (Settings) icon, and click it.
- In the new options blade, under Choose your default view, select Dashboard. Now close the options blade by clicking the X icon in the top right.
- Next time you login, your Dashboard will be the first thing you see. Simply click on the Lab icon and go from there!
INVESTIGATION 3: Testing With a Web App Instance
Now that you're set up with your account in DevTest Labs, it's time to test things out! You'll get a sneak peak at some of the work you'll be doing in this course, as well as ensuring you have full access to the course resources.
- In the DevTest Labs > OPS705 blade, click on My virtual machines.
- In this new blade, click the + Add button to create a new item.
- The Choose a base page comes up. Give it a few moments to fully populate (i.e. load).
- Select the Web App item.
- In the configure blade pop-up, in the Environment name text box, enter: yourSenecaUsername-lab1 (substitute yourSenecaUsername with your actual Seneca username)
- You'll be sent back to the My virtual machines blade, and see a brief notification at the top of your window that your environment is being created. This can take a few minutes. A new notification will appear when creation is complete. It will also be added to your list of virtual machines momentarily.
- Once creation is complete, you'll see another notification. Otherwise, look for the Status of the new Web App to say Ready.
- When the app is ready, click on it.
- In the app's Overview, you'll see a list of resources. Find the one with the type App Service plan and click it.
- In this new blade, find the App(s) / Slots status in the second column at the top of the Overview tab. Click the '1 / 0 link.
- Now click on the one instance listed.
- You should now be in an Overview blade of this instance, with a randomly generated name. Find the URL status and click on the link.
- A new page will open with the text Hey, App Service Developers!.
- Test complete! This web page is now accessible anywhere from that URL, and serves as an easy test of your account.
We'll dive into what a Web App is and why you had to click through to many blades to get to the URL in the second half of the course (after Study Week).
Submit to Blackboard's Lab Submission section full-desktop screenshots (PNG/JPG) of the following:
- A browser window with your web app page loaded.
- Your view of the OPS705 DevTest Labs Overview blade.
Your professor will review your page directly; the screenshots are a backup in case of catastrophic issues.
Your professor will not check your lab until the screenshots have been submitted.
Make sure to shut down your web app when you're done!