Skip to content

Commit ea08855

Browse files
committed
Update dictionary.md
1 parent c869aea commit ea08855

1 file changed

Lines changed: 52 additions & 0 deletions

File tree

docs/dictionary.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,58 @@ Streams guarantee every document gets processed.
207207

208208
---
209209

210+
## Azure CLI Commands
211+
212+
### Check What's Running
213+
```bash
214+
# List all resource groups
215+
az group list -o table
216+
217+
# List all resources in a resource group
218+
az resource list -g DocumentStream -o table
219+
```
220+
221+
### AKS Cluster (Start / Stop)
222+
The AKS node VMs are the biggest cost. Stopping the cluster deallocates the VMs and stops
223+
compute billing. Storage (disks, IPs) still costs a small amount while stopped.
224+
225+
```bash
226+
# Check if the cluster is running
227+
az aks show -g DocumentStream -n DocumentStreamManagedCluster --query "powerState" -o tsv
228+
229+
# Stop the cluster (saves ~$3-4/day)
230+
az aks stop -g DocumentStream -n DocumentStreamManagedCluster
231+
232+
# Start the cluster (takes a few minutes)
233+
az aks start -g DocumentStream -n DocumentStreamManagedCluster
234+
```
235+
236+
### PostgreSQL Flexible Server (Start / Stop)
237+
```bash
238+
# Check status
239+
az postgres flexible-server show -g DocumentStream -n <server-name> --query "state" -o tsv
240+
241+
# Stop (only pays for storage while stopped)
242+
az postgres flexible-server stop -g DocumentStream -n <server-name>
243+
244+
# Start
245+
az postgres flexible-server start -g DocumentStream -n <server-name>
246+
```
247+
248+
### Cost Awareness
249+
| Resource | Running cost | Stopped cost |
250+
|---|---|---|
251+
| AKS (3x Standard_B2ms) | ~$3-4/day | ~$0.30/day (disks) |
252+
| PostgreSQL (Burstable B1ms) | ~$0.50/day | ~$0.01/day (storage) |
253+
| ACR (Basic tier) | ~$0.17/day | ~$0.17/day |
254+
| Blob Storage | Pennies | Pennies |
255+
| Static public IPs | ~$0.12/day | ~$0.12/day |
256+
257+
**Rule of thumb:** Stop AKS and PostgreSQL when not actively working. Start them 5-10 minutes
258+
before you need them.
259+
260+
---
261+
210262
## Semantic Classification Concepts
211263

212264
### Vector Embedding

0 commit comments

Comments
 (0)