Google ออกตารางเทียบระหว่าง VM, Container, PaaS, FaaS พร้อมสรุปขั้นตอนในการใช้งาน

ด้วยความที่ปัจจุบันนี้มี Infrastructure ให้เหล่านักพัฒนาเลือกใช้งานได้หลากหลายบน Cloud จนอาจสร้างความสับสน ทาง Google จึงได้ออกมาตารางเปรียบเทียบเทคโนโลยี VM, Container, PaaS, FaaS เพื่อให้เหล่านักพัฒนาเข้าใจถึงข้อดีข้อเสียและการนำไปใช้งานที่เหมาะสม พร้อมระบุขั้นตอนการใช้งานเพื่อให้ง่ายต่อการเรียนรู้ ดังนี้

 

Credit: Google

 

สำหรับ 3 ประเด็นหลักที่ Google มองว่าข้อสำคัญในการเลือกใช้สถาปัตยกรรมนั้น ได้แก่

  • ระดับของการทำ Abstraction ว่าจะโฟกัสในส่วนโค้ดเพียงอย่างเดียว หรือสนใจในส่วนอื่นๆ ของระบบด้วย
  • ความต้องการของระบบและขีดจำกัดทางเทคนิคของแต่ละเทคโนโลยี
  • ทีมงานและองค์กรต้องการมุ่งไปในทิศทางใดในอนาคต

ถัดจากนั้นก็เป็นประเด็นเรื่องการเลือกใช้ภาษาในการพัฒนาและเทคโนโลยีของแต่ละภาษาให้เหมาะสมกับงาน และสุดท้ายก็คือการทำความเข้าใจว่าแต่ละสถาปัตยกรรมนั้นมีวิธีการใช้งานที่แตกต่างกันอย่างไร ซึ่ง Google ก็ได้สรุปออกมาเป็นตารางดังนี้ครับ

 

 

Getting from point A to point B Time check and getting started resources
Compute Engine

Basic steps:

  1. Create & set up a VM instance
  2. Set up Node.js dev environment
  3. Code “Hello, World”
  4. Start Node server
  5. Expose the app to external traffic
  6. Understand how scaling works

Details: building with virtual machines.

4.5 hours

Kubernetes Engine

Basic steps:

  1. Code “Hello, World”
  2. Package the app into a container
  3. Push the image to Container Registry
  4. Create a Kubernetes cluster
  5. Expose the app to external traffic
  6. Understand how scaling works

Details: building with Docker containers.

6 hours

App Engine

Basic steps:

  1. Code “Hello, World”
  2. Configure an app.yaml project file
  3. Deploy the application
  4. Understand scaling options

Details: building on top of app platform.

1.5-2 hours

Cloud Functions

Basic steps:

  1. Code “Hello, World”
  2. Deploy the application

Details: building with code functions.

15 minutes

 

ที่มา: https://cloudplatform.googleblog.com/2018/06/Time-to-Hello-World-VMs-vs-containers-vs-PaaS-vs-FaaS.html

About techtalkthai

ทีมงาน TechTalkThai เป็นกลุ่มบุคคลที่ทำงานในสาย Enterprise IT ที่มีความเชี่ยวชาญทางด้าน Network, Security, Server, Storage, Operating System และ Virtualization มารวมตัวกันเพื่ออัพเดตข่าวสารทางด้าน Enterprise IT ให้แก่ชาว IT ในไทยโดยเฉพาะ

Check Also

Salesforce ลงนามข้อตกลงเข้าซื้อกิจการ Cresta แพลตฟอร์ม Voice Agent สำหรับงานบริการลูกค้า

Salesforce ประกาศลงนามในข้อตกลงขั้นสุดท้าย (definitive agreement) เพื่อเข้าซื้อกิจการ Cresta ผู้พัฒนาแพลตฟอร์มแบบ voice-first สำหรับงาน customer experience โดยจะนำ voice agent ของ …

Snowflake อัปเดต CoCo และ CoWork เพิ่ม Bots ทำงานเบื้องหลังอัตโนมัติ พร้อมเปิดตัว Cortex Training

Snowflake เปิดตัวความสามารถใหม่ของ Snowflake CoCo และ Snowflake CoWork ในงาน Snowflake Expedition 2026 นำโดย CoCo and CoWork …