DEV Community

Robert Coffie
Robert Coffie

Posted on

Multipass Unlocked: Effortlessly Spin Up Ubuntu VMs in Seconds!

I recently stumbled upon Multipass, an open-source project by Canonical, and I'm absolutely smitten! As a developer who loves tinkering with Linux instances, particularly when learning Ansible, this tool has been a breath of fresh air.

Multipass allows me to create and manage multiple Ubuntu instances right within my native shell, all without the need for virtual machines or complex setup processes. It's like having a mini-cloud on my machine!

For example, let's say I wanted to learn how to use Ansible to automate system configuration across multiple hosts. I can spin up three Ubuntu instances in seconds using Multipass:

$ multipass create -n instance1 -i amd64 -c 2048 -m 4096
$ multipass create -n instance2 -i amd64 -c 2048 -m 4096
$ multipass create -n instance3 -i amd64 -c 2048 -m 4096
Enter fullscreen mode Exit fullscreen mode

Once they're up and running, I can SSH into each instance with a single command:

$ ssh user@<instance1-ip-address>
Enter fullscreen mode Exit fullscreen mode

This simplicity not only saves time but also makes the learning process more enjoyable!
If you're a developer or Linux enthusiast looking to streamline your workflow, give Multipass a try and let us know what you think!
Link to the documentation: Multipass Documentation

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post

šŸ‘‹ Kindness is contagious

Please leave a ā¤ļø or a friendly comment on this post if you found it helpful!

Okay