Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jaykul/simplevmprovisioning
Provisioning a secure VM or two...
https://github.com/jaykul/simplevmprovisioning
Last synced: 25 days ago
JSON representation
Provisioning a secure VM or two...
- Host: GitHub
- URL: https://github.com/jaykul/simplevmprovisioning
- Owner: Jaykul
- Created: 2019-02-26T18:31:58.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-28T17:36:03.000Z (almost 6 years ago)
- Last Synced: 2024-10-28T10:20:21.032Z (2 months ago)
- Language: PowerShell
- Size: 12.7 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
This is an attempt to uncover and document the simplest way to create encrypted VMs in Azure using the new 2.2 version of DiskEncryption which isn't well documented.
You should be able to create a new ResourceGroup containing a KeyVault for Disk Encryption keys, and a single VM, by just running the deployment. Currently, by running the deploy script. Assuming you are already logged in to the account _and Environment_ where you want to deploy, you just need to first define:
- Your VM local administrator `$Credential`
- Your Azure `$SubscriptionId`
- Your preferred Azure `$Location````PowerShell
deploy.ps1 -SubscriptionId $SubscriptionId -ResourceGroupName EncryptionSpike -ResourceGroupLocation $Location -DeploymentName comments -VirtualMachineName First -VmAdminCredential $Credential
```