The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

pipeline and deployment nodejs in bitbucket and aws ec2

sonjaya sonjaya
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!
November 11, 2018

i try using pipeline and deployment in bitbucket , ussually using jenkins.

here example code

image: node:10
pipelines:
  default:
    - step:
        script:
          - npm install
          - npm install -g mocha pm2
          - pm2 start server.js
          - mocha

 

That script was working fine , but how to deployment automaticly to aws ec2 instance already i made it

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Jeroen De Raedt
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 19, 2018

Hi @sonjaya sonjaya,

there are multiple ways to deploy to AWS EC2 using Bitbucket Pipelines. The easiest might be through AWS CodeDeploy. There is an excellent tutorial here: https://hackernoon.com/deploy-to-ec2-with-aws-codedeploy-from-bitbucket-pipelines-4f403e96d50c

TAGS
AUG Leaders

Atlassian Community Events