How we supposed to deploy on private premises with Pipelines?

Hi,

 

in various manuals you take Python product as example and you use PyPi to publish artifact. However that is not the only case that can occur. We have PHP application and we want to deploy directly to our private cloud, like we used to do with Bamboo. Exposing FTP is not an option since it's a nice security breach. What can you advise?

 

Regards,

Alexander

4 answers

0 vote

We don't recommend any particular approach, but a typical way of pushing something into your own (Internet exposed) server would be to have a webserver with some form of authentication that you can POST to from within the Pipelines container. You can make the credentials available to the container through the use of Pipelines variables.

If you want something SSH based, you could SCP the files directly.

Hi,

 

thanx for your reply. All suggested approaches assume some service (SSH, SCP, FTP, etc.) should be exposed to outside. That is a security breach. For publicly available webserver using POST is relatively fine, however some servers are not supposed to be available from outside at all.

Let me explain what we expected. For example in Bamboo Cloud build agents were inside the same private network with target servers and so they could access them directly. I tried to build my own container with OpenVPN client built in and connected to our premise on container startup. That however didn't work since running OpenVPN in a container needs escalated privileges and you obviously do not provide those.

So is there any way to use Pipelines safely?

 

Regards,

Alexander

Hi,

so no suggestions or recommendations?

Regards,

Alxander

I'm looking for this as well.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

26,415 views 26 12
Join discussion

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