Thuta Learning
ရှာဖွေရန်
BasicDevOpsbeginner

AWS (Amazon Web Services) ဆိုတာ ဘာလဲ

စိတ်လျှော့ပါ။ ဒီခန်းကို စာအုပ်လိုမဟုတ်ဘဲ စကားပြောသလိုပဲ၊ နားလည်လွယ်အောင် ရှင်းပါမယ်။

ဒီခန်းပြီးရင် ဘာတတ်သွားမလဲ

  • AWS (Amazon Web Services) ဆိုတာ ဘာလဲ ကို ကြောက်စရာမလိုအောင် နားလည်မယ်
  • ကိုယ်တိုင် AWS CLI/Console ကို run ကြည့်တတ်မယ်
  • Real project ထဲမှာ ဒီ concept ကို ချက်ချင်း အသုံးချတတ်မယ်

ခဏလေး ဒီလိုပဲ စဉ်းစားကြည့်

အရင်တုန်းက app တစ်ခု launch ဖို့ server hardware ကို ကိုယ်တိုင်ဝယ်၊ data center မှာ install၊ network setup ကိုယ်တိုင်လုပ်ရပါတယ် — ကုန်ကျစရိတ်ကြီးပြီး, traffic တက်လာရင် server ထပ်ဝယ်ဖို့ ရက်သတ္တပတ်ချီ ကြာနိုင်ပါတယ်။ Cloud computing (AWS, Azure, GCP) ကတော့ server/storage/network ကို 'ငှားရမ်း' ယူသုံးတာပါ — minute အနည်းငယ်အတွင်း server အသစ် launch လုပ်နိုင်ပြီး, သုံးသလောက်ပဲ ငွေပေးရပါတယ် (pay-as-you-go)။ AWS က cloud provider market ထဲမှာ အကြီးဆုံးဖြစ်ပြီး, service ၂၀၀ ကျော် ပေးထားပါတယ် — compute (EC2), storage (S3), database (RDS), serverless (Lambda) စတာတွေအားလုံး ပါဝင်ပါတယ်.

လက်တွေ့ scenario နဲ့ ချိတ်ကြည့်မယ်

Hotel room ဆိုင်ကို ထပ်ဥပမာပေးရရင် — server ကိုယ်တိုင်ဝယ်တာက အိမ်ကို ဝယ်ယူဆောက်လုပ်တာနဲ့ တူပါတယ် (ကြီးတဲ့ upfront cost, maintenance ကိုယ်တိုင်လုပ်ရ) — AWS ကတော့ hotel room ငှားတာနဲ့ တူပါတယ် (တစ်ညချင်း/တစ်လချင်း ငှားလို့ရ, staff တွေက maintenance ကို ကိုယ်စားလုပ်ပေး, room ကို instantly checkout/checkin လုပ်လို့ရ)။ Netflix, Airbnb, Spotify, NASA — company အများကြီးက AWS ပေါ်မှာ run ကြပါတယ်.

အတူတူ ကြည့်မယ်

text
Without AWS (traditional):
  Buy servers, install in a data center, wait weeks for delivery,
  pay for hardware whether you use it or not.

With AWS:
  Launch a server in minutes, pay per hour/second used,
  scale up or down instantly as traffic changes.
You should see
AWS ကို 'server/storage ကို ငှားရမ်းသုံးစွဲခြင်း' အနေနဲ့ ရှင်းပြနိုင်မည်။

၅ မိနစ် စမ်းကြည့်

App တစ်ခု launch ဖို့ (၁) server ကိုယ်တိုင်ဝယ်တဲ့ approach (၂) AWS ငှားတဲ့ approach ၂ မျိုးနဲ့ upfront cost/scaling speed ဘယ်လို ကွာခြားမလဲ ၃ ကြောင်း ရေးကြည့်ပါ။

သတိလေးတစ်ချက်

AWS Free Tier ရှိပေမယ့် limit ကျော်သွားရင် (ဥပမာ - EC2 instance ကို free tier limit ထက် ကြာကြာ run ထားရင်) ကုန်ကျစရိတ် ဖြစ်ပေါ်နိုင်ပါတယ် — Free Tier limit ကို သေချာဖတ်ပြီး, billing alert (Advanced chapter) ကို အစကတည်းက setup လုပ်ထားသင့်ပါတယ်။

ဒီနေရာမှာ လူအများမှားတတ်တယ်

  • AWS ကို 'website hosting service' တစ်ခုတည်းလို့ ထင်ခြင်း — အမှန်က compute/storage/database/AI/networking service ၂၀၀ ကျော် ပါဝင်ပါတယ်
  • AWS ကို သုံးရင် cost ကို ကြိုတင်တွက်ချက်စရာ မလိုတော့ဘူးလို့ ထင်ခြင်း — pay-as-you-go ဆိုပေမယ့် monitor မလုပ်ရင် cost ရုတ်တရက် တက်နိုင်ပါတယ်

အခု ကိုယ်တိုင် စမ်းကြည့်

App တစ်ခု launch ဖို့ (၁) server ကိုယ်တိုင်ဝယ်တဲ့ approach (၂) AWS ငှားတဲ့ approach ၂ မျိုးနဲ့ upfront cost/scaling speed ဘယ်လို ကွာခြားမလဲ ၃ ကြောင်း ရေးကြည့်ပါ။

You'll know it worked when: AWS ကို 'server/storage ကို ငှားရမ်းသုံးစွဲခြင်း' အနေနဲ့ ရှင်းပြနိုင်မည်။

AWS (Amazon Web Services) ဆိုတာ ဘာလဲ | Thuta Learning