What options do I have for deploying to a web server behind the firewall from Bitbucket Cloud pipelines?

Using Pipelines on Bitbucket Cloud, what options do I have for automating deployments to a web server where SSH is firewalled off?

I realize that typically in a network situation like this, you'd host your CI server on-prem, but I don't think that's in our future.

The web server is Apache – so far the best option I can come up with would be to use a PHP or other CGI script like a web hook – so the web server would pull down new artifacts or git clone when Bitbucket calls that CGI endpoint over HTTPS.

1 answer

I think creating an endpoint to receive notifications is a fine option. We do not support artifacts yet, but in the meanwhile your deployment could upload the artifact to a storage solution like S3, and your service could pull the result down.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

2,006 views 1 5
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