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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.