Azure Integration

πŸš€ High-Performance Cloud Development Workspace

Provision an 8 vCPU / 32 GB RAM cloud workspace in South India silently with Git, Python 3.13+, Antigravity, and Cursor IDE.

πŸ“… Workshop Cost & Safety Disclosures


πŸ› οΈ Phase 1: Initialize the Azure Cloud Shell

  1. Log into your Azure Portal.
  2. Open the Azure Cloud Shell by clicking the >_ terminal icon in the top right utility bar (or visit azure.com).
  3. Select Bash if prompted to choose an environment flavor.
  4. Copy and paste the common setup commands below to build the foundational environment.
# Define your regional target (South India / Chennai Datacenter)
LOCATION="southindia"
RESOURCE_GROUP="RG-Dev-SouthIndia"

# Create the foundational resource group container
az group create --name $RESOURCE_GROUP --location $LOCATION

πŸ’» Phase 2: Choose and Deploy Your Virtual Machine

Choose ONLY ONE of the following options based on your operating system flavor preference.

Option A: Fully Automated Windows 11 Workspace

⚠️ CRITICAL: Change MySecurePassword123! to a secure custom password before hitting Enter!

# 1. Provision the 32GB RAM Windows 11 Pro VM with Premium SSD Storage
az vm create \
  --resource-group RG-Dev-SouthIndia \
  --name CursorWinDevBox \
  --image MicrosoftWindowsDesktop:windows-11:win11-23h2-pro:latest \
  --size Standard_D8as_v5 \
  --storage-sku Premium_LRS \
  --admin-username cloudadmin \
  --admin-password "MySecurePassword123!" \
  --authentication-type password \
  --public-ip-sku Standard

# 2. Open network firewall port 3389 for native Windows RDP access
az vm open-port --resource-group RG-Dev-SouthIndia --name CursorWinDevBox --port 3389

# 3. Automate Software Installation (Git, Python 3.13, Cursor, Antigravity)
az vm run-command invoke \
  --resource-group RG-Dev-SouthIndia \
  --name CursorWinDevBox \
  --command-id RunPowerShellScript \
  --scripts "
    winget install --id Git.Git -e --silent --accept-source-agreements --accept-package-agreements
    winget install --id Python.Python.3.13 -e --silent --accept-source-agreements --accept-package-agreements
    winget install --id Anysphere.Cursor -e --silent --accept-source-agreements --accept-package-agreements
    & 'C:\Program Files\Python313\python.exe' -m pip install antigravity
  "

# 4. Fetch your Public IP Address connection target
az vm list-ip-addresses --resource-group RG-Dev-SouthIndia --name CursorWinDevBox --output table

Option B: Fully Automated Ubuntu Linux Workspace

⚠️ CRITICAL: Change MySecurePassword123! to a secure custom password before hitting Enter!

# 1. Define the cloud-init software automation block
cat << 'EOF' > cloud-init.sh
#!/bin/bash
export DEBIAN_FRONTEND=noninteractive
apt-get update && apt-get upgrade -y
apt-get install -y software-properties-common
add-apt-repository -y ppa:deadsnakes/ppa
apt-get update
apt-get install -y xfce4 xfce4-goodies xrdp git python3.13 python3.13-venv python3-pip
adduser xrdp ssl-cert
echo "xfce4-session" > /etc/skel/.xsession
systemctl restart xrdp
wget -O cursor.deb "https://cursor.sh"
apt-get install -y ./cursor.deb
rm cursor.deb
python3.13 -m pip install --break-system-packages antigravity
EOF

# 2. Provision the 32GB RAM Ubuntu VM injecting the automation block
az vm create \
  --resource-group RG-Dev-SouthIndia \
  --name CursorLinuxDevBox \
  --image Canonical:ubuntu-24_04-lts:server-gen2:latest \
  --size Standard_D8as_v5 \
  --storage-sku Premium_LRS \
  --admin-username devadmin \
  --admin-password "MySecurePassword123!" \
  --authentication-type password \
  --public-ip-sku Standard \
  --user-data @cloud-init.sh

# 3. Open network firewall port 3389 for standard Remote Desktop access
az vm open-port --resource-group RG-Dev-SouthIndia --name CursorLinuxDevBox --port 3389

# 4. Fetch your Public IP Address connection target
az vm list-ip-addresses --resource-group RG-Dev-SouthIndia --name CursorLinuxDevBox --output table

πŸ–₯️ Phase 3: How to Connect to Your VM

πŸͺŸ Connecting from a Local Windows Client

  1. Launch Remote Desktop Connection.
  2. Paste the Public IP Address and click Connect.
  3. Log in using defined credentials:
    • Windows Username: cloudadmin
    • Ubuntu Linux Username: devadmin

🍏 Connecting from a Local macOS Client

  1. Install Microsoft Remote Desktop from App Store.
  2. Click Add PC and paste the Public IP Address.
  3. Add User Account with your credentials and double-click to connect.

βœ… Phase 4: Verification Checkpoints

1. Verify Git Installation

git --version

2. Verify Python 3.13+ Installation

python3.13 --version

3. Verify Antigravity Installation

python3.13 -c "import antigravity"

🧹 Phase 5: Total Cleanup

Run this at the end of the week to ensure no remaining resources continue consuming credits.

az group delete --name RG-Dev-SouthIndia --yes --no-wait