Skip to main content

Azure

Polaris offers an official Terraform module for deploying on Microsoft Azure. This module provisions confidential computing containers in Azure Container Instances (ACI).

For Polaris deployments, the Key Vault integration should be disabled:

enable_key_vault = false

Accessing the Module

The module is available on the Terraform Registry:

Terraform Registry - Fr0ntierX/polaris/azure

module "polaris" {
source = "Fr0ntierX/polaris/azure"

subscription_id = "your-subscription-id"

name = "polaris-standard"
location = "West Europe"

# Polaris Configuration
enable_key_vault = false

# Container Resources
container_memory = 4
container_cpu = 2

# Networking Configuration
networking_type = "Public"
new_vnet_enabled = true
dns_name_label = "polaris-standard-app"

# Polaris Proxy Configuration
polaris_proxy_enable_input_encryption = true
polaris_proxy_enable_output_encryption = true
polaris_proxy_enable_cors = true
polaris_proxy_enable_logging = true

# Workload Configuration
workload_image = "your-registry.azurecr.io/your-workload:latest"
workload_port = 8000
}

Available Features

FeatureDescription
Confidential ComputingAzure Container Instances with confidential computing support
Ephemeral KeysKeys generated at runtime, not persisted
Flexible NetworkingSupport for both public and private networking options

Learn More

For detailed configuration options and usage examples, refer to: