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?
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
Plan, prioritize, and deliver marketing projects seamlessly. See how Jira supports your team's success. Start today!
Start now! 🚦Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.