This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
heat-windows [2014/02/10 14:14] admin [Password-less authentication] |
heat-windows [2014/04/14 22:23] (current) admin |
||
---|---|---|---|
Line 72: | Line 72: | ||
A partial solution for avoiding the need to specify clear text passwords as template parameters is to deploy a keypair in the instance, use the public key to encrypt the sensitive data and subsequently the private key during user data script execution for decryption. The main security limit of this option is that all instances of a given image will share the same keypair. | A partial solution for avoiding the need to specify clear text passwords as template parameters is to deploy a keypair in the instance, use the public key to encrypt the sensitive data and subsequently the private key during user data script execution for decryption. The main security limit of this option is that all instances of a given image will share the same keypair. | ||
+ | |||
+ | ==== Volumes ==== | ||
+ | |||
+ | New volumes are attached unpartitioned, | ||
+ | A new volume must be set online, initialized and partitioned. New partitions need also to be formatted and if necessary a drive letter can be assigned as well. | ||
+ | |||
+ | The following example performs all the required activities, including assigning the " | ||
+ | |||
+ | <code powershell> | ||
+ | $d = Get-Disk | where {$_.OperationalStatus -eq " | ||
+ | $d | Set-Disk -IsOffline $false | ||
+ | $d | Initialize-Disk -PartitionStyle MBR | ||
+ | $p = $d | New-Partition -UseMaximumSize -DriveLetter " | ||
+ | $p | Format-Volume -FileSystem NTFS -NewFileSystemLabel " | ||
+ | </ | ||
==== Install ISOs ==== | ==== Install ISOs ==== |