KVM and Vagrant for automated deployment
Contents
Intro:
For my university degree 🎓 I have to code a plugable microservice for iRODS. In this blog post, I document the process from conception, modeling to implementation and testing an automated two server deployment with vagrant and KVM as provider.
Setting up KVM
requirements
I’m running an debian based distro so I’m working with apt package manager. To verify that our CPU supports virtualization use this command:
|
|
If the command returns 0 your CPU does not support hardware virtualization.
Install KVM
|
|
Add your user to the libvirt and kvm group with the following commands. Replace $USERNAME with your real username.
|
|
Verify KVM Installation
|
|
Setting up vagrant
|
|
|
|
sources: