You are on page 1of 3

Migrating Application

Workloads to Azure
Dia #1
Index
Task 1: Deploy the on-premises environment .................................................................................. 3
Task 2: Verify the on-premises environment .................................................................................... 3

Caminho para Dominar Cloud Computing


Before the hands-on lab
Duration: 1 hour 15 minutes

Task 1: Deploy the on-premises environment


1. Deploy the template SmartHotelHost.json to a new resource group. This template deploys a
virtual machine running nested Hyper-V, with 4 nested VMs. This comprises the ‘on-premises’
environment which you will assess and migrate during this lab.

You can deploy the template by selecting the ‘Deploy to Azure’ button below. You will need to
create a new resource group. The suggested resource group name to use is
SmartHotelHostRG. You will also need to select a location close to you to deploy the
template to and agree to the terms and conditions. Then choose Purchase.

Note: The template will take around 6-7 minutes to deploy. Once template deployment
is complete, several additional scripts are executed to bootstrap the lab environment. Allow
at least 1 hour 15 minutes from the start of template deployment for the scripts to
run.

Task 2: Verify the on-premises environment


1. Navigate to the SmartHotelHost VM that was deployed by the template in the previous step.

2. Make a note of the public IP address.

3. Open a browser tab, and navigate to http://<SmartHotelHostIP-Address>. You should see


the SmartHotel application, which is running on nested VMs within Hyper-V on the
SmartHotelHost. (The application doesn’t do much: you can refresh the page to see the list of
guests or select ‘CheckIn’ or ‘CheckOut’ to toggle their status.)

Browser screenshot showing the SmartHotel application.


Note: If the SmartHotel application is not shown, wait 10 minutes and try again. It takes
at least 1 hour 15 minutes from the start of template deployment. You can also check
the CPU, network and disk activity levels for the SmartHotelHost VM in the Azure
portal, to see if the provisioning is still active.

You should follow all steps provided before performing the Hands-on lab.

You might also like