File tree Expand file tree Collapse file tree 7 files changed +10
-20
lines changed
Expand file tree Collapse file tree 7 files changed +10
-20
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,9 @@ gcloud compute instances create gcp-builder \
2828 '
2929
3030# For Azure:
31+ az group create --location eastus --resource-group eastus-group
3132az vm create \
32- --resource-group tdx -group \
33+ --resource-group eastus -group \
3334 --name azure-builder \
3435 --image Canonical:ubuntu-24_04-lts:server:latest \
3536 --size Standard_D4s_v3 \
@@ -45,7 +46,7 @@ SSH into the VM:
4546gcloud compute ssh gcp-builder
4647
4748# For Azure:
48- az ssh vm --resource-group tdx -group --name azure-builder --local-user azureuser
49+ az ssh vm --resource-group eastus -group --name azure-builder --local-user azureuser
4950```
5051
5152For Azure, grant /dev/kvm permissions to the current user:
Original file line number Diff line number Diff line change @@ -8,17 +8,6 @@ your application. Code running inside cannot be observed or tampered
88with by the cloud provider. Clients can cryptographically verify
99they're talking to your exact code via remote attestation.
1010
11- Compared to TDX, SEV-SNP is a earlier generation technology that has
12- been in general availability for longer (~ 3-4 years vs. ~ 1-2 years).
13- It is available on more platforms (including Google Cloud, AWS, Azure)
14- and has better support for using sealing keys to persisting data.
15-
16- Tradeoffs include weaker isolation at the hypervisor level, and thus,
17- a lessened security posture against malicious cloud providers.
18- However, given that neither Intel nor AMD consider hardware attacks on
19- memory encryption to be within their security model, we consider
20- SEV-SNP to be an essentially equivalent technology to Intel TDX.
21-
2211## Overview
2312
24131 . Set up a builder machine
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ elif [ -n "${GROUP:-}" ]; then
4545elif [ -f " $RESOURCE_GROUP_FILE " ]; then
4646 RESOURCE_GROUP=$( cat " $RESOURCE_GROUP_FILE " )
4747else
48- RESOURCE_GROUP=" tdx -group"
48+ RESOURCE_GROUP=" az -group"
4949fi
5050GALLERY_NAME=" tdxGallery"
5151CONTAINER_NAME=" vhds"
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ RESOURCE_GROUP_FILE=".resourcegroup"
5050if [ -f " $RESOURCE_GROUP_FILE " ]; then
5151 RESOURCE_GROUP=$( cat " $RESOURCE_GROUP_FILE " )
5252else
53- RESOURCE_GROUP=" tdx -group"
53+ RESOURCE_GROUP=" az -group"
5454fi
5555AZURE_NAME_FILE=" .vm_name_azure"
5656
Original file line number Diff line number Diff line change 1212#
1313# Prerequisites:
1414# - Azure CLI installed and logged in (az login)
15- # - Resource group 'tdx -group' exists
15+ # - Resource group 'az -group' exists, or another group is provided in .resourcegroup
1616#
1717# The script automatically creates the following resources if they don't exist:
1818# - Azure Compute Gallery 'tdxGallery'
@@ -26,7 +26,7 @@ RESOURCE_GROUP_FILE=".resourcegroup"
2626if [ -f " $RESOURCE_GROUP_FILE " ]; then
2727 RESOURCE_GROUP=$( cat " $RESOURCE_GROUP_FILE " )
2828else
29- RESOURCE_GROUP=" tdx -group"
29+ RESOURCE_GROUP=" az -group"
3030fi
3131GALLERY_NAME_FILE=" .galleryname"
3232if [ -f " $GALLERY_NAME_FILE " ]; then
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ elif [ -n "${GROUP:-}" ]; then
2929elif [ -f " $RESOURCE_GROUP_FILE " ]; then
3030 RESOURCE_GROUP=$( cat " $RESOURCE_GROUP_FILE " )
3131else
32- RESOURCE_GROUP=" tdx -group"
32+ RESOURCE_GROUP=" az -group"
3333fi
3434GALLERY_NAME=" tdxGallery"
3535CONTAINER_NAME=" vhds"
Original file line number Diff line number Diff line change 1212#
1313# Prerequisites:
1414# - Azure CLI installed and logged in (az login)
15- # - Resource group 'tdx -group' exists
15+ # - Resource group 'az -group' exists, or another group is provided in .resourcegroup
1616# - The VM to redeploy exists
1717#
1818# Arguments:
@@ -34,7 +34,7 @@ RESOURCE_GROUP_FILE=".resourcegroup"
3434if [ -f " $RESOURCE_GROUP_FILE " ]; then
3535 RESOURCE_GROUP=$( cat " $RESOURCE_GROUP_FILE " )
3636else
37- RESOURCE_GROUP=" tdx -group"
37+ RESOURCE_GROUP=" az -group"
3838fi
3939GALLERY_NAME_FILE=" .galleryname"
4040if [ -f " $GALLERY_NAME_FILE " ]; then
You can’t perform that action at this time.
0 commit comments