Is it possible to Start a Virtual Machine From Bamboo

I would like to know if it is possible to start a Virtual Machine from Bamboo.

I was wondering if I could start different virtual machines according to the project in Bamboo. For instance, I have two projects: one that uses .NET and another one that uses Delphi. I would like to have different virtual machines according to the idiosyncrasies of each project.

If it is not possible, is there another license type of Bamboo that would allow me to do that? Or should I have remote agents according to the projects?

3 answers

1 accepted

I guess the important question is what type of virtualization technology you are using (i.e. VMWare)? If VMWare there is a commercial plugin that works nicely :

You can start/stop existing VMs

Also there if you use KVM or Zen there is this plugin but i have not used it.

You can have different remote agents according to your projects and you need to have a license for remote agents, for this purpose. However, if you have VMs set up that you are using to test your projects, you can run them from Bamboo. Bamboo allows using different virtual machine instances and as long as you can start/run your VMs from command line, you can run them from Bamboo.

- If you start a VM and compile in this VM, it is not considered a remote machine if you are executing it on the same server, but if you are executing it on a different server or if your intention is to put the remote agent JAR inside the VM for execution, then you will need remote agents.

- If you want to run two plans simultaneously, you might need to change your license depending on where you want to run those plans. Your license will allow you to have endless number of local agents (You can go to administrator ->agents page and add as many as you need). But if you want to run your plans on a remote agent (remote server), then you need to get a new license that allows to have the needed number of remote agents.


you can try our updated add-on Virtual Agents for Bamboo. It allows you to add tasks to start and stop virtual machines with a capability to set wait time before proceeding to the next task in the queue.

It also allows you to create mappings between virtual machines and your remote agents. The add-on monitors the Bamboo queue with build and deployment tasks and starts automatically the virtual machine with the appropriate agent. So all your tasks are executed automatically. Once the agent is not needed, the add-on stops it. So it lets you maximize efficiency of your license for remote agents.


Best Regards,

Vadim Rutkevich

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,826 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you