# Azure DCdsv3, DCsv2, or DCsv3 Setup

{% hint style="info" %}
[**Note**](https://learn.microsoft.com/en-us/azure/confidential-computing/virtual-machine-solutions-sgx#azure-subscription): When deploying a confidential computing VM instance, exploring options such as pay-as-you-go subscriptions or alternative purchase methods is advisable. It is important to note that Azure free or student subscriptions do not offer an adequate quota of Azure compute cores required for the deployment.
{% endhint %}

To proceed with creating an Azure Confidential Computing virtual machine, follow these steps:

1. Navigate to the [Create a virtual machine](https://portal.azure.com/#create/Microsoft.VirtualMachine) page.
2. Choose a region that offers the availability of DCdsv3, DCsv2, or DCsv3 series instances. You can check the availability of Azure products by region [on this page](https://azure.microsoft.com/en-gb/explore/global-infrastructure/products-by-region/?products=virtual-machines). We generally recommend selecting the nearest region to your location for better performance.
3. Under the <mark style="color:red;">`security type`</mark>, select <mark style="color:red;">`trusted launch virtual machines`</mark>.
4. We recommend opting for a Linux distribution with a Kernel version of 5.11 or higher for the image selection. Ensure that you choose the images that include the <mark style="color:red;">`confidential VM`</mark> option. <mark style="color:red;">`Ubuntu Server 22.04 LTS (Confidential VM)`</mark> is the minimum recommended image fitting all requirements.
5. Regarding the size of the virtual machine, it is necessary to have a minimum of 2 CPU cores for smooth Kubernetes operation. It is highly recommended to allocate a host machine with a memory size of 16 GB or more to ensure sufficient memory availability. Therefore, we suggest utilizing at least <mark style="color:red;">`DCdsv3`</mark>, <mark style="color:red;">`DC2s_v3`</mark> or <mark style="color:red;">`DC4s_v2`</mark> instances as they meet these minimum requirements.

An example of the configuration can be seen in the accompanying image below.

<figure><img src="/files/ocWfYhx6bVUX11AK9KiW" alt=""><figcaption><p>Example: Azure Confidential VM Configuration</p></figcaption></figure>

Complete the setup by either configuring the settings according to your requirements or leaving them as the default values.

Once the setup is finished, refer to the [instructions provided here](https://learn.microsoft.com/en-us/azure/virtual-machines/linux-vm-connect?tabs=Linux) to establish a connection to your virtual machine from your local machine.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.enclaive.cloud/confidential-cloud/technology-in-depth/intel-sgx/enclaive-development-kit/use-cases/azure.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
