Virtual Machines คืออะไร
Back to articles

Virtual Machines คืออะไร

Virtual Machines คืออะไร

Server Category Updated: February 16, 2026

Virtual Machine (VM) คืออะไร?

Virtual Machine (VM) คือซอฟต์แวร์ที่ใช้ทรัพยากรของเครื่องคอมพิวเตอร์ไม่ว่าจะเป็น RAM, Hard disk, CPU ในการจำลองเครื่องคอมพิวเตอร์เสมือน ซึ่งจะเรียกเครื่องที่ถูกใช้ทรัพยากรว่า Host และเรียกเครื่องเสมือนว่า Guest โดยในเครื่อง Guest สามารถติดตั้งและใช้งานระบบปฏิบัติการได้เสมือนกับเป็นซอฟต์แวร์หนึ่งของเครื่องคอมพิวเตอร์ ดังนั้นจึงสามารถติดตั้งระบบปฏิบัติการอื่นที่แตกต่างจากระบบปฏิบัติการหลักของเครื่อง Host ได้ เช่น เครื่อง Host ใช้งาน Microsoft Windows แต่เครื่อง Guest ติดตั้ง Linux เป็นต้น นอกจากนี้ยังสามารถสร้าง Guest ได้มากกว่า 1 Guest ในเครื่อง Host เดียวกัน.

โครงสร้างพื้นฐานสำหรับการสร้าง Virtual Machine

การเตรียมโครงสร้างพื้นฐานก่อนที่จะสร้าง Virtual Machine ประกอบไปด้วย:

  • Infrastructure: พื้นฐานระบบที่จำเป็นต้องมีก่อนการสร้าง VM

  • Host Operating System: ระบบปฏิบัติการบนเครื่อง Host

  • Hypervisor: ซอฟต์แวร์ที่จัดการกับการจำลองและการทำงานของ VM

บางผู้พัฒนาอาจรวม Host OS และ Hypervisor เข้าด้วยกันในซอฟต์แวร์ของตนเอง แบบนี้จะถูกเรียกว่า Type-1 Hypervisor ซึ่ง VMware ESXi, Microsoft Hyper-V, Nutanix AHV, และ KVM เป็นตัวอย่างของนั้น.

ส่วน Type-2 Hypervisor ต้องถูกติดตั้งบนโครงสร้างพื้นฐานที่กล่าวมาข้างต้น ตัวอย่างเช่น VMware Workstation.

ส่วนประกอบของ Virtual Machine

Virtual Machine เปรียบเสมือนเครื่อง Server เสมือนที่สามารถใช้งานได้เหมือนกับ Physical Server แบบเดิม ๆ โครงสร้างประกอบด้วย:

  • Guest OS: ระบบปฏิบัติการบนเครื่อง Guest

  • Binary/Library: ไฟล์ที่เกี่ยวข้องกับการทำงานของแอปพลิเคชัน

  • Application: แอปพลิเคชันที่ใช้งานในเครื่อง Guest

ข้อดีของการใช้ Virtual Machine

การใช้ Virtual Machine มีข้อดีหลายด้าน เช่น:

  • ลดจำนวน Server ในกรณีที่ต้องใช้งานหลายระบบปฏิบัติการ

  • ลดการใช้พลังงานจากคอมพิวเตอร์หลายเครื่อง

  • ช่วยในการจัดสรรทรัพยากรในเครื่อง Host อย่างคุ้มค่า

  • สร้างแวดล้อมระบบปฏิบัติการหลายระบบบนเครื่องเดียวกัน

  • ช่วยในการจัดเตรียมแอปพลิเคชันให้พร้อมใช้งาน

  • ง่ายในการบำรุงรักษาและกู้คืน

Virtual Machines กับ Cloud Computing

Virtual Machines เกี่ยวข้องกับ Cloud Computing โดย Cloud Computing ใช้ Server หลายตัวเพื่อวางระบบ Virtualization Technology เพื่อให้ผู้ใช้สร้าง Virtual Machines (VM) ได้ ผู้ใช้สามารถกำหนดทรัพยากรที่ต้องการใช้งาน และสามารถเข้าถึง VM ได้ทุกที่ทุกเวลาผ่านระบบอินเทอร์เน็ต สำหรับองค์กรที่ต้องการใช้บริการ Cloud โดยไม่ทราบวิธีการเริ่มต้น สามารถเริ่มต้นศึกษาที่ "Cloud for Enterprise คืออะไร".

D

DriteStudio | ไดรท์สตูดิโอ

Cloud, VPS, Hosting and Colocation provider in Thailand

Operated by Craft Intertech (Thailand) Co., Ltd.

Manage your cookie settings

We use different types of cookies to optimize your experience on our website. Click on the categories below to learn more and customize your preferences. Note that blocking some types of cookies may impact your experience.

Necessary Cookies

These cookies are essential for the website to function properly. They enable basic functions like page navigation and access to secure areas.

View cookies used
  • Session cookies (session management)
  • Security cookies (CSRF protection)
Always On

Functional Cookies

These cookies enable personalized features like language preferences and theme settings. Without these, some features may not work properly.

View cookies used
  • lang (language preference)
  • theme (dark/light mode)

Analytics Cookies

These cookies help us understand how visitors interact with our website by collecting and reporting information anonymously.

View cookies used
  • _ga (Google Analytics)
  • _gid (Google Analytics)

Marketing Cookies

These cookies are used to track visitors across websites to display relevant advertisements based on your interests.

View cookies used
  • Advertising cookies
  • Remarketing pixels

Privacy Policy