Skip to content
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

Testing CAA + Azure with non-confidential VM documentation #1742

Open
cmaf opened this issue Mar 13, 2024 · 3 comments
Open

Testing CAA + Azure with non-confidential VM documentation #1742

cmaf opened this issue Mar 13, 2024 · 3 comments

Comments

@cmaf
Copy link
Contributor

cmaf commented Mar 13, 2024

In the steps found here, when populating the kustomization.yaml file, it is suggested for non-Confidential VMs to use AZURE_INSTANCE_SIZE="Standard_D2as_v5". This yields the following error:

RESPONSE 400: 400 Bad Request
ERROR CODE: BadRequest
--------------------------------------------------------------------------------
{
  "error": {
    "code": "BadRequest",
    "message": "The VM size 'Standard_D2as_v5' is not supported for creation of VMs and Virtual Machine Scale Set with 'ConfidentialVM' security type and managedDisk.securityProfile.securityEncryptionType set as 'VMGuestStateOnly'"
  }
}

Is there a way to modify security type and disk security encryption type?

If it matters, I'm using the following:

AZURE_REGION="eastus"
CAA_BRANCH="main"
AZURE_IMAGE_ID=/CommunityGalleries/cocopodvm-d0e4f35f-5530-4b9c-8596-112487cdea85/Images/podvm_image0/Versions/2024.03.05
CAA_TAG=e190fed408166fce6f719e29c99a6795e77f3156
@cmaf cmaf changed the title Testing CAA + Azure with non-confidential VM Testing CAA + Azure with non-confidential VM documentation Mar 14, 2024
@cmaf
Copy link
Contributor Author

cmaf commented Mar 14, 2024

Update: I was able to start a non-confidential VM by adding - DISABLECVM="true" to kustomization.yaml. It may be helpful to have this step added to that specific document.

@cmaf
Copy link
Contributor Author

cmaf commented Mar 15, 2024

Maybe @surajssd, is there somewhere I can make a request to update to documentation on the website? Where do those PRs go?

@surajssd
Copy link
Member

@cmaf docs website issues and code lives here: https://github.com/confidential-containers/confidentialcontainers.org.

What we need is a "reference documentation" about all the parameters that can be provided for each provider. The thing is the current docs act as quick start and not intended to accommodate all use-cases because that can be confusing for new people.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants