Techies Training Center - Myanmar
14/06/2026
Azure အပိုင်း(၅)
——-
🎓 Techies Training Center မှ Python, Kubernetes, Cloud Computing, Linux, Cyber Security နှင့် Oracle Database သင်တန်းများကို Video Training အဖြစ် အချိန်မရွေး လေ့လာနိုင်ပါသည်။
📩 သင်တန်းအကြောင်း အသေးစိတ်ကို page Messenger မှတဆင့် စုံစမ်းမေးမြန်းနိုင်ပါသည်။
——-
Azure Automation Account ဆိုတာ Microsoft Azure မှာရှိတဲ့ automation service တစ်ခုဖြစ်ပြီး Cloud နဲ့ On-Premises environment တွေမှာ ထပ်ခါထပ်ခါလုပ်ရတဲ့ IT tasks တွေကို အလိုအလျောက် (Automate) လုပ်ဆောင်ပေးဖို့ အသုံးပြုပါတယ်။
ဥပမာအားဖြင့် -
* VM များကို အချိန်ဇယားအတိုင်း Start/Stop လုပ်ခြင်း
* Patch Management လုပ်ခြင်း
* User Account များကို စီမံခန့်ခွဲခြင်း
* Backup Process များကို Run ခြင်း
* Resource များကို Auto Scale လုပ်ခြင်း
* Azure Service များကို Script ဖြင့် Manage လုပ်ခြင်း
Azure Automation Account ဆိုတာဘာလဲ?
Azure Automation Account ကို “Cloud-based Automation Engine” လို့ ပြောလို့ရပါတယ်။
Automation Account ထဲမှာ Scripts (Runbooks) တွေကို သိမ်းဆည်းထားပြီး Azure ကနေ Execute လုပ်ပေးပါတယ်။
Administrator
│
▼
Automation Account
│
▼
Runbooks
│
▼
Azure Resources / On-Prem Servers
Azure Automation ရဲ့ အဓိက Components
1. Automation Account
Automation Service အတွက် Container တစ်ခုလို ဖြစ်ပါတယ်။
ဒီ Account ထဲမှာ -
* Runbooks
* Modules
* Credentials
* Variables
* Schedules
* Certificates
တွေကို သိမ်းထားနိုင်ပါတယ်။
2. Runbooks
Runbook ဆိုတာ Automation Script ဖြစ်ပါတယ်။
Support လုပ်တဲ့ Runbook Types များမှာ -
Stop-AzVM -ResourceGroupName "RG-Prod" -Name "Web01" -Force
Azure VM ကို Stop လုပ်ပေးမယ့် Script ဖြစ်ပါတယ်။
PowerShell Workflow
Parallel Ex*****on တွေ လုပ်နိုင်ပါတယ်။
Python Runbook
print("Hello Azure Automation")
Python Script တွေ Run နိုင်ပါတယ်။
Graphical Runbook
Drag-and-Drop ဖြင့် Workflow တည်ဆောက်နိုင်ပါတယ်။
3. Schedule
Cron Job လိုမျိုး Runbook တွေကို Schedule ချနိုင်ပါတယ်။
ဥပမာ -
* နေ့စဉ် ည ၁၁ နာရီ VM Shutdown
* တနင်္လာနေ့တိုင်း Report Generate
* လစဉ် Patch Installation
4. Shared Resources
Credentials
Username/Password သိမ်းနိုင်သည်။
Variables
Configuration Values သိမ်းနိုင်သည်။
ဥပမာ
Environment = Production
VMName = AppServer01
Certificates
Authentication အတွက်အသုံးပြုသည်။
Connections
Azure Service Principal Connection များ။
5. Hybrid Runbook Worker
Cloud မှာမဟုတ်ဘဲ On-Premises Server ပေါ်မှာ Runbook Execute လုပ်ချင်တဲ့အခါ အသုံးပြုပါတယ်။
Architecture
Azure Automation
│
▼
Hybrid Runbook Worker
│
┌──────┴──────┐
▼ ▼
Windows Linux
Servers Servers
ဥပမာ -
* Internal SQL Backup
* On-Prem File Cleanup
* Local Application Restart
Azure Automation အသုံးများသော Use Cases
VM Auto Shutdown
Office Hours ပြီးရင် VM တွေကို Shutdown လုပ်ပြီး Cost လျှော့ချနိုင်သည်။
7 PM → Stop VM
7 AM → Start VM
Patch Management
Windows/Linux Server များကို Scheduled Patch လုပ်နိုင်သည်။
⸻
User Provisioning
Employee အသစ်ဝင်လာလျှင်
* Azure AD User Create
* License Assign
* Group Add
တွေကို Auto လုပ်နိုင်သည်
Backup Automation
Storage Backup Process များကို Scheduled Runbook ဖြင့် Run နိုင်သည်။
Resource Cleanup
Unused Resources များကို ဖျက်ပေးနိုင်သည်။
ဥပမာ
* Snapshot Cleanup
* Disk Cleanup
* Temp Resource Removal
Administrator
│
Create Runbook
│
Publish
│
Assign Schedule
│
Azure Automation Executes
│
Logs & Monitoring
Azure Automation ရဲ့ အားသာချက်များ
✅ Manual Work လျှော့ချပေးသည်။
✅ Human Error လျှော့ချပေးသည်။
✅ Azure Cost Optimization ကူညီပေးသည်။
✅ Repeatable Process ဖြစ်စေသည်။
✅ Cloud နှင့် On-Prem ကို တစ်နေရာတည်းမှ စီမံနိုင်သည်။
✅ PowerShell နှင့် Python Support ရှိသည်။
Azure Automation ရဲ့ အားသာချက်များ
✅ Manual Work လျှော့ချပေးသည်။
✅ Human Error လျှော့ချပေးသည်။
✅ Azure Cost Optimization ကူညီပေးသည်။
✅ Repeatable Process ဖြစ်စေသည်။
✅ Cloud နှင့် On-Prem ကို တစ်နေရာတည်းမှ စီမံနိုင်သည်။
✅ PowerShell နှင့် Python Support ရှိသည်။
⸻
Azure Automation ရဲ့ အားနည်းချက်များ
❌ Complex Workflow များအတွက် Logic ရေးရခက်နိုင်သည်။
❌ Debugging သည် Local Development ထက် အနည်းငယ်ခက်ခဲနိုင်သည်။
❌ Advanced Orchestration အတွက် Azure Logic Apps သို့မဟုတ် Azure Functions လိုအပ်နိုင်သည်။
12/06/2026
Container အပိုင်း(၂၄)
——-
📚 IT နည်းပညာများကို လေ့လာချင်ပါသလား?
🎓 Techies Training Center မှ
✅ Python Programming (PCAP,PCEP,PCPP1,PCPP2)
✅ Kubernetes & Cloud Computing
✅ AWS, Azure, Google Cloud, Oracle Cloud
✅ Linux System Administration
✅ Cyber Security
✅ Oracle Database Administration
သင်တန်းများကို တက်ရောက်နိုင်ပါသည်။
📩 သင်တန်း တက်ချင်ရင် Messenger မှ စုံစမ်းနိုင်ပါသည်။
———-
Kubernetes Deployment ဆိုတာဘာလဲ?
Kubernetes Deployment ဆိုတာ Application ကို Kubernetes Cluster ထဲမှာ run လုပ်ဖို့၊ update လုပ်ဖို့၊ scale လုပ်ဖို့၊ rollback ပြန်လုပ်ဖို့ အသုံးပြုတဲ့ Kubernetes Resource တစ်ခုဖြစ်ပါတယ်။
Pod ကို တိုက်ရိုက် run လုပ်မယ့်အစား Deployment ကိုသုံးခြင်းအားဖြင့် Application ကို ပိုပြီး stable ဖြစ်အောင် manage လုပ်နိုင်ပါတယ်။
⸻
Deployment ကို ဘာကြောင့်သုံးရလဲ?
Deployment က Application Management အတွက် အရေးကြီးပါတယ်။
ဥပမာ—
✅ Application ကို replica အများကြီး run လုပ်နိုင်တယ်
✅ Pod ပျက်သွားရင် အလိုအလျောက် ပြန်ဖန်တီးပေးတယ်
✅ Version အသစ် update လုပ်နိုင်တယ်
✅ Update မှားသွားရင် rollback ပြန်လုပ်နိုင်တယ်
✅ Zero-downtime deployment လုပ်နိုင်တယ်
⸻
Deployment ဘယ်လိုအလုပ်လုပ်လဲ?
Deployment က တိုက်ရိုက် Pod ကို မထိန်းချုပ်ပါဘူး။
အလုပ်လုပ်ပုံက—
Deployment
⬇
ReplicaSet
⬇
Pods
Deployment က ReplicaSet ကို create လုပ်ပါတယ်။
ReplicaSet ကတော့ Pod အရေအတွက်ကို ထိန်းပေးပါတယ်။
ဥပမာ Deployment ထဲမှာ replica 3 လို့ သတ်မှတ်ထားရင် Kubernetes က Pod 3 ခု အမြဲ run နေအောင် ထိန်းပေးပါတယ်။
Pod တစ်ခုပျက်သွားရင် Kubernetes က Pod အသစ်တစ်ခုကို အလိုအလျောက် ပြန်ဖန်တီးပေးပါတယ်။
⸻
Deployment YAML Example
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
spec:
replicas: 3
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.25
ports:
- containerPort: 80
ဒီ YAML မှာ—
* replicas: 3 ဆိုတာ Pod 3 ခု run မယ်လို့ ဆိုလိုပါတယ်။
* image: nginx:1.25 ဆိုတာ nginx version 1.25 ကိုသုံးမယ်လို့ ဆိုလိုပါတယ်။
* selector နဲ့ labels က Deployment က ဘယ် Pod တွေကို manage လုပ်မလဲဆိုတာ ချိတ်ဆက်ပေးပါတယ်။
⸻
Deployment Create လုပ်ခြင်း
kubectl apply -f deployment.yaml
Deployment စစ်ရန်—
kubectl get deployment
kubectl get rs
kubectl get pods
⸻
Scaling Deployment
Pod အရေအတွက်ကို တိုးချင်ရင်—
kubectl scale deployment nginx-deployment --replicas=5
ဒီ command က nginx Pod ကို 3 ခုကနေ 5 ခုအထိ တိုးပေးပါမယ်။
⸻
Rolling Update
Application version အသစ်ပြောင်းချင်ရင်—
kubectl set image deployment/nginx-deployment nginx=nginx:1.26
Kubernetes က Pod အဟောင်းတွေကို တဖြည်းဖြည်းဖြုတ်ပြီး Pod အသစ်တွေကို တဖြည်းဖြည်း run ပေးပါတယ်။
ဒါကြောင့် service downtime မဖြစ်အောင် ကူညီပေးပါတယ်။
⸻
Rollback ပြန်လုပ်ခြင်း
Update မှားသွားရင် history ကြည့်နိုင်ပါတယ်။
kubectl rollout history deployment/nginx-deployment
Previous version ကို rollback လုပ်ရန်—
kubectl rollout undo deployment/nginx-deployment
⸻
Deployment Strategy
Kubernetes Deployment မှာ အများဆုံးသုံးတဲ့ strategy က RollingUpdate ဖြစ်ပါတယ်။
RollingUpdate
Pod အဟောင်းတွေကို တစ်ပြိုင်နက် မဖြုတ်ဘဲ တဖြည်းဖြည်း update လုပ်ပေးပါတယ်။
ဒါကြောင့် production system တွေမှာ အများဆုံးသုံးကြပါတယ်။
Recreate
Pod အဟောင်းအားလုံးကို အရင်ဖြုတ်ပြီးမှ Pod အသစ်တွေကို run ပါတယ်။
Downtime ဖြစ်နိုင်တဲ့အတွက် production မှာ သေချာစဉ်းစားပြီးမှ သုံးသင့်ပါတယ်။
⸻
Deployment, ReplicaSet, Pod ကွာခြားချက်
Pod ဆိုတာ application container run နေတဲ့ smallest unit ဖြစ်ပါတယ်။
ReplicaSet ဆိုတာ Pod အရေအတွက်ကို ထိန်းပေးတဲ့ resource ဖြစ်ပါတယ်။
Deployment ဆိုတာ ReplicaSet နဲ့ Pod တွေကို version update, scaling, rollback အပါအဝင် manage လုပ်ပေးတဲ့ higher-level resource ဖြစ်ပါတယ်။
⸻
Real World Example
ဥပမာ Company တစ်ခုမှာ Web Application တစ်ခု run နေတယ်ဆိုပါစို့။
User တွေများလာရင် Pod 2 ခုကနေ 5 ခုအထိ scale လုပ်နိုင်ပါတယ်။
Application version အသစ် release လုပ်ချင်ရင် Rolling Update နဲ့ update လုပ်နိုင်ပါတယ်။
Bug ပါသွားရင် Rollback နဲ့ previous version ကို ပြန်သွားနိုင်ပါတယ်။
ဒါကြောင့် Kubernetes Deployment က production environment မှာ အလွန်အရေးကြီးပါတယ်။
⸻
အနှစ်ချုပ်
Kubernetes Deployment ဆိုတာ Application ကို Kubernetes ထဲမှာ stable ဖြစ်အောင် run လုပ်ဖို့ အသုံးပြုတဲ့ resource ဖြစ်ပါတယ်။
Deployment ကိုသုံးခြင်းအားဖြင့်—
✅ Pod တွေကို manage လုပ်နိုင်တယ်
✅ Auto-healing ရနိုင်တယ်
✅ Scaling လုပ်နိုင်တယ်
✅ Rolling update လုပ်နိုင်တယ်
✅ Rollback ပြန်လုပ်နိုင်တယ်
✅ Production application တွေအတွက် ပိုမိုယုံကြည်စိတ်ချရတယ်
Kubernetes ကို စတင်လေ့လာသူတွေအတွက် Deployment က မဖြစ်မနေ နားလည်ထားရမယ့် အခြေခံအရေးကြီး topic တစ်ခုဖြစ်ပါတယ်။
Click here to claim your Sponsored Listing.
Category
Telephone
Website
Address
Lanmadaw/No. 85/87, 15th Street, Lanmadaw Township
Naypyidaw