Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Generate server ID in automated deployment

Timothy Meunier October 1, 2019

I am trying to create an automated deployment process for Bitbucket.  Everything seems to be doable except for generating a server ID to get a license.

 

Right now, you have to deploy the server, start it up and let it generate an ID, then manually use that ID to get a license.  You can then put that license in the bitbucket.properties file, and finish the deployment and apply configurations.

 

I need to get an ID first, to get a license.  Then deploy in one shot with that license.  Is this possible?  Is the ID just random?  Does it matter what it is?

1 answer

0 votes
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 11, 2019

Hello Timothy,

I like the direction you’re going with automatic deployments of Bitbucket. And as you described, it does seem like a bit of a hang-up waiting to get the Server ID to generate via the UI. The short answer to the problem is; if you have an existing license for your Bitbucket instance, then you can use that license (a 1:1) on your Bitbucket automation setup. There is a similar post that describes how this works with references at On what is the Server ID based on?

The longer answer is; if you’re doing mass deployments of multiple Bitbucket server installs, and you have license files already available, you can manually allocate these to the server without the need of getting the server ID information. Now, this breaks down if you don’t already have the Bitbucket licenses per install, and in this case, you’ll need to follow the setup to get a server ID and then either purchase a license or request an eval (which will be associated to your Atlassian account). Further information about the automation may be found at Automated setup for Bitbucket Server (These steps will require a license before automating.)

Ideally, if you need multiple instances of Bitbucket in a quick manner, then we would suggest looking at Bitbucket.org instead of automating server installs. Bitbucket Cloud is free to use (with a 2GB hard limit)

I hope this information proves helpful, and you’re able to find a solution that meets your requirements.

Regards,
Stephen Sifers

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira, marketing project management, jira for marketers, agile marketing, campaign planning, marketing workflows, jira templates, atlassian learning, marketing collaboration, project tracking, marketing teams, jira training

Streamline Marketing in Jira 🖼️

Plan, prioritize, and deliver marketing projects seamlessly. See how Jira supports your team's success. Start today!

Start now! 🚦
AUG Leaders

Atlassian Community Events