coreos / coreos/coreos-assembler

Add confidential VM support on Azure

Open
#3,608 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
393
Forks
193
Avg merge
17h 6m
Merged PRs (30d)
5

Description

Feature Request

Feature link: https://issues.redhat.com/browse/OCPSTRAT-366

Desired Feature

Confidential VMs provide protection to data-in-use by encryption the VM memory with keys that Azure doesn't have access to. Those VMs can also be attested by the user.

See Azure Confidential Computing for more details.

Create Confidential VM on Azure using kola, and run tests.

Example Usage

Command like:

cosa kola run --build=38.20230911.20.0 --arch=x86_64 -p=azure --azure-credentials **** --azure-location eastus --azure-disk-uri xxx --security-type ConfidentialVM --size Standard_DC2as_v5 basic

The ConfidentialVM type includes

secureBoot: Enabled
virtualizedTrustedPlatformModule: Enabled
osDisk:
  securityProfile:
    securityEncryptionType: VMGuestStateOnly

Other Information

See :
https://github.com/kubernetes-sigs/cluster-api-provider-azure/issues/3264
https://github.com/openshift/api/pull/1403

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Azure support used by kola and review how the existing security type and VM options are passed through. Run the example command and related kola tests; done means a Confidential VM can be created on Azure with the stated security settings and the tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, go
Domain
cloud, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.