Thuta Learning
AWS Fundamentals
BasicDevOpsအခြေခံ

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

AWS Fundamentalsသင်ခန်းစာ 1

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

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

ဒီသင်ခန်းစာအကြောင်း မှတ်ချက်

ဒီသင်ခန်းစာဟာ ကိုယ်တိုင်ရေးသားထားတဲ့ ပညာရေး အကြောင်းအရာ ဖြစ်ပြီး Amazon Web Services (AWS) သို့မဟုတ် Amazon.com, Inc. နဲ့ ဆက်စပ်မှု မရှိပါဘူး၊ သူတို့ရဲ့ ထောက်ခံချက် (endorsement) လည်း မရှိပါဘူး။ "AWS" နဲ့ AWS service အမည်တွေဟာ Amazon.com, Inc. (သို့) ၎င်းရဲ့ affiliate တွေရဲ့ trademark တွေ ဖြစ်ပြီး အကြောင်းအရာကို ညွှန်းဆိုဖို့သာ သုံးထားပါတယ်။ Service feature, limit နဲ့ ဈေးနှုန်းတွေ အချိန်နဲ့အမျှ ပြောင်းလဲနိုင်လို့ အရေးကြီးတဲ့ ဆုံးဖြတ်ချက်တွေ မချခင် AWS ရဲ့ တရားဝင် documentation ကို အမြဲ ပြန်စစ်ပါ။

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

အရင်တုန်းက 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 ဘယ်လို ကွာခြားမလဲ ၃ ကြောင်း ရေးကြည့်ပါ။

အလုပ်ဖြစ်ကြောင်း ဒီလိုသိမယ်: AWS ကို 'server/storage ကို ငှားရမ်းသုံးစွဲခြင်း' အနေနဲ့ ရှင်းပြနိုင်မည်။

နောက်ဆုံးပြင်ဆင်ရက်

Progress ကို ဤ browser (ဤစက်) တွင်သာ သိမ်းထားပါသည်။ အခြားစက်များနှင့် sync မလုပ်ပါ။

ဤသင်ခန်းစာတွင် အမှားတွေ့ပါက အကြောင်းကြားရန်သင့် email app ကို ဤသင်ခန်းစာလိပ်စာ ဖြည့်ပြီးသားဖြင့် ဖွင့်ပေးပါမည် — သင်ကိုယ်တိုင် ပို့မှသာ ပို့မည်ဖြစ်သည်။

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