Rupesh Deshmukh
Jun 29 · 4 min read

Patterns have demonstrated a highlight in the prominence of DevOps. AWS being a well-known cloud seller, many thought about whether AWS could join a DevOps approach. In this way, AWS reacted with a few administrations that provided food the referenced necessity and furthermore propelled an AWS Certified DevOps Engineer Certification in help. In this article, we would examine a well-known administration for DevOps on AWS known as AWS CodeDeploy.

This article would unequivocally concentrate on the accompanying pointers:

Why AWS DevOps?

What is AWS CodeDeploy?

AWS CodeDeploy Platforms

Working of AWS CodeDeploy

Give us a chance to begin at that point.

Why AWS DevOps?

AWS is a standout amongst the best cloud specialist co-ops and DevOps, then again, is the ‘need of the hour’implementation of programming advancement life-cycle.

Following reasons make AWS DevOps an exceedingly prominent amalgamation:

1. AWS CloudFormation

DevOps groups are required to make and discharge cloud occasions and administrations more much of the time than customary advancement groups. AWS CloudFormation empowers you to do only that. ‘Formats’ of AWS assets like EC2 occurrences, ECS holders, and S3 stockpiling can let you set up the whole stack without you uniting everything independent from anyone else.

2. AWS EC2

AWS EC2 represents itself with no issue. You can run holders inside EC2 occurrences. Henceforth you can use the AWS Security and the board highlights. Another motivation behind why AWS DevOps is a deadly combo.

3. AWS CloudWatch

AWS CloudWatch gives you a chance to follow each asset that AWS brings to the table. In addition, it makes it simple to utilize outsider devices for checking Sumo Logic, Botmetric, AppDynamics, and so on

4. AWS CodePipeline

AWS CodePipeline is one well-known element from AWS which exceedingly disentangles the manner in which you deal with your CI/CD toolset. It gives you a chance to coordinate with apparatuses like GitHub, Jenkins, and CodeDeploy empowering you to outwardly control the progression of application refreshes from work to create.

5. Instances In AWS

AWS frequently creates and adds new instances to their list and the level of customization with these instances allow you to make it easy to use AWS DevOps together.

All these reasons make AWS one of the best platforms for DevOps.

What Is AWS CodeDeploy?

This is what the definition says,

‘CodeDeploy is a deployment service that automates application deployments to Amazon EC2 instances, on-premises instances, serverless Lambda functions, or Amazon ECS services.’

With AWS CodeDeploy you can deploy a variety of content and applications. Here is a list of the same:

  • Code
  • Serverless AWS Lambda functions
  • Web and configuration files
  • Executables
  • Packages
  • Scripts
  • Multimedia files

Here are some of the benefits of using AWS CodeDeploy:

  • Lets you deploy server, serverless, and container applications
  • You can automate deployments
  • Minimize downtime
  • Stop and rollback
  • Get centralized control
  • It is easy to adopt
  • Supports concurrent deployments

AWS CodeDeploy Platforms

With AWS CodeDeploy, you can deploy code to three different platforms:

1. EC2/On-Premise

Think of it as an instance or virtual machine of a Physical server which can be on-premises or on AWS. The applications composed on top of it can be executable files or configuration files. It supports both types for managing traffic that is ‘In-Place’ or ‘Blue-Green deployment’.

2. AWS Lambda Functions

If your applications have an updated version of the Lambda Function, you can deploy those in a serverless environment using AWS Lambda Functions and AWS CodeDeploy. This arrangement gives you a highly available compute structure.

3. Amazon ECS:

If you wish to deploy containers, you can perform Blue/Green deployment with AWS ECS and AWS CodeDeploy.

Now let us go ahead and understand how AWS CodeDeploy actually works:

Working of AWS CodeDeploy

So let us try and understand how AWS Codeploy works with the help of the image below:

In order to deploy applications, we need to create or have applications in first place. These applications consist of revisions which can be source codes or executable files that can be uploaded to Github repository or AWS S3 bucket.

Then you have a deployment group, which can be a set of instances associated with the application to be deployed. These instances can be added by using a tag or can be added by using the AWS Autoscaling group.

Finally, the deployment configuration which holds AppSpec files that give CodeDeploy, the specifications on what to deploy and where to deploy applications. These configuration files (AppSpec) come with .yml extension.

Petabytz

Petabytz Technologies Inc. is a leading IT consulting,Data Science and Engineering, business solution and systems integration firm with a unique blend of services.

Rupesh Deshmukh

Written by

Petabytz

Petabytz

Petabytz Technologies Inc. is a leading IT consulting,Data Science and Engineering, business solution and systems integration firm with a unique blend of services.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade