SlideShare a Scribd company logo
Presented By:
Azmat Hasan
Software Consultant
Automate Your Deployment with
AWS
CODE-DEPLOY
Our Agenda
01 Why Deployment Service?
02 CodeDeploy and its benefits
03 Deployment Types
04 Deployment Configuration
05 Steps
06 Demo
AWS Code-Deploy
AWS Code-Deploy
What is CodeDeploy?
CodeDeploy is a deployment service that automates application deployments
to Amazon EC2 instances, on-premises instances, serverless Lambda
functions, or Amazon ECS services.
Benefits
● Server, serverless, and container applications
● Automated deployments
● Minimize downtime
● Stop and roll back
● Centralized control
● Easy to adopt
● Concurrent deployments
AWS Code-Deploy
What types of applications can be deployed
with AWS CodeDeploy?
Deployment Types:
● In-place deployment:
The application on each instance in the deployment group is stopped,
the latest application revision is installed, and the new version of the
application is started and validated.
● Blue/green deployment:
A blue/green deployment reroutes traffic from your application's
original environment to a replacement environment.
In Place Deployment
BLUE/GREEN Deployment
A blue/green deployment reroutes traffic from your application's
original environment to a replacement environment. Your
environment depends on your CodeDeploy application's compute
platform.
● AWS Lambda: Traffic is shifted from one version of a Lambda
function to a new version of the same Lamdba function.
● Amazon ECS: Traffic is shifted from a task set in your Amazon
ECS service to an updated, replacement task set in the same
Amazon ECS service.
● EC2/On-Premises: Traffic is shifted from one set of instances in
the original environment to a replacement set of instances.
Deployment Configuration For EC2/On-prem Instances
Deployment Configuration For ECS
If you're using the Amazon ECS compute platform, production traffic
shifts from your Amazon ECS service's original task set to a
replacement task set all at once.
Deployment Configuration For AWS Lambda
● Canary: Traffic is shifted in two increments. You can choose from predefined canary options
that specify the percentage of traffic shifted to your updated Lambda function version in the
first increment and the interval, in minutes, before the remaining traffic is shifted in the second
increment.
● Linear: Traffic is shifted in equal increments with an equal number of minutes between each
increment. You can choose from predefined linear options that specify the percentage of
traffic shifted in each increment and the number of minutes between each increment.
● All-at-once: All traffic is shifted from the original Lambda function to the updated Lambda
function version all at once.
1) Package your application (with an AppSpec)
version: 0.0
os: linux
files:
- source: chef/
destination: /etc/chef/codedeploy
- source: target/hello.war
destination: /var/lib/tomcat6/webapps
hooks:
ApplicationStop:
- location: deploy_hooks/stop-tomcat.sh
BeforeInstall:
- location: deploy_hooks/install-chef.sh
AfterInstall:
- location: deploy_hooks/knife-install.sh
ApplicationStart:
- location: deploy_hooks/chef-solo.sh
ValidateService:
- location: deploy_hooks/verify_service.sh
AWS Code-Deploy
AWS Code-Deploy
AWS Code-Deploy
AWS Code-Deploy
AWS Code-Deploy
AWS Code-Deploy
AWS Code-Deploy
AWS Code-Deploy
AWS Code-Deploy
AWS Code-Deploy
References:
1. https://docs.aws.amazon.com/codedeploy
2. https://www.slideshare.net/AmazonWebServices/aws-april-webinar-series-getting-started-with-aws-codedeploy
3. https://www.slideshare.net/AmazonWebServices/aws-code-deploy
Thank You !

More Related Content

What's hot (20)

PDF
MuleSoft Online Meetup a Guide to RTF application deployment - October 2020
Royston Lobo
 
PDF
How to test infrastructure code: automated testing for Terraform, Kubernetes,...
Yevgeniy Brikman
 
PDF
Amazon EC2 제대로 사용하기(김상필) - AWS 웨비나 시리즈 2015
Amazon Web Services Korea
 
PDF
20191125 Container Security
Amazon Web Services Japan
 
PPT
Jenkins Overview
Ahmed M. Gomaa
 
PDF
한글과컴퓨터의 클라우드 마이그레이션, 거버넌스 그리고 모더나이제이션-박인재, AWS ISV SA Manager / 박상형, 한글과컴퓨터 I...
Amazon Web Services Korea
 
PDF
AWS Black Belt Online Seminar 2017 AWS X-Ray
Amazon Web Services Japan
 
PDF
Cloudwatch: Monitoring your AWS services with Metrics and Alarms
Felipe
 
PDF
AWS SAM으로 서버리스 아키텍쳐 운영하기 - 이재면(마이뮤직테이스트) :: AWS Community Day 2020
AWSKRUG - AWS한국사용자모임
 
ODP
Introduction to Ansible
Knoldus Inc.
 
PPTX
Aws Autoscaling
Kimberly Macias
 
PDF
AWS Black Belt Online Seminar AWS Direct Connect
Amazon Web Services Japan
 
PDF
サーバーレスアーキテクチャのすすめ(公開版)
Keisuke Kadoyama
 
PDF
더욱 진화하는 AWS 네트워크 보안 - 신은수 AWS 시큐리티 스페셜리스트 솔루션즈 아키텍트 :: AWS Summit Seoul 2021
Amazon Web Services Korea
 
PDF
AWS Elastic Beanstalk 활용하여 수 분만에 코드 배포하기 (최원근, AWS 솔루션즈 아키텍트) :: AWS DevDay2018
Amazon Web Services Korea
 
PDF
セキュリティ設計の頻出論点
Tomohiro Nakashima
 
PDF
AWS Lambda와 API Gateway를 통한 Serverless Architecture 특집 (윤석찬)
Amazon Web Services Korea
 
PDF
Introduction to Apache Maven
Rajind Ruparathna
 
PDF
Introduction to Spring Cloud
VMware Tanzu
 
PDF
Hypervisors
SrikantMishra12
 
MuleSoft Online Meetup a Guide to RTF application deployment - October 2020
Royston Lobo
 
How to test infrastructure code: automated testing for Terraform, Kubernetes,...
Yevgeniy Brikman
 
Amazon EC2 제대로 사용하기(김상필) - AWS 웨비나 시리즈 2015
Amazon Web Services Korea
 
20191125 Container Security
Amazon Web Services Japan
 
Jenkins Overview
Ahmed M. Gomaa
 
한글과컴퓨터의 클라우드 마이그레이션, 거버넌스 그리고 모더나이제이션-박인재, AWS ISV SA Manager / 박상형, 한글과컴퓨터 I...
Amazon Web Services Korea
 
AWS Black Belt Online Seminar 2017 AWS X-Ray
Amazon Web Services Japan
 
Cloudwatch: Monitoring your AWS services with Metrics and Alarms
Felipe
 
AWS SAM으로 서버리스 아키텍쳐 운영하기 - 이재면(마이뮤직테이스트) :: AWS Community Day 2020
AWSKRUG - AWS한국사용자모임
 
Introduction to Ansible
Knoldus Inc.
 
Aws Autoscaling
Kimberly Macias
 
AWS Black Belt Online Seminar AWS Direct Connect
Amazon Web Services Japan
 
サーバーレスアーキテクチャのすすめ(公開版)
Keisuke Kadoyama
 
더욱 진화하는 AWS 네트워크 보안 - 신은수 AWS 시큐리티 스페셜리스트 솔루션즈 아키텍트 :: AWS Summit Seoul 2021
Amazon Web Services Korea
 
AWS Elastic Beanstalk 활용하여 수 분만에 코드 배포하기 (최원근, AWS 솔루션즈 아키텍트) :: AWS DevDay2018
Amazon Web Services Korea
 
セキュリティ設計の頻出論点
Tomohiro Nakashima
 
AWS Lambda와 API Gateway를 통한 Serverless Architecture 특집 (윤석찬)
Amazon Web Services Korea
 
Introduction to Apache Maven
Rajind Ruparathna
 
Introduction to Spring Cloud
VMware Tanzu
 
Hypervisors
SrikantMishra12
 

Similar to AWS Code-Deploy (20)

PDF
AWS CodeDeploy
Ratan Das
 
PDF
CI&CD on AWS - Meetup Roma Oct 2016
Paolo latella
 
PDF
New AWS Services
Josh Padnick
 
PPTX
Shipping logs to splunk from a container in aws howto
Екатерина Задорожная
 
PDF
AWS 2017 re:Invent re:Cap - TriNimbus Presentation Slides
TriNimbus
 
PPTX
Unit 5.pptx
ssuserbb23da
 
PPTX
Cloudjiffy vs AWS ops works
Sharma Aashish
 
PDF
Test cloud application deployments locally and in CI without staging environm...
Thomas Rausch
 
DOCX
IEEE 2014 JAVA CLOUD COMPUTING PROJECTS Automatic scaling of internet applica...
IEEEGLOBALSOFTSTUDENTPROJECTS
 
PDF
CVx_Pilot_DR_DS
Talha Husayn
 
PPTX
How Easy to Automate Application Deployment on AWS
Institut Teknologi Sepuluh Nopember Surabaya
 
PPTX
Cloudjiffy vs Amazon Elastic Beanstalk
Sharma Aashish
 
PPT
AWS Devops
Sivakumar Ramar
 
PPTX
AWS fault tolerant architecture
skadyan1
 
PDF
Serverless Architectures on AWS Lambda
Serhat Can
 
PDF
Azure Day Rome 2019 Reloaded - Strangle(r pattern) your legacy application ru...
azuredayit
 
PPTX
An introduction to Serverless
Adrien Blind
 
PDF
CI&CD with AWS - AWS Prague User Group - May 2015
Vladimir Simek
 
PPTX
DevOps, A brief introduction to Vagrant & Ansible
Arnaud LEMAIRE
 
PDF
Master the AWS SAP-C02 Exam with P2PCerts’ Verified Study Materials!
atkinson12111
 
AWS CodeDeploy
Ratan Das
 
CI&CD on AWS - Meetup Roma Oct 2016
Paolo latella
 
New AWS Services
Josh Padnick
 
Shipping logs to splunk from a container in aws howto
Екатерина Задорожная
 
AWS 2017 re:Invent re:Cap - TriNimbus Presentation Slides
TriNimbus
 
Unit 5.pptx
ssuserbb23da
 
Cloudjiffy vs AWS ops works
Sharma Aashish
 
Test cloud application deployments locally and in CI without staging environm...
Thomas Rausch
 
IEEE 2014 JAVA CLOUD COMPUTING PROJECTS Automatic scaling of internet applica...
IEEEGLOBALSOFTSTUDENTPROJECTS
 
CVx_Pilot_DR_DS
Talha Husayn
 
How Easy to Automate Application Deployment on AWS
Institut Teknologi Sepuluh Nopember Surabaya
 
Cloudjiffy vs Amazon Elastic Beanstalk
Sharma Aashish
 
AWS Devops
Sivakumar Ramar
 
AWS fault tolerant architecture
skadyan1
 
Serverless Architectures on AWS Lambda
Serhat Can
 
Azure Day Rome 2019 Reloaded - Strangle(r pattern) your legacy application ru...
azuredayit
 
An introduction to Serverless
Adrien Blind
 
CI&CD with AWS - AWS Prague User Group - May 2015
Vladimir Simek
 
DevOps, A brief introduction to Vagrant & Ansible
Arnaud LEMAIRE
 
Master the AWS SAP-C02 Exam with P2PCerts’ Verified Study Materials!
atkinson12111
 
Ad

More from Knoldus Inc. (20)

PPTX
Angular Hydration Presentation (FrontEnd)
Knoldus Inc.
 
PPTX
Optimizing Test Execution: Heuristic Algorithm for Self-Healing
Knoldus Inc.
 
PPTX
Self-Healing Test Automation Framework - Healenium
Knoldus Inc.
 
PPTX
Kanban Metrics Presentation (Project Management)
Knoldus Inc.
 
PPTX
Java 17 features and implementation.pptx
Knoldus Inc.
 
PPTX
Chaos Mesh Introducing Chaos in Kubernetes
Knoldus Inc.
 
PPTX
GraalVM - A Step Ahead of JVM Presentation
Knoldus Inc.
 
PPTX
Nomad by HashiCorp Presentation (DevOps)
Knoldus Inc.
 
PPTX
Nomad by HashiCorp Presentation (DevOps)
Knoldus Inc.
 
PPTX
DAPR - Distributed Application Runtime Presentation
Knoldus Inc.
 
PPTX
Introduction to Azure Virtual WAN Presentation
Knoldus Inc.
 
PPTX
Introduction to Argo Rollouts Presentation
Knoldus Inc.
 
PPTX
Intro to Azure Container App Presentation
Knoldus Inc.
 
PPTX
Insights Unveiled Test Reporting and Observability Excellence
Knoldus Inc.
 
PPTX
Introduction to Splunk Presentation (DevOps)
Knoldus Inc.
 
PPTX
Code Camp - Data Profiling and Quality Analysis Framework
Knoldus Inc.
 
PPTX
AWS: Messaging Services in AWS Presentation
Knoldus Inc.
 
PPTX
Amazon Cognito: A Primer on Authentication and Authorization
Knoldus Inc.
 
PPTX
ZIO Http A Functional Approach to Scalable and Type-Safe Web Development
Knoldus Inc.
 
PPTX
Managing State & HTTP Requests In Ionic.
Knoldus Inc.
 
Angular Hydration Presentation (FrontEnd)
Knoldus Inc.
 
Optimizing Test Execution: Heuristic Algorithm for Self-Healing
Knoldus Inc.
 
Self-Healing Test Automation Framework - Healenium
Knoldus Inc.
 
Kanban Metrics Presentation (Project Management)
Knoldus Inc.
 
Java 17 features and implementation.pptx
Knoldus Inc.
 
Chaos Mesh Introducing Chaos in Kubernetes
Knoldus Inc.
 
GraalVM - A Step Ahead of JVM Presentation
Knoldus Inc.
 
Nomad by HashiCorp Presentation (DevOps)
Knoldus Inc.
 
Nomad by HashiCorp Presentation (DevOps)
Knoldus Inc.
 
DAPR - Distributed Application Runtime Presentation
Knoldus Inc.
 
Introduction to Azure Virtual WAN Presentation
Knoldus Inc.
 
Introduction to Argo Rollouts Presentation
Knoldus Inc.
 
Intro to Azure Container App Presentation
Knoldus Inc.
 
Insights Unveiled Test Reporting and Observability Excellence
Knoldus Inc.
 
Introduction to Splunk Presentation (DevOps)
Knoldus Inc.
 
Code Camp - Data Profiling and Quality Analysis Framework
Knoldus Inc.
 
AWS: Messaging Services in AWS Presentation
Knoldus Inc.
 
Amazon Cognito: A Primer on Authentication and Authorization
Knoldus Inc.
 
ZIO Http A Functional Approach to Scalable and Type-Safe Web Development
Knoldus Inc.
 
Managing State & HTTP Requests In Ionic.
Knoldus Inc.
 
Ad

Recently uploaded (20)

PPTX
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
PDF
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
PDF
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
PDF
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
PDF
Dipole Tech Innovations – Global IT Solutions for Business Growth
dipoletechi3
 
PPTX
iaas vs paas vs saas :choosing your cloud strategy
CloudlayaTechnology
 
PDF
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
PPTX
Build a Custom Agent for Agentic Testing.pptx
klpathrudu
 
PPTX
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
PPTX
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Technical-Careers-Roadmap-in-Software-Market.pdf
Hussein Ali
 
PDF
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
PPTX
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
PDF
AI Prompts Cheat Code prompt engineering
Avijit Kumar Roy
 
PDF
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
PPTX
Coefficient of Variance in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
PDF
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
PPTX
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
Dipole Tech Innovations – Global IT Solutions for Business Growth
dipoletechi3
 
iaas vs paas vs saas :choosing your cloud strategy
CloudlayaTechnology
 
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
Build a Custom Agent for Agentic Testing.pptx
klpathrudu
 
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Technical-Careers-Roadmap-in-Software-Market.pdf
Hussein Ali
 
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
AI Prompts Cheat Code prompt engineering
Avijit Kumar Roy
 
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
Coefficient of Variance in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 

AWS Code-Deploy

  • 1. Presented By: Azmat Hasan Software Consultant Automate Your Deployment with AWS CODE-DEPLOY
  • 2. Our Agenda 01 Why Deployment Service? 02 CodeDeploy and its benefits 03 Deployment Types 04 Deployment Configuration 05 Steps 06 Demo
  • 5. What is CodeDeploy? CodeDeploy is a deployment service that automates application deployments to Amazon EC2 instances, on-premises instances, serverless Lambda functions, or Amazon ECS services.
  • 6. Benefits ● Server, serverless, and container applications ● Automated deployments ● Minimize downtime ● Stop and roll back ● Centralized control ● Easy to adopt ● Concurrent deployments
  • 8. What types of applications can be deployed with AWS CodeDeploy?
  • 9. Deployment Types: ● In-place deployment: The application on each instance in the deployment group is stopped, the latest application revision is installed, and the new version of the application is started and validated. ● Blue/green deployment: A blue/green deployment reroutes traffic from your application's original environment to a replacement environment.
  • 11. BLUE/GREEN Deployment A blue/green deployment reroutes traffic from your application's original environment to a replacement environment. Your environment depends on your CodeDeploy application's compute platform. ● AWS Lambda: Traffic is shifted from one version of a Lambda function to a new version of the same Lamdba function. ● Amazon ECS: Traffic is shifted from a task set in your Amazon ECS service to an updated, replacement task set in the same Amazon ECS service. ● EC2/On-Premises: Traffic is shifted from one set of instances in the original environment to a replacement set of instances.
  • 12. Deployment Configuration For EC2/On-prem Instances
  • 13. Deployment Configuration For ECS If you're using the Amazon ECS compute platform, production traffic shifts from your Amazon ECS service's original task set to a replacement task set all at once.
  • 14. Deployment Configuration For AWS Lambda ● Canary: Traffic is shifted in two increments. You can choose from predefined canary options that specify the percentage of traffic shifted to your updated Lambda function version in the first increment and the interval, in minutes, before the remaining traffic is shifted in the second increment. ● Linear: Traffic is shifted in equal increments with an equal number of minutes between each increment. You can choose from predefined linear options that specify the percentage of traffic shifted in each increment and the number of minutes between each increment. ● All-at-once: All traffic is shifted from the original Lambda function to the updated Lambda function version all at once.
  • 15. 1) Package your application (with an AppSpec) version: 0.0 os: linux files: - source: chef/ destination: /etc/chef/codedeploy - source: target/hello.war destination: /var/lib/tomcat6/webapps hooks: ApplicationStop: - location: deploy_hooks/stop-tomcat.sh BeforeInstall: - location: deploy_hooks/install-chef.sh AfterInstall: - location: deploy_hooks/knife-install.sh ApplicationStart: - location: deploy_hooks/chef-solo.sh ValidateService: - location: deploy_hooks/verify_service.sh