Create Encrypted Images in Azure

65 views
Skip to first unread message

Matthew

unread,
Apr 2, 2019, 4:23:32 PM4/2/19
to Packer
Hi,

I'm new to Packer and wondering about approaches to create encrypted images in Azure. If encrypting by Packer is not possible, would encrypting the image after Packer finishes be the best option?

Thanks!
Matthew

Justin DynamicD

unread,
Apr 2, 2019, 6:20:53 PM4/2/19
to Packer
So we have to be careful in clarifying what kind of encryption you're asking for.  In Azure (unlike in AWS) "Azure Disk Encryption" is OS aware and leverages bitlocker/DM-Crypt.  These get generated after the system is booted and thus have limitations on the source image being encrypted:


Most of it is around Linux, but still, should be aware of that limitation.  Generally I find it's easiest to simply enable the encryption during deployment rather than during packaging.
Reply all
Reply to author
Forward
0 new messages