Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,360,197
Community Members
 
Community Events
168
Community Groups

Deploy to AWS Opsworks

sahr john I'm New Here Aug 30, 2022

Hello, I would like to build and deploy my php app (Wordpress) to AWS opsworks. I do not see a pipe for that yet. Also is there a possibility to set up a call to discuss best possible solutions. Although I am reaching you from my free personal account, I do have a premium account, if you do offer call sessions for premium accounts. Thank you!

1 answer

0 votes

Hello and welcome to the community!

Just to give you some context first: Bitbucket Pipelines builds run in Docker containers. For every step you define in your bitbucket-pipelines.yml file, a Docker container starts, the repo is cloned in that container (unless you disable cloning), and then the commands of that step's script are executed in that container. When the step finishes, the container gets destroyed.

If you don't specify a Docker image in your bitbucket-pipelines.yml file, atlassian/default-image:latest will be used. However, you can use any public and private Docker images including those hosted on Docker Hub, AWS, GCP, Azure, and self-hosted registries accessible on the internet.

With regards to AWS Opsworks, if the service provides a way to deploy from another machine via command line, it may be possible to do this in Pipelines by using the same commands in the script of your bitbucket-pipelines.yml file.

I would recommend looking into AWS Opsworks documentation or contacting their support team regarding how to deploy from another machine via command line. You could then test this first by deploying locally from your machine, and then by deploying from a Docker container on that machine, before configuring it in Pipelines.

You can use secured user-defined variables for storing any credentials that may be required for authentication:

https://support.atlassian.com/bitbucket-cloud/docs/variables-and-secrets/

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

3,470 views 3 10
Read article

Atlassian Community Events