Hi @Baskar, I've been working on this type of the implementation for the last few years.
In between, you will need a CI system in place, i recommend Bamboo since it's part of the ecosystem. Bamboo will check out the code from either Bitbucket Server or Cloud, build the package locally, then deploy to S3 bucket( Assume you will be using it). I use S3 as a repository to host the build artifact.
Once the artifact has been succuessfully pushed to S3, Bamboo can call the AWS instance via AWS RunCommand feature to trigger deployment which includes copy artifacts to the server and complete the deployment. If you are using Linux on AWS, you can even mount S3 bucket onto the system as a volume.
Alternatively, bamboo has AWS plugins, it works with various AWS services.
Hopefully it helps!
Hi @Baskar, I'm assuming that the bitbucket server is where you store your Git source repository and AWS is the target environment where the application needs to be deployed to.
In between these two environments, you will need a build/deploy solution. This can be either a self-hosted application like Jenkins (open-source) or Atlassian Bamboo or a hosted solution like Travis, CircleCI or CodeShip.
The build/deploy service is responsible for taking your code from BitBucket server, transforming it to the deliverable and deploying it to AWS.
Hope this helps!
We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...
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