Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 2.72 KB

02-student-modify_and_redeploy.md

File metadata and controls

40 lines (24 loc) · 2.72 KB

Challenge 2: Modify the application

Introduction

In this challenge, you will change the type of VM from Windows Server to Ubuntu, add a storage account to your application, and redeploy the application.

Description

  1. Now you need to update the createUiDefinition.json file to create an installation experience that prompts the user for details needed to create an Azure Storage account. The values gathered will be input into the ARM template as parameters at install time.

Note: At any point in editing the createUiDefinition.json file, consider using the Create UI Definition sandbox in the Azure portal to check your sytax and functionality.

  1. In your ARM template (mainTemplate.json) in the parameters section add the required parameters.

  2. In your ARM template make changes to create an Ubuntu image instead of Windows Server. Remember about SSH port.

  3. In your ARM template add a new section to create a storage account.

  4. Download a tool used in testing ARM templates and use it to test your mainTemplate.json and createUiDefinition.json files. Fix any errors reported by the tool.

    ARM template test toolkit - Azure Resource Manager

  5. Package your new application and publish it in Service Catalog as a separate managed application.

  6. Once the deployment is complete check that your Ubuntu virtual machine is up and running. After verifying, you may shut down the machine so you won’t be charged for VM uptime.

Success Criteria

  1. Your files pass the Template Test Toolkit without any errors.
  2. You have a new resource group with your updated Managed Application deployed in Service Catalog.
  3. The new Managed Application contains a storage account.
  4. You can successfully SSH into your new Ubuntu virtual machine.

Learning Resources