ဒီသင်ခန်းစာအကြောင်း မှတ်ချက်
ဒီသင်ခန်းစာဟာ ကိုယ်တိုင်ရေးသားထားတဲ့ ပညာရေး အကြောင်းအရာ ဖြစ်ပြီး 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 ကြပါတယ်.
အတူတူ ကြည့်မယ်
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.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 လုပ်ထားသင့်ပါတယ်။