- Microsoft Azure subscription must be pay-as-you-go or MSDN
- Trial subscriptions will not work
- A machine with the following software:
- Visual Studio 2017 Community edition or greater
- SQL Server Management Studio 2017
- Power BI Desktop
- To ensure you can begin the course delivery on-time, you must take the following step at least 5-hours prior to the course start time:
- Run the Azure resource template — The Application Service Environment can take more than 90-minutes to create.
Before the hands-on lab
Duration: 30 minutes
Synopsis: In this exercise, you will set up your environment for use in the rest of the hands-on lab. You should follow all the steps provided in the Before the Hands-on Lab section to prepare your environment before attending the workshop.
Task 1: Download GitHub resources (Jump machine)
In this task, you will download the Azure Resource Manager (ARM) template required to setup this lab from a GitHub repository.
- Open a browser window to the cloud workshop GitHub repository (https://github.com/givenscj/mcw-securing-paas).
- Select Clone or download, then select Download Zip.
- Extract the zip file to your local machine, be sure to keep note of where you have extracted the files.
Task 2: Deploy resources (virtual machine, etc.) to Azure
In this task, you will run the ARM template downloaded in the previous task in the Azure portal to provision the resources you will be using throughout this hands-on lab.
- In a browser, open the Azure Portal.
NOTE: If prompted, select Maybe Later.
- Select Resource groups from the left-hand navigation menu, then select +Add.
- Enter a resource group name, such as paassecurity-[your initials or first name].
- Select Create.
- Select Refresh to see your new resource group displayed and select it.
- Select Automation Script.
- Select Deploy.
- Select Build your own template in the editor.
- In the extracted folder, open the \AzureTemplate\azure-deploy.json.
- Copy and paste it into the window.
- Select Save, you will see the dialog with the input parameters. Fill out the form:a. Subscription: Select your subscription.
b. Resource group: Use an existing Resource group or create a new one by entering a unique name, such as paassecurity-[your initials or first name].
c. Location: Select a location for the Resource group. Recommend using East US, East US 2, West Central US, or West US 2.
d. Modify the parameters to be something unique by replacing with your initials or something similar.
e. Fill in the remaining parameters, but if you change anything be sure to note it for future reference throughout the lab.
f. Be sure your resource group location matches the location you select in the settings window
NOTE: This field and matching is due to a limitation of the resource templates not resolving the resource group location for some template types.
- Check the I agree to the terms and conditions stated above checkbox.
- Select Purchase.
- The deployment will take about 90 minutes to complete. To view the progress, select the Deployments link.
- As part of the deployment, you will see the following items created:
- App Service Environment v2
- Virtual Networks and Machines
- Cosmos DB
- Azure SQL Server and Databases
- Application Gateway with Firewall
- See Appendix A for detailed steps on creating these components without using an ARM template.
Task 3: Download GitHub resources (Jump machine)
In this task, you will log into the lab VM that was created by the ARM template you executed in the previous task and download the GitHub resources needed to complete this hands-on lab.
- Login to the paassecurity-vm-jump virtual machine.a. Select Virtual machines.
b. Select paassecurity-vm-jump.
c. Select Connect.
d. Select to open the RDP connection.
e. Enter the VM credentials (wsadmin — p@ssword1rocks).
f. Select Connect.
- Once logged in, launch the Server Manager. This should start automatically, but you can access it via the Start menu if it does not start.
- Select Local Server, the select On next to IE Enhanced Security Configuration.
- In the Internet Explorer Enhanced Security Configuration dialog, select Off under Administrators, then select OK.
- Close the Server Manager.
- Repeat the steps you completed in Task 1 to download or copy the GitHub folders to the virtual machine.
Task 4: Install SQL Server Management Studio
In this task, you will install SQL Server Management Studio (SSMS) on your Jump machine VM.
- On your jump machine VM, open a web browser and navigate to https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms.
- Select Download SQL Server Management Studio 17.x.
- Run the downloaded installer.
- On the Welcome screen, select Install.
- Close the SSMS installer once setup is completed and restart the VM to complete the installation of SSMS.
Task 5: Install Fiddler
In this task, you will download and install Fiddler, which will enable you to watch network traffic from your lab VM.
- In a web browser, navigate to https://www.telerik.com/download/fiddler.
- Complete the form, accepting the license agreement, and select Download for Windows.
- Run the download installer, accepting all the default values.
- Close the installer when completed.
Task 6: Install Power BI Desktop
Below, you will install Power BI on the jump VM, which will be used in Exercise 8.
- In a web browser on you jump VM navigate to the Power BI Desktop download page (https://powerbi.microsoft.com/en-us/desktop/).
- Select the Download Free link in the middle of the page.
- Run the installer.
- Select Next on the welcome screen.
- Accept the license agreement, and select Next.
- Leave the default destination folder, and select Next.
- Make sure the Create a desktop shortcut box is checked, and select Install.
- Uncheck Launch Microsoft Power BI Desktop, and select Finish.