Our Blog

Deploying an Application using AWS CodeDeploy and CodePipeline

Posted by:

AWS CodeDeploy is part of a family of AWS deployment services that includes AWS Elastic Beanstalk, AWS CodePipeline, AWS CloudFormation, and AWS OpsWorks. AWS CodeDeploy coordinates application deployments to Amazon EC2 instances. It deploys applications from Amazon S3 buckets and GitHub repositories where the application contains deployable content like code, web, configuration files, executable packages, and so on.

First, you create an application on AWS Code Deploy that communicates with your EC2 instance along with the ARN Role of your Code Deploy. After setting this application, an AWS CodeDeploy agent is installed on your instance or a server. CodeDeploy agent then examines the appspec.yml file in your S3 bucket or GitHub repository.

AWS CodePipeline is a continuous delivery service for fast and reliable application updates. CodePipeline builds, tests and deploys your code every time there is a code change. This enables you to rapidly and reliably deliver updated features. CodePipeline determines new changes that are committed to their repository and then push the CodeDeploy agent to deploy the application.

Our 24/7 Network Engineers, deployed this service for a project where the client demanded an AutoScaling Group of Amazon EC2 instances. They used Amazon CodeCommit as Git repository and created an Amazon AMI with the required software on a server with configuration. The AMI was used with AutoScaling group to deploy multiple instances depending on traffic. Additionally, databases for applications on all instances were deployed using Amazon RDS. Such deployments worked best for Cloud Services, whereas, the rest were handled by CodeDeploy agent and CodePipeline.


Add a Comment

Time limit is exhausted. Please reload CAPTCHA.

# #