Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Could you please provide a deployment diagram for Bitbucket Pipelines on premise

Phil Daveran
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 20, 2024

We are currently looking to move away from local hosted git source code using Bamboo server deployments. We are looking at using Bitbucket cloud/Bitbucket pipelines as we already use Jira/Confluence from Atlassian. We intend to use Bitbucket Cloud and will be deploying to on-premise servers.

Could you please provide architecture/deployment diagrams of the different  options (using a runner vs deploying direct). I need these to show our CTO and CSO how it will work/what access will need to be given.

1 answer

1 accepted

2 votes
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 21, 2024

Hi Phil and welcome to the community!

If you use Bitbucket Pipelines that run on Atlassian's infrastructure and you want to deploy to your on-remise servers behind a firewall, you will need to whitelist the following IP addresses that are used by Bitbucket Pipelines build environments:

There are several ways to deploy, e.g. rsync, scp, ftp. We have the following pipes that can be used when running Pipelines builds on Atlassian's infrastructure:

You could also use the respective Linux commands instead of the pipes.

If you use a self-hosted runner, you will need to whitelist the IP addresses listed here for the runner to work (the runner needs to communicate with Bitbucket to update its status and upload build logs that show on the website):

The pipes I listed earlier can also be used with a self-hosted Linux Docker runner, but not with the rest of the runners since they don't use Docker.

Linux Shell and MacOS runners use Bash to run pipeline steps on the host machine, while Windows runners use PowerShell. So, you can use any command line tool that can be used from Bash and PowerShell respectively.

Kind regards,
Theodora

Phil Daveran
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 29, 2024

Many thanks Theodora 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events