How to configure multiple agents on a single EC2 instance

I currently have a single remote agent license which runs on a Windows EC2 instance. I used the stock Atlassian AMI which I configured to my liking. 

I would like to upgrade my license to include more remote agents, but I'm unsure how I can configure them on my existing EC2 instance. Is it possible to host additional remote agents on that Windows EC2 instance? I couldn't really find any useful information on the wiki.

Or is it only possible to use this with multiple EC2 instances?

1 answer

0 votes

It's certainly possible - I've ran 5000 remote agents across 50 beefy EC2 instances with a 100 remote agents on each instance. You only need to provide them with a separate home directory via the -Dbamboo.home=XXXXX on the command line.

But I'm running in Windows. I have no command line. All I could find are some bat files and a startup task.

What I've said applies only to remote agents. You can't run multiple elastic agents on a single EC2 instance. You'd have to prepare an image that starts these agents.

So that means that, if I upgrade my Cloud subscription to include more agents, I also need additional virtual machines? (Which makes it quite expensive.)

That's the part that has been unclear to me.

Well, yes and no. If you want automated instance management, it sets up each agent on a separate EC2 instance. However, since December last year, you can use remote agents with Bamboo Cloud - this option is more flexible and you can have multiple agents per EC2 instance - but Bamboo will no longer automatically manage the instance lifecycle.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Jira Service Desk

What's new in Jira Service Desk Server: Introducing 4.0 & more - Feb 2019

Hello Atlassian Community!  I'm Teresa, the Product Marketing Manager   for Jira Service Desk Server at Atlassian. I'm excited to announce two exciting releases for Jira Service De...

28 views 0 0
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