Finding and Deploying Azure Quickstart Templates via GitHub

45 minutes
  • 5 Learning Objectives

About this Hands-on Lab

This hands-on lab will introduce deploying an Azure (ARM) quickstart template using GitHub and validating configuration via Azure Cloud Shell. Azure Cloud Shell is a web-based virtual terminal that grants full access to Azure PowerShell and the CLI right from within a browser!

– Nothing to install
– No plug-ins
– Just templates!

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Connect to Azure Quickstart Templates Documentation
  1. Browse to :
    https://azure.microsoft.com/en-us/resources/templates/

  2. Search for "201 web app with SQL database".

  3. Select the ‘Provision a Web App with SQL Database’ template by Lee Stott.

  4. Review and then click Browse on GitHub.

  5. Once you have visualized and examined the template, Deploy to Azure.

  6. Select the Bell at the top of the page and verify Deployment in Process.

Configure Azure Template for Deployment
  1. Set the Resource Group: Select Provided Resource Group

  2. Click I agree and Purchase

  3. Select the Bell at the top of the page and verify Deployment in Process.

  4. Once Complete, move to the next task.

Provision Azure Cloud Shell
  1. Once deployment is complete, click the [>_] Icon on the blue Azure bar.

  2. Click Bash then Show advanced settings.

  3. Change Cloud Shell Region to West US.

  4. Resource group is Use existing.

  5. Build a unique Storage account and File share by combining "lahol3446" + mmddyyyy (8 Digit Date) + abc (student initals). For example: lahol344601212020rcb.

  6. Click Create Storage.

If successful you should see something similar to he following:

Your cloud drive has been created in:

Subscription Id: 4cedc5dd-e3ad-468d-bf66-32e31bdb9148
Resource group:  212-e743b5-deploying-azure-templates-with-cloud-shell-6gd
Storage account: lahol344601212020rcb
File share:      lahol344601212020rcb

Initializing your account for Cloud Shell...
Requesting a Cloud Shell.Succeeded.
Connecting terminal...

Welcome to Azure Cloud Shell

Type "az" to use Azure CLI
Type "help" to learn about Cloud Shell

linuxacademy@Azure:~$
Run Bash Command

In the Azure Cloud Shell window type, replacing URL with the URL for the website resource in the Portal:

wget -S paste URL

If it is successful, the text should indicate a HTTP/1.1 200 OK similar to the following.

linuxacademy@Azure:~$ wget -S https://websitev6pk5egwedesi.azurewebsites.net
--2020-01-17 22:20:43--  https://websitev6pk5egwedesi.azurewebsites.net/
Resolving websitev6pk5egwedesi.azurewebsites.net (websitev6pk5egwedesi.azurewebsites.net)... 40.112.243.5
Connecting to websitev6pk5egwedesi.azurewebsites.net (websitev6pk5egwedesi.azurewebsites.net)|40.112.243.5|:443... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 200 OK
Provide the Customer a Link to Download the Template
  1. Supply the link to the GitHub Site for the deployed template:
    https://github.com/Azure/azure-quickstart-templates/tree/master/201-web-app-sql-database/

  2. For the change management record, access the activity log via the Azure menu.

  3. Download the Activity Log CSV and explore the available data.

Additional Resources

Our consulting company has been hired to create a new version of the website and associated sql backend for an non-profit charity. As the Azure infrastructure engineer, we've been tasked with creating a website connected to the Internet so the developers can upload the website files and SQL table to store donor data for an upcoming event.

The Azure quickstart template to complete this lab can be found at the link below.

Reference

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout
Sign In
Welcome Back!
Thanks for reaching out!

You’ll hear from us shortly. In the meantime, why not check out what our customers have to say about ACG?