-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aliyun-cli create encrypted system disk #617
Comments
Add --force at the end of the command. |
@TsinghuaDream, thers is no such option "--force" in CreateInstance options: Can you show the full command example? |
aliyun ecs CreateInstance --{parameterName} {parameterValue} ... --force |
@TsinghuaDream, I used the following command with "force", still no success - created system disk is not encrypted.
|
aliyun-cli version 3.0.149
Need to create ECS instance with encrypted system disk. Default service CMK is suitable for my purposes.
There is only the DataDisk encryption is described in API reference for CreateInstance operation. The same options for SystemDisk are not available.
https://www.alibabacloud.com/help/en/elastic-compute-service/latest/createinstance
How can I encrypt a system disk using ECS API?
The text was updated successfully, but these errors were encountered: