Skip to content

Instantly share code, notes, and snippets.

@stephenlauck
Last active May 2, 2024 06:54
Show Gist options
  • Save stephenlauck/c3310f90dab8b5742851ea85ea4ad76e to your computer and use it in GitHub Desktop.
Save stephenlauck/c3310f90dab8b5742851ea85ea4ad76e to your computer and use it in GitHub Desktop.
silk notes

build silk flex

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://away.spellcaster.sh/spells/silk-azure?format=powershell'))

@stephenlauck
Copy link
Author

stephenlauck commented May 2, 2024

# get offers az vm image list-offers --location westus --publisher silk --output table`

az vm image list --location westus --publisher silk --offer silk_cloud_data_platform_image_byol --all

@stephenlauck
Copy link
Author

az vm image show --location westus --urn silk:silk_cloud_data_platform_image_byol:silk_cloud_data_image_byol:1.70.20

@stephenlauck
Copy link
Author

stephenlauck commented May 2, 2024

(az vm image terms show --urn silk:silk_cloud_data_platform_image_byol:silk_cloud_data_image_byol:1.70.20 --query "accepted") -eq $True

az vm image terms accept --urn silk:silk_cloud_data_platform_image_byol:silk_cloud_data_image_byol:1.70.20

@stephenlauck
Copy link
Author

stephenlauck commented May 2, 2024

az group show --name silk-resource-group

az group create --name silk-resource-group --location westus2

@stephenlauck
Copy link
Author

stephenlauck commented May 2, 2024

az vm show --resource-group silk-resource-group --name silk-flex-vm -d

az vm create --resource-group silk-resource-group --name silk-flex-vm --admin-username silkadmin --generate-ssh-keys --image silk:silk_cloud_data_platform_image_byol:silk_cloud_data_image_byol:1.70.20 --plan-name silk_cloud_data_image_byol --plan-product silk_cloud_data_platform_image_byol --plan-publisher silk

@stephenlauck
Copy link
Author

stephenlauck commented May 2, 2024

cleanup

az vm delete --resource-group silk-resource-group --name silk-flex-vm --yes; az group delete --name silk-resource-group --yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment