Join us
@priteshtailor ・ Feb 03,2022 ・ 1 min read ・ 1035 views ・ Originally posted on faun.pub
Virtual environments are invaluable tools for developers be they data scientists, software/cloud/DevOps engineers and system administrators. They provide you with quick disposable environments for experimentation, testing and endless fresh starts.
Multipass released by Canonical has presented itself as a fresh and easy to use tool inside of this domain. Which I now use on a daily basis over similar tools for VMs! So what exactly makes it so great? (Beyond VMs for M1 MacBooks!)
It is a one-liner to install in most cases:
sudo snap install multipass
brew install multipass
You can manage the entire VM lifecycle with 3 commands:
multipass launch 20.04
multipass shell <vm name>
multipass delete <vm name>
multipass launch 20.04 --cpus 2
multipass launch 20.04 --mem 1G
multipass launch 20.04 --disk 5G
multipass mount /host/path <vm name>:/some/path
multipass transfer script.sh <vm name>:/tmp/script.sh
multipass transfer <vm name>:/root/script.sh /path/on/host
multipass delete <vm name>
multipass purge
multipass recover <vm name>
Here is a demo of multipass in action to show how simple it is.
Multipass is a super simple but powerful tool to spin up VMs and destroy them in very few CLI lines. Its beauty is in its simplicity, as you can imagine it saves you time by letting you spin up VMs for quick experiments locally rather than on cloud instances, it could provide a disposable environment to run a local data pipeline or even form a part of CI/CD pipeline. You could use it to test your DevOps configuration scripts or experiment with cluster technology setups. Of course, your creativity is your limit, just know it's easy from start to finish with Multipass.
Join other developers and claim your FAUN account now!
Devops Engineer, previsico
@priteshtailorInfluence
Total Hits
Posts
Only registered users can post comments. Please, login or signup.