We have self hosted bitbucket server, in that we have to integrate only particular repo with AWS for deployment.
The previous answers are a bit outdated, see here for currently supported scenarios:
https://aws.amazon.com/blogs/devops/integrating-codepipeline-with-on-premises-bitbucket-server/
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!
Ritchie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
Remie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.