Posts

Showing posts from 2019

Continuous Integration and Delivery pipeline using Bitbucket, AWS CodeBuild, AWS CodePipline and AWS CodeDeploy - Part 2

Image
In the previous post we looked at how to configure AWS Codebuild for CI/CD pipeline. In this post we will look at configuring AWS CodeDeploy. First Let's see what is CodeDeploy. According to Amazon Web Services website,  AWS CodeDeploy is a fully managed deployment service that automates software deployments to compute services such as Amazon EC2, AWS Lambda, and your on-premises servers. So now let's see how we can set up AWS CodeDeploy. Once you login to your AWS account, go to AWS CodeDeploy and click on "Create Application". You need to first provide Application name (such as "MyFirstDeployment") and choose your compute platform (EC2, AWS Lambda, Amazon ECS). Here we will choose EC2 Instance as our comput platform. Then click "Create Application". Once the application is created you must create a deployment group. You can have multiple deployment group per application. Deployment group allows to have different deployment sett...

Continuous Integration and Delivery pipeline using Bitbucket, AWS CodeBuild, AWS CodePipline and AWS CodeDeploy - Part 1

Image
In this post I am going to show you how to develop a continuous integration and continuous delivery pipeline using AWS CodeBuild, AWS CodePipline and AWS CodeDeploy. I will use bitbucket as our source repository. But any other repository such as Github or Gitlab also can be used. Ofcourse, certain steps may defer as AWS Code Pipeline can pull the code directly from Github, but not from bitbucket. So here are the steps: 1. Configure AWS CodeBuild to build the code by directly pulling from BitBucket and upload the build artifacts in S3. 2. Configure AWS CodeDeploy to pull the build package from S3(configured in above step) and deploy the application. 3. Configure AWS CodePipeline to get the build artifacts from S3 and deploy them using the AWS CodeDeploy application configured in step 2. This will be three part series, and in this part-1 we will see how to configure AWS CodeBuild. Part 2: Configuring AWS Code Deploy Part 3: Configuring AWS CodePipeLine Step 1: Confi...