- Lab
- A Cloud Guru
Create a Managed Identity
Automation and Security go hand-in-hand in the Cloud services of today, and securely representing Azure Resources to the Authentication services that validate them is a common requirement. In this hands-on lab, engineers create a User Assigned Managed Identity, deploy a virtual machine member server to Azure, and then attach the Managed Identity to it. In addition to utilizing the User Assigned Identity, a System Assigned Identity will also be enabled to demonstrate automation at work.
Path Info
Table of Contents
-
Challenge
Create a User Assigned Managed Identity
Create a User Assigned Managed Identity with the name of MythicalUAMI001. When creating it, use
West US
when asked a location and a resource group; it should be the only available option. -
Challenge
Create and Deploy a Virtual Machine
Note: Use 'West US' when asked location and asked for a resource group; the only available option.
Deploy a VM:
- The VM name can be anything (MythicalVM001 in this example)
- The VM should be imaged with Windows Server 2019.
- The VM Size should be
B2ms
. - Username/Password can be anything (mythicaladmin and Crystal1Montana! in this example).
- Change Public Inbound Ports to 'None'.
- Set NIC NSG to
Advanced
. - Set Boot Diagnostics to
Off
.
-
Challenge
Associate UAMI and enable SAMI
Navigate back to your Virtual Machine, then scroll down to the Identity link on the left-hand menu. Click Identity. There, attach the User assigned managed identity. Then enable System assigned managed identity.
What's a lab?
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.