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

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events