Front-end Web & Mobile
หมวดหมู่ Front-end Web & Mobile รวม services สำหรับสร้าง deploy และจัดการ web และ mobile applications
AWS Amplify
คืออะไร: Platform ครบวงจรสำหรับสร้าง fullstack web และ mobile applications รวม hosting, authentication, API, storage
ราคา:
- Hosting: $0.01/GB served, $0.023/GB stored
- Build: $0.01/build minute
- Free Tier: 5 GB storage, 15 GB bandwidth/เดือน
เหมาะสำหรับ:
- Frontend developers ที่ต้องการ backend อย่างรวดเร็ว
- React, Vue, Next.js applications
- Mobile apps (React Native, Flutter)
Use Case ตัวอย่าง:
Developer คนเดียวสร้าง fullstack app ด้วย Amplify: authentication ด้วย Cognito, REST API ด้วย AppSync, storage ด้วย S3 deploy บน Amplify Hosting พร้อม CI/CD จาก GitHub อัตโนมัติ ในเวลา 1 วัน
Amazon Cognito
คืออะไร: User authentication และ authorization service สำหรับ web และ mobile apps รองรับ Social login (Google, Facebook) และ SAML/OIDC
ราคา:
- MAU แรก 50,000: ฟรี
- 50K-100K MAU: $0.0055/MAU
- Social login: $0.015/MAU (free tier ต่างกัน)
เหมาะสำหรับ:
- User sign-up/sign-in สำหรับ app
- Social login integration
- Enterprise SSO
Use Case ตัวอย่าง:
แอป SaaS integrate Cognito ให้ user sign in ด้วย Google หรือ email/password แล้วได้ JWT token สำหรับ call API ไม่ต้องสร้างระบบ auth เอง ลด development time ได้ 2 สัปดาห์
AWS AppSync
คืออะไร: Managed GraphQL API service สร้าง flexible API ที่ frontend ขอข้อมูลได้ตามต้องการ รองรับ real-time subscriptions
ราคา:
- Query/Mutation: $4/million requests
- Real-time subscriptions: $2/million messages
- Free Tier: 250K queries/เดือน (1 ปีแรก)
เหมาะสำหรับ:
- GraphQL API สำหรับ mobile/web
- Real-time features (chat, live updates)
- Offline-first applications
Use Case ตัวอย่าง:
แอป collaborative document editing ใช้ AppSync subscriptions ทุกคนที่เปิด document เดียวกัน เห็น changes แบบ real-time ทันที เหมือน Google Docs
Amazon S3 Static Website Hosting
คืออะไร: Host static websites (HTML, CSS, JS) บน S3 โดยตรง ราคาถูกมาก
ราคา:
- Storage: $0.023/GB/เดือน
- Requests: $0.0004/1,000 GET requests
- (มักใช้คู่กับ CloudFront เพื่อประสิทธิภาพ)
เหมาะสำหรับ:
- Static websites, landing pages
- React/Vue/Angular built output
- Documentation sites
Use Case ตัวอย่าง:
ทีม Marketing deploy landing page React เป็น static files ขึ้น S3 + CloudFront ค่าใช้จ่ายเดือนละไม่ถึง $1 สำหรับ traffic หลักพัน visitors/วัน เทียบกับ EC2 ที่ต้องเสีย $10+/เดือน
AWS Device Farm
คืออะไร: Test mobile และ web applications บน real devices จำนวนมากบน cloud
ราคา:
- Pay-per-use: $0.17/device minute
- Unlimited testing: $250/device slot/เดือน
เหมาะสำหรับ:
- Automated testing บน real iOS/Android devices
- Cross-browser web testing
- CI/CD pipeline testing
Use Case ตัวอย่าง:
ทีม QA รัน automated tests บน 50 device models (iPhone, Samsung, Pixel) พร้อมกันผ่าน Device Farm ก่อน release ทุกครั้ง ลดเวลา QA จาก 1 สัปดาห์เหลือ 2 ชั่วโมง