SlideShare a Scribd company logo
CI/CD on AWS
By
Bhargav Amin
Oct 7
About me
• Tech Blogger (http://bhargavamin.com)
• 30,000+ views / 17,000+ visitors
• 27+ articles top ranked articles on Google Search
• 90+ tech articles
• AWS Certified SA
• Owner - DevOps and Security at Entytle Inc
• Manage Infrastructure including DevOps framework
• Travel vlogger
Agenda
 Introduction to DevOps
 Understanding DevOps practices
 Designing a CI/CD pipeline
 Creating a CI/CD pipeline on AWS
Feel free to ask question any time. 
DevOps the term
DevOps the term
• Making software development cycle more efficient
• Bridging gap between Development and Operations
A combination of :
• Cultural philosophies
• Best/well-known Practices
• Tools
Deliver application and services at higher velocity.
Practices
• Monolithic Architecture
• Service Oriented Architecture/Microservices Architecture
• Infra as code
• CI/CD
CI/CD
• Continuous Integration and Delivery/Deployment
• Continually build, test and deploy
• Find and address bugs quickly
• Work on multiple things parallel
• Ship code often in small chunks
CI/CD
Developers
commits changes
Changes are
built
Code is tested Changes deployed
New updates according to feedbacks
Areas that can be automated
• Version control
• Build process
• Testing
• Configuration management
• Infrastructure provisioning
• Deployment & release
AWS
CodeCommit
AWS
CodeDeploy
AWS
CodePipeline
AWS
CodeBuild
AWS
CloudFormation
AWS
OpsWorks
Continuous Integration
Developers
commits changes
Changes are
built
Code is tested Changes deployed
Build quickly and automatically from source
Continuous Integration (CI)
Continuous Integration
• A process which allows multiple
developers to work on same
code/repository simultaneously while
making sure that the integrity of code is
maintained.
The key goals
• Find and address bugs more quickly
• Improve software quality
• Overall reduce the time taken to
validate and release new software
updates.
Continuous Delivery
Developers
commits changes
Changes are
built
Code is tested Changes deployed
Automate Build and Test, deploy when required
Not allowed
beyond this limit!
Continuous Delivery (CD)
A software development process where code changes are
automatically…
 Built
 Tested
 Prepared for release
CD integrates with CI
 Helps deploy code changes
 It takes up delivery and deployment tasks once build is complete
Workflow process
 Fully automated
 Partially automated – Includes manual steps at certain stage
Continuous Deployment
It is totally different from Continuous Delivery.
Continuous delivery includes
• Decision making
• Authorization
Continuous deployment is about
• Deploy everything once the test are succeeded
• No approval, fully automated
Suitable for testing environments, not production
Continuous Deployment
Developers
commits changes
Changes are
built
Code is tested Changes deployed
Automate Build, Test & Deploy
Take it all the way
CI/CD on AWS
Developers
commits changes
Changes
are built
Code is deployed
and tested
Changes deployed to
production
environment
CodeBuildCodeCommit
CodeDeploy
Jenkins
Solano CI
Cloudformation
Opsworks
Elastic
Beanstalk
CodePipeline
Developers
commits changes
Changes
are built
Code is deployed
and tested
Changes deployed to
production
environment
CodeBuildCodeCommit
CodeDeploy
Jenkins
Solano CI
Cloudformation
Opsworks
Elastic
Beanstalk
CodePipeline
CodePipeline
Source Build Test Release
Developers Customer
Feedbacks
Deliver new features/updated
CodePipeline
• Setup and Automate release process
• Use tools/services as every stage
• View whole process at-a-glance
• Add. Features like:
• Custom action and manual approvals
Speed up delivery
while improving quality
Source Build Test Release
Developers Customer
Feedbacks/Requests
AWS
CodePipeline
Example
CodeCommit
• Equivalent to GitHub, Bitbucket and GitLab
• Fully managed version control service
• Support Git standard (same commands)
• No limit on repos and file size
• Dead cheap ($ 1 per active user)
CodeBuild
• Fully managed build service
• Run concurrent builds at same time/scalable
• Pre-configured environments
• Build from CodeCommit,Github,Bitbucket,S3
• Build using an EC2 instance or Docker image
• Build-as-a-code using buildspec.yaml
buildspec.yaml
AWS
CodeBuild
env:
variables:
JAVA_HOME: "/usr/lib/jvm/java-8-openjdk-amd64"
parameter-store:
LOGIN_PASSWORD: "dockerLoginPassword“
phases:
install:
commands:
- apt-get install -y maven
pre_build:
commands:
- docker login –u User –p $LOGIN_PASSWORD
build:
commands:
- echo Entered the build phase...
post_build:
commands:
- echo Entered the post_build phase...
artifacts:
files:
- target/messageUtil-1.0.jar
Actions to be perform
during build phase
CodeDeploy
• Automate deployments
• Provides highly available deployment options:
• Blue/Green deployment
• In-place deployment
• Has an option to Stop or Roll back updates
• Deployment-as-a code using appspec.yaml
appspec.yaml
AWS
CodeDeploy
version: 0.0
os: linux
files:
- source: Config/config.txt
destination: /webapps/Config
- source: source
destination: /webapps/myApp
hooks:
BeforeInstall:
- location: Scripts/UnzipResourceBundle.sh
AfterInstall:
- location: Scripts/RunResourceTests.sh
timeout: 180
ApplicationStart:
- location: Scripts/RunFunctionalTests.sh
timeout: 3600
ValidateService:
- location: Scripts/MonitorService.sh
timeout: 3600
runas: codedeployuser
Tasks to performed
during deployment
Application level CI/CD
CodeBuild CodeDeploy Group of Instances
Developers
Source
Repository
CodePipeline
Application level CI/CD
CodeBuild CodeDeploy Group of Instances
Developers
Source
Repository
1. Developers
commits code to
Git Repo
CodePipeline
Application level CI/CD
CodeBuild CodeDeploy Group of Instances
Developers
Source
Repository
1. Developers
commits code to
Git Repo
2. Polls Git repo
for changes
Store Artifacts on
Bucket
CodePipeline
Application level CI/CD
CodeBuild CodeDeploy Group of Instances
Developers
Source
Repository
1. Developers
commits code to
Git Repo
2. Polls Git repo
for changes
3. Picks up artifact from
CodeBuild, deploy them to
Instances
CodePipeline
Continuous Delivery
CodeBuild CodeDeploy Group of Instances
Developers
Source
Repository
1. Developers
commits code to
Git Repo
2. Polls Git repo
for changes
4. Picks up artifact from
CodeBuild, deploy them to
Instances
CodePipeline
3. Delivered, awaiting for
manual approval
Manual
Approval
Continuous Deployment
CodeBuild CodeDeploy Group of Instances
Developers
Source
Repository
1. Developers
commits code to
Git Repo
2. Polls Git repo
for changes
3. Picks up artifact from
CodeBuild, deploy them to
Instances
CodePipeline
NO APPROVAL, FULLY AUTOMATED
Repo link for the demo
Visit : https://bhargavamin.github.io/devops-techtalk
It also includes step-by-step guide to setup CI/CD pipeline for both the demo
Demo
Manage Infrastructure using CI/CD
Bucket
CodePipeline Create stack Delete stack
Approve
stack
Test environment
Production environment
Create
Change Set
Execute
Change SetApprove
stack
1. Updated CF
template
DevOps
2. Upload CF
changes to S3
bucket
3. The changes on S3
bucket triggers
Pipeline execution
4. CP will create a
Test stack
5. After testing,
manual approval
is required
6. Changes are
incorrect or has
issues, the stack will
be deleted
7. If changes are
approved, A
production stack
will be created.
8. Once approved,
The change set will
be deployed prod
env
Demo
A continuous process which will involve making significant
changes that will increase speed of software delivery
DevOps
Github/bhargavamin
Website/bhargavamin.com
LinkedIn/bhargavamin
Twitter/@bhargav7amin
Mail/bhargavamin@outlook.in
Let’s connect

More Related Content

PPTX
DevOps: Age Of CI/CD
MoogleLabs default
 
PDF
CI/CD (DevOps) 101
Hazzim Anaya
 
PDF
"DevOps > CI+CD "
Innovation Roots
 
PDF
Jenkins Pipeline Tutorial | Continuous Delivery Pipeline Using Jenkins | DevO...
Edureka!
 
PPTX
Understanding AWS CodePipeline Presentation
Knoldus Inc.
 
PPTX
Devops architecture
Ojasvi Jagtap
 
PPTX
DevOps explained
Jérôme Kehrli
 
PDF
DevOps and AWS
Shiva Narayanaswamy
 
DevOps: Age Of CI/CD
MoogleLabs default
 
CI/CD (DevOps) 101
Hazzim Anaya
 
"DevOps > CI+CD "
Innovation Roots
 
Jenkins Pipeline Tutorial | Continuous Delivery Pipeline Using Jenkins | DevO...
Edureka!
 
Understanding AWS CodePipeline Presentation
Knoldus Inc.
 
Devops architecture
Ojasvi Jagtap
 
DevOps explained
Jérôme Kehrli
 
DevOps and AWS
Shiva Narayanaswamy
 

What's hot (20)

PDF
CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...
Edureka!
 
PPTX
DevOps
Gehad Elsayed
 
PDF
Introduction to GitHub Actions
Knoldus Inc.
 
PPTX
Gitlab CI/CD
JEMLI Fathi
 
PPTX
DevOps and Continuous Delivery Reference Architectures (including Nexus and o...
Sonatype
 
PPTX
DevOps on AZURE
Juan Fabian
 
PPTX
DevOps introduction
Mettje Heegstra
 
PDF
Introduction to CICD
Knoldus Inc.
 
PDF
DevOps - A Gentle Introduction
CodeOps Technologies LLP
 
PDF
Continuous Integration/Deployment with Gitlab CI
David Hahn
 
PDF
Demystifying DevSecOps
Archana Joshi
 
PPTX
Getting Started with Azure Artifacts
Callon Campbell
 
PDF
The State of DevSecOps
DevOps Indonesia
 
PDF
Gitlab, GitOps & ArgoCD
Haggai Philip Zagury
 
PDF
DevOps Powerpoint Presentation Slides
SlideTeam
 
PPTX
DEVSECOPS.pptx
MohammadSaif904342
 
PDF
Gitops Hands On
Brice Fernandes
 
PDF
Azure DevOps Presentation
InCycleSoftware
 
PPTX
Devops online training ppt
KhalidQureshi31
 
CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...
Edureka!
 
Introduction to GitHub Actions
Knoldus Inc.
 
Gitlab CI/CD
JEMLI Fathi
 
DevOps and Continuous Delivery Reference Architectures (including Nexus and o...
Sonatype
 
DevOps on AZURE
Juan Fabian
 
DevOps introduction
Mettje Heegstra
 
Introduction to CICD
Knoldus Inc.
 
DevOps - A Gentle Introduction
CodeOps Technologies LLP
 
Continuous Integration/Deployment with Gitlab CI
David Hahn
 
Demystifying DevSecOps
Archana Joshi
 
Getting Started with Azure Artifacts
Callon Campbell
 
The State of DevSecOps
DevOps Indonesia
 
Gitlab, GitOps & ArgoCD
Haggai Philip Zagury
 
DevOps Powerpoint Presentation Slides
SlideTeam
 
DEVSECOPS.pptx
MohammadSaif904342
 
Gitops Hands On
Brice Fernandes
 
Azure DevOps Presentation
InCycleSoftware
 
Devops online training ppt
KhalidQureshi31
 
Ad

Similar to CI/CD on AWS (20)

PDF
A Pathway to Continuous Integration/Continuous Delivery on AWS
Bhuvaneswari Subramani
 
PDF
CI&CD on AWS - Meetup Roma Oct 2016
Paolo latella
 
PDF
CI & CD on Amazon Web Services
Paolo latella
 
PDF
CI&CD with AWS - AWS Prague User Group - May 2015
Vladimir Simek
 
PPTX
DevOps and AWS - Code PaLOUsa 2017
James Strong
 
PPTX
AWS Codepipeline presented by Techserverglobal
HarpalGohil4
 
PDF
Continuous Deployment with Amazon Web Services
Julien SIMON
 
PDF
CI CD using AWS Developer Tools @ AWS Community Day Bengaluru 2018
Bhuvaneswari Subramani
 
PDF
CI/CD using AWS developer tools
AWS User Group Bengaluru
 
PPTX
Devops on AWS
AWS Riyadh User Group
 
PPTX
CI/CD using CodeCommit CodeBuild CodeDeploy CodePipeline
genesesoftware
 
PDF
CI/CD Pipelines for Your Infrastructure...as Code!
Harvey Bendaña
 
PPTX
ACDKOCHI19 - CI / CD using AWS Developer Tools
AWS User Group Kochi
 
PPTX
DevOps On AWS - Deep Dive on Continuous Delivery
Mikhail Prudnikov
 
PDF
Community day _aws_ci_cd_v0.2
VijayaNirmalaGopal
 
PDF
DevOps Spain 2019. Pedro Mendoza-AWS
atSistemas
 
PPTX
CICD Pipeline - AWS Azure
Ratan Das
 
PDF
Datatree.io Webinar: Continuous Integration & Delivery for Agile Teams
Tara Walker
 
PDF
CI CD using AWS Developer Tools @ AWS Community Day Chennai 2019
Bhuvaneswari Subramani
 
PPTX
imagic 2.pptx
kalpeshchavda12
 
A Pathway to Continuous Integration/Continuous Delivery on AWS
Bhuvaneswari Subramani
 
CI&CD on AWS - Meetup Roma Oct 2016
Paolo latella
 
CI & CD on Amazon Web Services
Paolo latella
 
CI&CD with AWS - AWS Prague User Group - May 2015
Vladimir Simek
 
DevOps and AWS - Code PaLOUsa 2017
James Strong
 
AWS Codepipeline presented by Techserverglobal
HarpalGohil4
 
Continuous Deployment with Amazon Web Services
Julien SIMON
 
CI CD using AWS Developer Tools @ AWS Community Day Bengaluru 2018
Bhuvaneswari Subramani
 
CI/CD using AWS developer tools
AWS User Group Bengaluru
 
Devops on AWS
AWS Riyadh User Group
 
CI/CD using CodeCommit CodeBuild CodeDeploy CodePipeline
genesesoftware
 
CI/CD Pipelines for Your Infrastructure...as Code!
Harvey Bendaña
 
ACDKOCHI19 - CI / CD using AWS Developer Tools
AWS User Group Kochi
 
DevOps On AWS - Deep Dive on Continuous Delivery
Mikhail Prudnikov
 
Community day _aws_ci_cd_v0.2
VijayaNirmalaGopal
 
DevOps Spain 2019. Pedro Mendoza-AWS
atSistemas
 
CICD Pipeline - AWS Azure
Ratan Das
 
Datatree.io Webinar: Continuous Integration & Delivery for Agile Teams
Tara Walker
 
CI CD using AWS Developer Tools @ AWS Community Day Chennai 2019
Bhuvaneswari Subramani
 
imagic 2.pptx
kalpeshchavda12
 
Ad

Recently uploaded (20)

PDF
Software Development Methodologies in 2025
KodekX
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
PDF
Doc9.....................................
SofiaCollazos
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
Software Development Methodologies in 2025
KodekX
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
Doc9.....................................
SofiaCollazos
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 

CI/CD on AWS

  • 2. About me • Tech Blogger (http://bhargavamin.com) • 30,000+ views / 17,000+ visitors • 27+ articles top ranked articles on Google Search • 90+ tech articles • AWS Certified SA • Owner - DevOps and Security at Entytle Inc • Manage Infrastructure including DevOps framework • Travel vlogger
  • 3. Agenda  Introduction to DevOps  Understanding DevOps practices  Designing a CI/CD pipeline  Creating a CI/CD pipeline on AWS Feel free to ask question any time. 
  • 5. DevOps the term • Making software development cycle more efficient • Bridging gap between Development and Operations A combination of : • Cultural philosophies • Best/well-known Practices • Tools Deliver application and services at higher velocity.
  • 6. Practices • Monolithic Architecture • Service Oriented Architecture/Microservices Architecture • Infra as code • CI/CD
  • 7. CI/CD • Continuous Integration and Delivery/Deployment • Continually build, test and deploy • Find and address bugs quickly • Work on multiple things parallel • Ship code often in small chunks
  • 8. CI/CD Developers commits changes Changes are built Code is tested Changes deployed New updates according to feedbacks
  • 9. Areas that can be automated • Version control • Build process • Testing • Configuration management • Infrastructure provisioning • Deployment & release AWS CodeCommit AWS CodeDeploy AWS CodePipeline AWS CodeBuild AWS CloudFormation AWS OpsWorks
  • 10. Continuous Integration Developers commits changes Changes are built Code is tested Changes deployed Build quickly and automatically from source
  • 11. Continuous Integration (CI) Continuous Integration • A process which allows multiple developers to work on same code/repository simultaneously while making sure that the integrity of code is maintained. The key goals • Find and address bugs more quickly • Improve software quality • Overall reduce the time taken to validate and release new software updates.
  • 12. Continuous Delivery Developers commits changes Changes are built Code is tested Changes deployed Automate Build and Test, deploy when required Not allowed beyond this limit!
  • 13. Continuous Delivery (CD) A software development process where code changes are automatically…  Built  Tested  Prepared for release CD integrates with CI  Helps deploy code changes  It takes up delivery and deployment tasks once build is complete Workflow process  Fully automated  Partially automated – Includes manual steps at certain stage
  • 14. Continuous Deployment It is totally different from Continuous Delivery. Continuous delivery includes • Decision making • Authorization Continuous deployment is about • Deploy everything once the test are succeeded • No approval, fully automated Suitable for testing environments, not production
  • 15. Continuous Deployment Developers commits changes Changes are built Code is tested Changes deployed Automate Build, Test & Deploy Take it all the way
  • 16. CI/CD on AWS Developers commits changes Changes are built Code is deployed and tested Changes deployed to production environment CodeBuildCodeCommit CodeDeploy Jenkins Solano CI Cloudformation Opsworks Elastic Beanstalk
  • 17. CodePipeline Developers commits changes Changes are built Code is deployed and tested Changes deployed to production environment CodeBuildCodeCommit CodeDeploy Jenkins Solano CI Cloudformation Opsworks Elastic Beanstalk CodePipeline
  • 18. CodePipeline Source Build Test Release Developers Customer Feedbacks Deliver new features/updated
  • 19. CodePipeline • Setup and Automate release process • Use tools/services as every stage • View whole process at-a-glance • Add. Features like: • Custom action and manual approvals Speed up delivery while improving quality Source Build Test Release Developers Customer Feedbacks/Requests
  • 21. CodeCommit • Equivalent to GitHub, Bitbucket and GitLab • Fully managed version control service • Support Git standard (same commands) • No limit on repos and file size • Dead cheap ($ 1 per active user)
  • 22. CodeBuild • Fully managed build service • Run concurrent builds at same time/scalable • Pre-configured environments • Build from CodeCommit,Github,Bitbucket,S3 • Build using an EC2 instance or Docker image • Build-as-a-code using buildspec.yaml
  • 23. buildspec.yaml AWS CodeBuild env: variables: JAVA_HOME: "/usr/lib/jvm/java-8-openjdk-amd64" parameter-store: LOGIN_PASSWORD: "dockerLoginPassword“ phases: install: commands: - apt-get install -y maven pre_build: commands: - docker login –u User –p $LOGIN_PASSWORD build: commands: - echo Entered the build phase... post_build: commands: - echo Entered the post_build phase... artifacts: files: - target/messageUtil-1.0.jar Actions to be perform during build phase
  • 24. CodeDeploy • Automate deployments • Provides highly available deployment options: • Blue/Green deployment • In-place deployment • Has an option to Stop or Roll back updates • Deployment-as-a code using appspec.yaml
  • 25. appspec.yaml AWS CodeDeploy version: 0.0 os: linux files: - source: Config/config.txt destination: /webapps/Config - source: source destination: /webapps/myApp hooks: BeforeInstall: - location: Scripts/UnzipResourceBundle.sh AfterInstall: - location: Scripts/RunResourceTests.sh timeout: 180 ApplicationStart: - location: Scripts/RunFunctionalTests.sh timeout: 3600 ValidateService: - location: Scripts/MonitorService.sh timeout: 3600 runas: codedeployuser Tasks to performed during deployment
  • 26. Application level CI/CD CodeBuild CodeDeploy Group of Instances Developers Source Repository CodePipeline
  • 27. Application level CI/CD CodeBuild CodeDeploy Group of Instances Developers Source Repository 1. Developers commits code to Git Repo CodePipeline
  • 28. Application level CI/CD CodeBuild CodeDeploy Group of Instances Developers Source Repository 1. Developers commits code to Git Repo 2. Polls Git repo for changes Store Artifacts on Bucket CodePipeline
  • 29. Application level CI/CD CodeBuild CodeDeploy Group of Instances Developers Source Repository 1. Developers commits code to Git Repo 2. Polls Git repo for changes 3. Picks up artifact from CodeBuild, deploy them to Instances CodePipeline
  • 30. Continuous Delivery CodeBuild CodeDeploy Group of Instances Developers Source Repository 1. Developers commits code to Git Repo 2. Polls Git repo for changes 4. Picks up artifact from CodeBuild, deploy them to Instances CodePipeline 3. Delivered, awaiting for manual approval Manual Approval
  • 31. Continuous Deployment CodeBuild CodeDeploy Group of Instances Developers Source Repository 1. Developers commits code to Git Repo 2. Polls Git repo for changes 3. Picks up artifact from CodeBuild, deploy them to Instances CodePipeline NO APPROVAL, FULLY AUTOMATED
  • 32. Repo link for the demo Visit : https://bhargavamin.github.io/devops-techtalk It also includes step-by-step guide to setup CI/CD pipeline for both the demo
  • 33. Demo
  • 34. Manage Infrastructure using CI/CD Bucket CodePipeline Create stack Delete stack Approve stack Test environment Production environment Create Change Set Execute Change SetApprove stack 1. Updated CF template DevOps 2. Upload CF changes to S3 bucket 3. The changes on S3 bucket triggers Pipeline execution 4. CP will create a Test stack 5. After testing, manual approval is required 6. Changes are incorrect or has issues, the stack will be deleted 7. If changes are approved, A production stack will be created. 8. Once approved, The change set will be deployed prod env
  • 35. Demo
  • 36. A continuous process which will involve making significant changes that will increase speed of software delivery DevOps

Editor's Notes

  • #3: Asdhaskdjasdasd
  • #7: MA- Take whole code deploy whole thing together, if one thing fails- deployment fails Micro- Divide a software/product, makes it easy to manage by smaller teams, ownership, focused approach, faster delivery/updates, no centralized change management IAC- Automate static stacks, actions as code, easily manage versions, quick to deploy with systematic approach
  • #9: For major stages for software delivery
  • #11: For major stages for software delivery
  • #13: For major stages for software delivery
  • #16: For major stages for software delivery
  • #25: With CodeDeploy, you can choose the specific settings for your blue/green deployments. For example, you can choose to manually provision the new instances or let CodeDeploy provision them for you by copying an existing Auto Scaling group. You can also choose when to reroute traffic to the new instances, the rate at which traffic is routed to them, and whether to terminate your old instances upon completion.
  • #26: Agent looks for a instruction file which resides in root of your source