AZ-104Hands-on lab50 min
Module lab — Container Instances in depth: sidecars, Azure Files, secrets, restart policies and VNet injection
لاب الدرس — Container Instances بالتفصيل: الـ Sidecars و Azure Files والأسرار والـ Restart policies والـ VNet injection
Fabrikam runs several small workloads on Azure Container Instances in rg-x4-aci : a public web app with a log-shipping sidecar, a reporting container that writes to the Azure file share reports (storage account stx4acilab01 ) and reads an API key that must never be visible, two batch jobs with different restart policies, and an internal API that may only be reached from inside vnet-aci (test VM vm-test01 in snet-vm , empty subnet snet-aci ). A ready-made YAML file grp-web.yaml is in your Cloud Shell home.
The 6 tasks you will do
- Task 1 — Deploy a multi-container group from YAMLالمهمة 1 — انشر Container group فيه أكتر من Container من YAML
- Task 2 — Prove the sidecar shares the network and the emptyDir volumeالمهمة 2 — اثبت إن الـ Sidecar شايف نفس الشبكة ونفس الـ emptyDir
- Task 3 — Mount the Azure file share and pass a secure environment variableالمهمة 3 — اعمل Mount للـ Azure file share وابعت Secure environment variable
- Task 4 — Restart policies and exit codesالمهمة 4 — الـ Restart policies والـ Exit codes
- Task 5 — A private (VNet-injected) container groupالمهمة 5 — Container group خاص (VNet-injected)
- Task 6 — Export the group definition safely and stop what is idleالمهمة 6 — اعمل Export لتعريف الـ Group بأمان ووقّف اللي مش شغال