It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Using Remote Agent

We want to be able to run a migration (change data schema, seeding, etc) in a step against a database that is not publicly available. One way other CICD platforms achieve that feature is by allowing step execution in a remote agent (for example, an EC2 running in AWS that has ingress to the DB server). Is that possible within bitbucket pipeline? 


1 answer

1 accepted

0 votes
Answer accepted

Bitbucket Pipelines doesn’t have a first-party remote agent, but you might find a solution like AWS CodeDeploy to be useful in your scenario. You can use a Pipeline to upload an artifact to S3 and then invoke a CodeDeploy deployment. The CodeDeploy agent running on your EC2 would then download the artifact and apply it (do the schema migration, for example), and report the status back to the Pipeline run.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,031 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you