SlideShare a Scribd company logo
AWS UG Meetup
DELHI
AWS User Group Meetup
AWS UG Meetup
CI CD using AWS Developer Tools
Bhuvaneswari Subramani | 4th April 2020
AWS UG Meetup
AWS UG Meetup
Bhuvaneswari Subramani (Bhuvana)
Director, Engineering Operations, Infor
AWS Community Hero
Currently working on Cloud Computing, DevOps &, Performance QA
https://installjournal.blogspot.com
AWS UG Meetup
Agenda
• AWS CI CD Services Overview
• Use case leveraging AWS CI CD Services
• WebApp Deployment
• Infrastructure Rollouts + WebApp Deployment
• buildspec, appspec
• Debugging Build & Deployment
• Rollback Deployments
• Metrics to gauge DevOps
AWS UG Meetup
AWS CI CD Services - Overview
AWS UG Meetup
Software Release Phases
Source Build Test Deploy
Testing
• Integration Test
• UI Test
• Load Test
• Penetration Tests
Deployment
Deployment to Prod
Environments
Code Management
• Check-in source code
• Peer review new code
• Version Control
• Multi-enterprise
Package Creation
• Compile Code
• Run Unit Tests
• Create Container
Images
Continuous Integration
Continuous Delivery
AWS UG Meetup
Software Release Phases vs AWS CI CD Services
Source Build Test Deploy
AWS CodeCommit AWS CodeBuild Third Party Tooling AWS CodeDeploy
AWS
CodePipeline
AWS UG Meetup
Plight of Self Managed
Source Control Repo
AWS UG Meetup
AWS CodeCommit
• Secure, Scalable, and managed Git Source control
• Use Standard git tools
• Scalability, availability and durability of Amazon S3 &
Amazon Dynamo DB
• No repo size limit
• Post commit hooks to call out to SNS / Lambda
AWS UG Meetup
Visualizer Compare Pull Request
AWS CodeCommit
AWS UG Meetup
AWS CodeCommit - Demo
AWS UG Meetup
When there is no
CI CD??
AWS UG Meetup
AWS CodeBuild
• Fully managed build service that compiles source code, run
tests, and produces software packages
• Scales continuously and processes multiple builds
• You can provide custom build environments suited to your
needs via Docker images
• Only pay by the minute for the compute resources you use
• Launched with Services like CodePipeline or Jenkins
AWS UG Meetup
AWS CodeBuild Project
Where to get the
source code?
Which build
environment to use?
Where to store the
artifact?
Where to store the
build logs?
AWS UG Meetup
Let’s Go Build
AWS UG Meetup
AWS CodeDeploy
• Automates code deployments to EC2 / On-prem
• Handles the complexity of updating your applications
• Minimal deployment downtime
• Rollback automatically, if failure detected
• Supports varied languages and operating systems
• Integrates with third-party tools like Jenkins
AWS UG Meetup
Revision 1
Application
Revision 2
Revision 3
Revision n
Instance 1
Deployment Group
Instance 2
Instance 3
Instance n
Deployments
Deploy
Config
appspe
c.yml
In-place
deployment
AWS CodeDeploy Components
AWS UG Meetup
Revision 1
Application
Revision 2
Revision 3
Revision n
Instance 1
Deployment Group
Instance 2
Instance 3
Instance n
Deployments
Deploy
Config
appspe
c.yml
In-place
deployment
AWS CodeDeploy Components
What to
deploy?
Where to
deploy?
How to
deploy?
AWS UG Meetup
Let’s create a CodeDeploy project
AWS UG Meetup
AWS CodePipeline
• Continuous delivery service for fast and reliable application
updates
• Model and visualize your software release process
• Builds, tests and deploys your code on every commit
• Integrates with third-party tools
AWS UG Meetup
Action Action
Stage
Action Action
Stage
Action
Transition
AWS CodePipeline
AWS UG Meetup
Quick look @ pricing*
• AWS CodeCommit: Anyone with an AWS account can get started with AWS
CodeCommit for free. Your account gets 5 active users per month for free (within
limits), after which you pay $1 per additional active user per month.
• AWS CodeBuild: Only pay by minute for the compute resources you use.
• AWS CodeDeploy: There is no additional charge for code deployments to Amazon EC2
instances through AWS CodeDeploy. You pay $0.02 per on-premises instance update
using AWS CodeDeploy.
• AWS CodePipeline: You pay only for what you use. AWS CodePipeline costs $1 per
active pipeline* per month. To encourage experimentation, pipelines are free for the
first 30 days after creation.
* Pricing as on Sep 2019
AWS UG Meetup
Let’s setup up a Pipeline
AWS UG Meetup
AWS CD CD Workflows
Web Application Deployment
Infrastructure Rollouts
AWS UG Meetup
Use Case – Web Application Deployment
• In-place deployment to EC2 Instance
• Stop the Tomcat Service
• Install Tomcat & deploy WebApp through instructions from appspec.yml
• Start the Tomcat Service
AWS UG MeetupWeb Application Deployment
AWS UG Meetup
Web Application
Deployment
AWS UG Meetup
Use Case - Infrastructure Rollouts & Web App Deployment
• IaC using Cloud Formation Template
• Create an EC2 Instance
• Install CodeDeploy agent through UserData
• Add specific tag `Name = WebApp`
• Deploy Web Application
• Install Tomcat & deploy WebApp through instructions from appspec.yml
AWS UG MeetupInfrastructure Rollouts & Web App Deployment
AWS UG Meetup
Source Build Deploy
Infrastructure Rollouts & Web App Deployment
AWS UG Meetup
Infrastructure Rollout +
Web App Deployment
AWS UG Meetup
buildspec.yml & appspec.yml files
AWS UG Meetup
buildspec.yml
buildspec.yml from Web Application Deployments
AWS UG Meetup
buildspec.yml from Web Application Deployments
buildspec.yml
Create & store an artifact in S3
AWS UG Meetup
appspec.yml
appspec.yml from Web Application Deployments
AWS UG Meetup
appspec.yml
appspec.yml from Web Application Deployments
Files to be copied to the
instance during deployment’s
install
AWS UG Meetup
Debugging, Rollback & Metrics
AWS UG Meetup
Debugging Builds
• Enable Logging in CloudWatch / S3
AWS UG Meetup
Debugging Builds
• Enable Logging in CloudWatch / S3
• Local Build Support for AWS CodeBuild
• Get the AWS CodeBuild docker image file from AWS
Github
• Build the CodeBuild image locally
• Setup CodeBuild local Agent
• Use the local agent to build your project
AWS UG Meetup
Debugging Deployments
• CodeDeploy agent generates agent, updater & deployment logs
• Send them to CloudWatch for debugging
• CodeDeploy agent logs [EC2/On-prem only]
• /var/log/aws/codedeploy-agent/codedeploy-agent.log
AWS UG Meetup
Debugging Deployments
• CodeDeploy agent generates agent, updater & deployment logs
• Send them to CloudWatch for debugging
• CodeDeploy agent logs [EC2/On-prem only]
• /var/log/aws/codedeploy-agent/codedeploy-agent.log
• CodeDeploy deployment logs
• /opt/codedeploy-agent/deployment-root/deployment-logs/
• CodeDeploy updater logs
• /tmp/codedeploy-agent.update.log
AWS UG Meetup
Rollback Deployments
• Rollback in AWS is actually ====>
• Configure re-deploy by enabling
• Code deploy -> Rollbacks >
• Code deploy -> ‘Automatic Rollbacks’
• Deployment Configuration to enable rollback based on healthy instances
AWS UG Meetup
Metrics to gauge DevOps
• Rapid Delivery with Increased Efficiency
• Increased Feature releases with reduced TTM
• Quicker feedback (system/user) to teams & stake holders
• Greater % of defects detected in testing (Unit & SIT Cycles)
• Ticket / Incidents volume reduction in PreProd & Prod
• High Availability
• Elastic & Scalable Infrastructure
AWS UG Meetup
Mind Map
Web Application Deployment
Pipeline Setup
AWS UG MeetupMind Map – Prerequisite Setup
1
AWS UG MeetupMind Map – CodeCommit Repo Setup
2
AWS UG MeetupMind Map – Create CodeBuild Project
3
AWS UG MeetupMind Map – Create CodeDeploy Project
4
AWS UG MeetupMind Map – Create CodePipeline
5
AWS UG Meetup
DevOps Journey begins…
https://installjournal.blogspot.com
https://www.linkedin.com/in/bhuvanas/
@installjournal

More Related Content

What's hot (9)

PPTX
Integrate AWS CodeDeploy With Git And Deploy A Revision
devopsjourney
 
PDF
Developer Experience at the Guardian, Equal Experts Sept 2021
Akash Askoolum
 
PDF
AWS CodeCommit, CodeDeploy & CodePipeline
Julien SIMON
 
PDF
Serverless use cases with AWS Lambda - More Serverless Event
Boaz Ziniman
 
PPTX
CI/CD on AWS
Bhargav Amin
 
PDF
Intro to js august 31
Thinkful
 
PDF
Devops with Amazon Web Services (January 2017)
Julien SIMON
 
PDF
AWS re:Invent re:Cap - 배포를 더욱 손쉽고 빠르게: Amazon EC2 Container Service - 김일호
Amazon Web Services Korea
 
PPTX
Development tools
Parag Patil
 
Integrate AWS CodeDeploy With Git And Deploy A Revision
devopsjourney
 
Developer Experience at the Guardian, Equal Experts Sept 2021
Akash Askoolum
 
AWS CodeCommit, CodeDeploy & CodePipeline
Julien SIMON
 
Serverless use cases with AWS Lambda - More Serverless Event
Boaz Ziniman
 
CI/CD on AWS
Bhargav Amin
 
Intro to js august 31
Thinkful
 
Devops with Amazon Web Services (January 2017)
Julien SIMON
 
AWS re:Invent re:Cap - 배포를 더욱 손쉽고 빠르게: Amazon EC2 Container Service - 김일호
Amazon Web Services Korea
 
Development tools
Parag Patil
 

Similar to CI CD using AWS Developer Tools Online Workshop (12)

PPTX
ACDKOCHI19 - CI / CD using AWS Developer Tools
AWS User Group Kochi
 
PDF
Continuous Deployment with Amazon Web Services
Julien SIMON
 
PPTX
Harnessing the power of aws using dot net
Dror Helper
 
PPTX
Aws User Group Singapore Presentation Oct-21-2020
Varun Manik
 
PDF
Rome .NET Conference 2024 - Remote Conference
Hamida Rebai Trabelsi
 
PDF
CI CD using AWS Developer Tools @ AWS Community Day Chennai 2019
Bhuvaneswari Subramani
 
PDF
Harnessing the power of aws using dot net core
Dror Helper
 
PDF
CI&CD on AWS - Meetup Roma Oct 2016
Paolo latella
 
PDF
Build containerized application using Docker and Azure.pdf
Hamida Rebai Trabelsi
 
PPTX
End-to-End CI/CD at scale with Infrastructure-as-Code on AWS
Bhuvaneswari Subramani
 
PDF
Aws container webinar day 2
HoseokSeo7
 
PPTX
Developing in the Cloud
Ryan Cuprak
 
ACDKOCHI19 - CI / CD using AWS Developer Tools
AWS User Group Kochi
 
Continuous Deployment with Amazon Web Services
Julien SIMON
 
Harnessing the power of aws using dot net
Dror Helper
 
Aws User Group Singapore Presentation Oct-21-2020
Varun Manik
 
Rome .NET Conference 2024 - Remote Conference
Hamida Rebai Trabelsi
 
CI CD using AWS Developer Tools @ AWS Community Day Chennai 2019
Bhuvaneswari Subramani
 
Harnessing the power of aws using dot net core
Dror Helper
 
CI&CD on AWS - Meetup Roma Oct 2016
Paolo latella
 
Build containerized application using Docker and Azure.pdf
Hamida Rebai Trabelsi
 
End-to-End CI/CD at scale with Infrastructure-as-Code on AWS
Bhuvaneswari Subramani
 
Aws container webinar day 2
HoseokSeo7
 
Developing in the Cloud
Ryan Cuprak
 
Ad

More from Bhuvaneswari Subramani (17)

PDF
Application Modernization with AWS - A Transformation in Digital Era
Bhuvaneswari Subramani
 
PDF
The Operations effect of Dev, Data, ML and FM
Bhuvaneswari Subramani
 
PDF
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Bhuvaneswari Subramani
 
PDF
Architecting for Success: Designing Secure GCP Landing Zone for Enterprises
Bhuvaneswari Subramani
 
PDF
How AWS Community in India reflects Unity in Diversity
Bhuvaneswari Subramani
 
PDF
An Insight Into Cloud Migration Story
Bhuvaneswari Subramani
 
PDF
COM 203 Enable continuous delivery and resiliency for a static website
Bhuvaneswari Subramani
 
PDF
LoadRunner walkthrough
Bhuvaneswari Subramani
 
PDF
Jmeter Walkthrough
Bhuvaneswari Subramani
 
PDF
Fundamentals Performance Testing
Bhuvaneswari Subramani
 
PDF
Fundamentals of Cloud Computing & AWS
Bhuvaneswari Subramani
 
PDF
Demystifying DevOps
Bhuvaneswari Subramani
 
PPTX
Industry Awareness to KSRCT
Bhuvaneswari Subramani
 
PDF
IndiaCloudSummit - Transforming to feature-driven development
Bhuvaneswari Subramani
 
PDF
AWS Organizations & Service Control Policy
Bhuvaneswari Subramani
 
PDF
AWS reinvent 2019 - Transforming to feature-driven development
Bhuvaneswari Subramani
 
PDF
Fundamentals of Cloud Computing & AWS
Bhuvaneswari Subramani
 
Application Modernization with AWS - A Transformation in Digital Era
Bhuvaneswari Subramani
 
The Operations effect of Dev, Data, ML and FM
Bhuvaneswari Subramani
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Bhuvaneswari Subramani
 
Architecting for Success: Designing Secure GCP Landing Zone for Enterprises
Bhuvaneswari Subramani
 
How AWS Community in India reflects Unity in Diversity
Bhuvaneswari Subramani
 
An Insight Into Cloud Migration Story
Bhuvaneswari Subramani
 
COM 203 Enable continuous delivery and resiliency for a static website
Bhuvaneswari Subramani
 
LoadRunner walkthrough
Bhuvaneswari Subramani
 
Jmeter Walkthrough
Bhuvaneswari Subramani
 
Fundamentals Performance Testing
Bhuvaneswari Subramani
 
Fundamentals of Cloud Computing & AWS
Bhuvaneswari Subramani
 
Demystifying DevOps
Bhuvaneswari Subramani
 
Industry Awareness to KSRCT
Bhuvaneswari Subramani
 
IndiaCloudSummit - Transforming to feature-driven development
Bhuvaneswari Subramani
 
AWS Organizations & Service Control Policy
Bhuvaneswari Subramani
 
AWS reinvent 2019 - Transforming to feature-driven development
Bhuvaneswari Subramani
 
Fundamentals of Cloud Computing & AWS
Bhuvaneswari Subramani
 
Ad

Recently uploaded (20)

PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Smart Air Quality Monitoring with Serrax AQM190 LITE
SERRAX TECHNOLOGIES LLP
 
PDF
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
PPTX
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
PDF
Apache CloudStack 201: Let's Design & Build an IaaS Cloud
ShapeBlue
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PPTX
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
PDF
Rethinking Security Operations - SOC Evolution Journey.pdf
Haris Chughtai
 
PPT
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
PDF
Français Patch Tuesday - Juillet
Ivanti
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
PDF
Wojciech Ciemski for Top Cyber News MAGAZINE. June 2025
Dr. Ludmila Morozova-Buss
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
PDF
Persuasive AI: risks and opportunities in the age of digital debate
Speck&Tech
 
PDF
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Smart Air Quality Monitoring with Serrax AQM190 LITE
SERRAX TECHNOLOGIES LLP
 
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
Apache CloudStack 201: Let's Design & Build an IaaS Cloud
ShapeBlue
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
Rethinking Security Operations - SOC Evolution Journey.pdf
Haris Chughtai
 
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
Français Patch Tuesday - Juillet
Ivanti
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
Wojciech Ciemski for Top Cyber News MAGAZINE. June 2025
Dr. Ludmila Morozova-Buss
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
Persuasive AI: risks and opportunities in the age of digital debate
Speck&Tech
 
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 

CI CD using AWS Developer Tools Online Workshop

  • 1. AWS UG Meetup DELHI AWS User Group Meetup
  • 2. AWS UG Meetup CI CD using AWS Developer Tools Bhuvaneswari Subramani | 4th April 2020 AWS UG Meetup
  • 3. AWS UG Meetup Bhuvaneswari Subramani (Bhuvana) Director, Engineering Operations, Infor AWS Community Hero Currently working on Cloud Computing, DevOps &, Performance QA https://installjournal.blogspot.com
  • 4. AWS UG Meetup Agenda • AWS CI CD Services Overview • Use case leveraging AWS CI CD Services • WebApp Deployment • Infrastructure Rollouts + WebApp Deployment • buildspec, appspec • Debugging Build & Deployment • Rollback Deployments • Metrics to gauge DevOps
  • 5. AWS UG Meetup AWS CI CD Services - Overview
  • 6. AWS UG Meetup Software Release Phases Source Build Test Deploy Testing • Integration Test • UI Test • Load Test • Penetration Tests Deployment Deployment to Prod Environments Code Management • Check-in source code • Peer review new code • Version Control • Multi-enterprise Package Creation • Compile Code • Run Unit Tests • Create Container Images Continuous Integration Continuous Delivery
  • 7. AWS UG Meetup Software Release Phases vs AWS CI CD Services Source Build Test Deploy AWS CodeCommit AWS CodeBuild Third Party Tooling AWS CodeDeploy AWS CodePipeline
  • 8. AWS UG Meetup Plight of Self Managed Source Control Repo
  • 9. AWS UG Meetup AWS CodeCommit • Secure, Scalable, and managed Git Source control • Use Standard git tools • Scalability, availability and durability of Amazon S3 & Amazon Dynamo DB • No repo size limit • Post commit hooks to call out to SNS / Lambda
  • 10. AWS UG Meetup Visualizer Compare Pull Request AWS CodeCommit
  • 11. AWS UG Meetup AWS CodeCommit - Demo
  • 12. AWS UG Meetup When there is no CI CD??
  • 13. AWS UG Meetup AWS CodeBuild • Fully managed build service that compiles source code, run tests, and produces software packages • Scales continuously and processes multiple builds • You can provide custom build environments suited to your needs via Docker images • Only pay by the minute for the compute resources you use • Launched with Services like CodePipeline or Jenkins
  • 14. AWS UG Meetup AWS CodeBuild Project Where to get the source code? Which build environment to use? Where to store the artifact? Where to store the build logs?
  • 16. AWS UG Meetup AWS CodeDeploy • Automates code deployments to EC2 / On-prem • Handles the complexity of updating your applications • Minimal deployment downtime • Rollback automatically, if failure detected • Supports varied languages and operating systems • Integrates with third-party tools like Jenkins
  • 17. AWS UG Meetup Revision 1 Application Revision 2 Revision 3 Revision n Instance 1 Deployment Group Instance 2 Instance 3 Instance n Deployments Deploy Config appspe c.yml In-place deployment AWS CodeDeploy Components
  • 18. AWS UG Meetup Revision 1 Application Revision 2 Revision 3 Revision n Instance 1 Deployment Group Instance 2 Instance 3 Instance n Deployments Deploy Config appspe c.yml In-place deployment AWS CodeDeploy Components What to deploy? Where to deploy? How to deploy?
  • 19. AWS UG Meetup Let’s create a CodeDeploy project
  • 20. AWS UG Meetup AWS CodePipeline • Continuous delivery service for fast and reliable application updates • Model and visualize your software release process • Builds, tests and deploys your code on every commit • Integrates with third-party tools
  • 21. AWS UG Meetup Action Action Stage Action Action Stage Action Transition AWS CodePipeline
  • 22. AWS UG Meetup Quick look @ pricing* • AWS CodeCommit: Anyone with an AWS account can get started with AWS CodeCommit for free. Your account gets 5 active users per month for free (within limits), after which you pay $1 per additional active user per month. • AWS CodeBuild: Only pay by minute for the compute resources you use. • AWS CodeDeploy: There is no additional charge for code deployments to Amazon EC2 instances through AWS CodeDeploy. You pay $0.02 per on-premises instance update using AWS CodeDeploy. • AWS CodePipeline: You pay only for what you use. AWS CodePipeline costs $1 per active pipeline* per month. To encourage experimentation, pipelines are free for the first 30 days after creation. * Pricing as on Sep 2019
  • 23. AWS UG Meetup Let’s setup up a Pipeline
  • 24. AWS UG Meetup AWS CD CD Workflows Web Application Deployment Infrastructure Rollouts
  • 25. AWS UG Meetup Use Case – Web Application Deployment • In-place deployment to EC2 Instance • Stop the Tomcat Service • Install Tomcat & deploy WebApp through instructions from appspec.yml • Start the Tomcat Service
  • 26. AWS UG MeetupWeb Application Deployment
  • 27. AWS UG Meetup Web Application Deployment
  • 28. AWS UG Meetup Use Case - Infrastructure Rollouts & Web App Deployment • IaC using Cloud Formation Template • Create an EC2 Instance • Install CodeDeploy agent through UserData • Add specific tag `Name = WebApp` • Deploy Web Application • Install Tomcat & deploy WebApp through instructions from appspec.yml
  • 29. AWS UG MeetupInfrastructure Rollouts & Web App Deployment
  • 30. AWS UG Meetup Source Build Deploy Infrastructure Rollouts & Web App Deployment
  • 31. AWS UG Meetup Infrastructure Rollout + Web App Deployment
  • 32. AWS UG Meetup buildspec.yml & appspec.yml files
  • 33. AWS UG Meetup buildspec.yml buildspec.yml from Web Application Deployments
  • 34. AWS UG Meetup buildspec.yml from Web Application Deployments buildspec.yml Create & store an artifact in S3
  • 35. AWS UG Meetup appspec.yml appspec.yml from Web Application Deployments
  • 36. AWS UG Meetup appspec.yml appspec.yml from Web Application Deployments Files to be copied to the instance during deployment’s install
  • 37. AWS UG Meetup Debugging, Rollback & Metrics
  • 38. AWS UG Meetup Debugging Builds • Enable Logging in CloudWatch / S3
  • 39. AWS UG Meetup Debugging Builds • Enable Logging in CloudWatch / S3 • Local Build Support for AWS CodeBuild • Get the AWS CodeBuild docker image file from AWS Github • Build the CodeBuild image locally • Setup CodeBuild local Agent • Use the local agent to build your project
  • 40. AWS UG Meetup Debugging Deployments • CodeDeploy agent generates agent, updater & deployment logs • Send them to CloudWatch for debugging • CodeDeploy agent logs [EC2/On-prem only] • /var/log/aws/codedeploy-agent/codedeploy-agent.log
  • 41. AWS UG Meetup Debugging Deployments • CodeDeploy agent generates agent, updater & deployment logs • Send them to CloudWatch for debugging • CodeDeploy agent logs [EC2/On-prem only] • /var/log/aws/codedeploy-agent/codedeploy-agent.log • CodeDeploy deployment logs • /opt/codedeploy-agent/deployment-root/deployment-logs/ • CodeDeploy updater logs • /tmp/codedeploy-agent.update.log
  • 42. AWS UG Meetup Rollback Deployments • Rollback in AWS is actually ====> • Configure re-deploy by enabling • Code deploy -> Rollbacks > • Code deploy -> ‘Automatic Rollbacks’ • Deployment Configuration to enable rollback based on healthy instances
  • 43. AWS UG Meetup Metrics to gauge DevOps • Rapid Delivery with Increased Efficiency • Increased Feature releases with reduced TTM • Quicker feedback (system/user) to teams & stake holders • Greater % of defects detected in testing (Unit & SIT Cycles) • Ticket / Incidents volume reduction in PreProd & Prod • High Availability • Elastic & Scalable Infrastructure
  • 44. AWS UG Meetup Mind Map Web Application Deployment Pipeline Setup
  • 45. AWS UG MeetupMind Map – Prerequisite Setup 1
  • 46. AWS UG MeetupMind Map – CodeCommit Repo Setup 2
  • 47. AWS UG MeetupMind Map – Create CodeBuild Project 3
  • 48. AWS UG MeetupMind Map – Create CodeDeploy Project 4
  • 49. AWS UG MeetupMind Map – Create CodePipeline 5
  • 50. AWS UG Meetup DevOps Journey begins… https://installjournal.blogspot.com https://www.linkedin.com/in/bhuvanas/ @installjournal