NCP-MCI-6.10 · Question #120
What is the best way to automate the deployment of 100 Linux VMs with similar configurations but different hostnames, local configurations, and install packages?
The correct answer is B. Cloud-Init configuration. Cloud-Init is the industry-standard Linux VM customization tool that runs on first boot. It processes a user-data file (typically YAML) that can specify per-VM settings such as hostname, users, SSH keys, packages to install, and arbitrary shell commands. Because each VM can…
Question
What is the best way to automate the deployment of 100 Linux VMs with similar configurations but different hostnames, local configurations, and install packages?
Options
- AManual configuration
- BCloud-Init configuration
- CSysPrep Configuration
- DVM template configuration
How the community answered
(13 responses)- A15% (2)
- B77% (10)
- C8% (1)
Explanation
Cloud-Init is the industry-standard Linux VM customization tool that runs on first boot. It processes a user-data file (typically YAML) that can specify per-VM settings such as hostname, users, SSH keys, packages to install, and arbitrary shell commands. Because each VM can receive a unique user-data payload, it is perfectly suited for deploying 100 VMs from the same base template but with different per-instance configurations. Manual configuration (A) does not scale to 100 VMs. SysPrep (C) is a Windows-specific tool and does not apply to Linux. VM template configuration (D) alone handles the base image but does not provide a mechanism for per-VM customization at first boot - Cloud-Init fills that gap.
Topics
Community Discussion
No community discussion yet for this question.