Azure Disk Encryption-Part 1 (ARM Template)
Azure Disk Encryption Dev-Lab

Azure Disk Encryption-Part 1 (ARM Template)

Greeting Readers!

Security is one of the most important aspect when it comes to moving your workloads in to Public cloud. Microsoft Azure provides many tools to secure your infrastructure including Encryption at rest. Today I'm going to talk about Azure Disk Encryption(ADE) the technologies which provides volume level encryption at rest. Azure Disk Encryption(ADE) makes use of Bit-Locker for Windows VM and DM-Crypt Linux VM machines. ADE works in conjunction with Azure Key vault and Azure AD. ADE can be enabled in various ways: a. From Azure portal, using ARM Template b. From Powershel c. From Azure Cli.

This is part 1 of article and will cover:

  1. How to enable ADE with ARM template.
  2. How to disable ADE.

In Part 2, I'll cover enabling ADE with help of Powershell.

I posted a video blog, which covers both the scenarios. Please watch it to see things in action.


Before you can enable ADE on VMs, let's understand some of the basic requirements.

  • Basic Tier Vms are not supported for ADE and you will require to choose Standard Tier VMs.
  • Azure Key Vault: ADE requires that your key vault and VMs reside in the same Azure region and subscription.
  • ADE on Boot Volume must be turned on before ADE on Data Volume can be turned on.
  • The storage account to store the encrypted OS VHD and VM(Compute) must be created in the same resource group and same location.

After you ensured that you met the basic requirements of ADE, please proceed to perform following steps to enable ADE on an existing running Windows VM with help of ARM Template. 

  1. Have a Standard tier VM provisioned with a data disk attached to it. 
  2. Register an Azure AD application through classic portal and populate: User friendly App name, Sign-on URL, App ID URI
  3. Next make a note of Client ID and Application Key(A new key to be generated). You'll need this when deploying ADE ARM template from GitHub. 
  4. Next create an Azure Key Vault(AKV) to store Bitlocker keys.
  5. Assign following permissions on AKV to Application registered in Step 2. 

a. Enable AKV to be used for disk encryption.

b. Key Permissions-> Under Cryptographic Operations, Wrap Key

c. Secret Permissions-> Under Secret Management Operations, SET

6. Finally, deploy the ADE ARM template from GitHub.

References:

Preyash Vrat ? Practice Director, Google Practice Ex IBM, Capgemini, Accenture and HCL

20K Followers, Community Contributor, YouTuber and Microsoft Certified Trainer

7 年

Amazing initiative and very practical waynitiative.

回复
Sheik Rasool

Cloud Consultant | M365 | Directory Services | Email Security | Free Lance | Sentinel | Cloud Security | VA | Azure | AWS | AZ-500 | MS-500 | SC-900 | SC-400 | SC-300 | SC-200 | AZ-400 | AZ-900 | AZ-700 | AZ-104 | MS-203

7 年

Great..Newthing learned today

Shibin Chandra Ayikal

Gen AI | Cloud Solutions Architect, SVP at AlixPartners

7 年

Thanks much Niraj. Definitely helpful.

Bobby Augustine

Wharton Executive Education's Leadership Program in AI & Analytics

7 年

Very interesting topic that relates to latest IT requirements . Also very informative . Keep posting ??

Diwakar Kumar

Lync / Skype for Business Server / Teams / Office 365 Specialist

7 年

Found very informative. Simple to read and understandable ?? Much Appreciated this initiative

要查看或添加评论,请登录

Niraj Kumar的更多文章

  • Generative AI and the Automotive Industry: A Roadmap for Innovation and Impact

    Generative AI and the Automotive Industry: A Roadmap for Innovation and Impact

    Generative AI is a branch of artificial intelligence that can create new content, such as text, images, video, and…

    3 条评论
  • Generative AI: A New Frontier for Innovation

    Generative AI: A New Frontier for Innovation

    Introduction to Generative AI and Objections Artificial intelligence (AI) is transforming the world in unprecedented…

    1 条评论
  • Balancing the Technical and Showcasing Skills for Career Success

    Balancing the Technical and Showcasing Skills for Career Success

    As professionals, we all strive to become the best versions of ourselves in our careers and it’s essential to showcase…

    2 条评论
  • AzureTalk: AMAQ(Ask Me Any Question)

    AzureTalk: AMAQ(Ask Me Any Question)

    Hi Readers, I conducted an online session in a series of sessions as part of AzureTalk and this time I decided to take…

    3 条评论
  • AzureTalk: Azure Networking, ExpressRoute

    AzureTalk: Azure Networking, ExpressRoute

    Dear Readers, I conducted an online session in a series of sessions as part of AzureTalk and covered "Azure…

    1 条评论
  • AzureTalk: Azure Networking Part 2

    AzureTalk: Azure Networking Part 2

    Dear Readers, I conducted an online session in a series of sessions as part of AzureTalk and covered "Azure Networking"…

  • AzureTalk: Azure Networking Part 1

    AzureTalk: Azure Networking Part 1

    Dear Readers, I conducted an online session in a series of sessions as part of AzureTalk and covered "Azure…

    1 条评论
  • Azure Talk: Azure Access Panel

    Azure Talk: Azure Access Panel

    Dear Readers, I conducted an online session in a series of sessions as part of Azure Talk and covered "Azure Access…

    2 条评论
  • Azure Talk: Azure AD Premium

    Azure Talk: Azure AD Premium

    Dear Readers, I conducted an online session in a series of sessions as part of Azure Talk and covered "Azure AD…

    3 条评论
  • Azure Talk: Managed Domain Service, Azure AD DS

    Azure Talk: Managed Domain Service, Azure AD DS

    Dear Readers, I conducted an online session in a series of sessions as part of Azure Talk and covered Azure IAM: Azure…

    2 条评论

社区洞察

其他会员也浏览了