Bamboo OnDemand build + local deploy


I would like to check whether Bamboo OnDemand supports the following scenario:

1. Build my application using maven in Amazon EC2

2. Deploy the built application in my servers, which are hosted locally in my company, not in the cloud

As per my research ( and step 2 is not possible, but I would like to double check anyway.

If the above scenario is not achievable using Bamboo OnDemand, I would like to check whether it is possible to provide a link to the artifacts resulting of the latest stable build. This link should not depend on version number, since (ideally) it would be used by scripts that would download the artifacts and then execute the deploy.

Thanks in advance.

1 answer

1 accepted

Accepted Answer
0 votes

This is certainly within the realm of possibility.

Bamboo-wise, you'll need a custom AMI.

Any EC2 instances you create from that AMI will have access to any of the functionality AWS provides. One of those features, for example, let's you create a hybrid VPN network between AWS and your datacentre:

So you configure the custom Bamboo AMI with the security group for your VPN and in your build plan you just setup a Job to do the deployment (as if the Bamboo agent was in your own datacentre) via ssh, scp or whatever other means of automation you would use in your own datacentre.

Since you're using Maven, you can definitely use an artifact repository manager like Nexus that's setup in your datacentre and which you can provide a public access URL for or setup via the VPC. Setup a user for the bamboo builds and hide the encrypted settings.xml in your custom AMI. Any Jobs can then push artifacts into your repository via the normal maven-deploy methods.

You could also setup a Nexus repository manager inside EC2 on a dedicated instance that you can, again, reach from your custom AMI. Then setup a Nexus proxy in your data centre that can replicate artifacts back and forth from AWS.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

535 views 0 9
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