It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

1,457 views 2 7
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you