O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

DevOps: CI/CD using AWS CodePipeline & Elastic Beanstalk

Video Description

Learn Automated Continuous Deployment using AWS CodePipleine, Elastic Beanstalk & Lambda (includes example PHP project).

About This Video

  • Conceptualize and design fully automated continuous integration & deployment pipelines

  • Use AWS CodePipeline to setup CI/CD pipelines

  • Use AWS Elastic Beanstalk to deploy applications

  • Map any real-world application into a CI/CD pipeline

  • Integrate custom builds / actions in AWS CodePipeline

  • Adding AWS Lambda functions in AWS CodePipeline

  • Monitor their AWS CodePipeline

  • In Detail

    Automated Continuous Integration (CI) and Continuous Deployment (CD) is a critical part of DevOps and is a skill that is in high demand.

    In this course, we will examine the subject in complete depth by walking through an example project and building a complex CI/CD pipeline on AWS. You will gain the following five extremely valuable and highly sought after skills:

    Learn to conceptualize and design CI/CD pipelines for your own web applications

    Deploy and scale web applications on Amazon's Cloud infrastructure using AWS Elastic Beanstalk, Build pipelines on Amazon's Cloud infrastructure using AWS CodePipeline

    Learn advance topics such as Elastic Beanstalk Extensions and AWS Lambda to run custom actions in your CodePipeline, Monitor your automated CI/CD pipelines. DevOps and continuous integration / continuous deployment processes allows team to iterate often and innovate faster. After taking this course, you will have a comprehensive understanding of continuous integration and continuous deployment processes. You will be able to confidently design a CI/CD pipeline for your own web applications. You will gain an in-depth understanding of AWS CodePipeline and AWS Elastic Beanstalk services.

    Table of Contents

    1. Chapter 1 : Getting Started
      1. Welcome! 00:07:20
      2. How is the course structured? 00:08:38
    2. Chapter 2 : Introduction to Continuous Integration & Continuous Deployment
      1. Section Overview 00:00:19
      2. What is Continuous Integration? 00:01:53
      3. What is Continuous Delivery/Deployment? 00:01:48
      4. What is a CI/CD Pipeline? 00:04:46
      5. Why use CI & CD? 00:02:47
      6. Achieving Full Automation 00:02:00
      7. Section Summary 00:01:28
    3. Chapter 3 : CI/CD for Web Applications
      1. Section Overview 00:00:32
      2. Anatomy of a basic web application 00:08:07
      3. Designing a continuous deployment pipeline for a web application 00:04:45
      4. Managing Relational Database Changes and Deployments 00:03:26
      5. Deployments & Actions 00:02:40
      6. Monitoring 00:02:32
      7. Common Challenges 00:03:23
      8. Summary 00:02:01
    4. Chapter 4 : Setup Project: Let's setup a basic PHP web application
      1. Section Overview 00:01:41
      2. Quick Cloud9 IDE Overview 00:02:46
      3. Building Fuzzy Telegram PHP Web Application 00:05:38
      4. Using Environment Variables in Applications 00:08:14
      5. Configuring MySQL Database using Environment Variables 00:02:23
      6. Writing Database Migration Scripts (Database Change Management Scripts for CD) 00:10:44
      7. Unit tests using PHPUnit 00:03:09
      8. Checking in to code repository (Github) 00:04:26
    5. Chapter 5 : Deploy Project: Setting up AWS Elastic Beanstalk & RDS
      1. Section Overview 00:01:05
      2. Setting up Elastic Beanstalk - Part 1 00:09:00
      3. Setting up Elastic Beanstalk - Part 2 00:07:17
      4. Elastic Beanstalk Dashboard Walkthrough 00:04:04
      5. Manually Deploying Application on Elastic Beanstalk 00:03:23
      6. Manual RDS / Database Deployment on Elastic Beanstalk 00:04:57
      7. Intro to Elastic Beanstalk Extensions (.ebextensions) 00:09:19
      8. Workshop: Creating .ebextension to run Database migration scripts 00:06:27
      9. Creating a new environment for "Production" 00:02:38
      10. Application Versions 00:01:34
    6. Chapter 6 : Setting up a CI/CD pipeline using AWS CodePipeline
      1. Section Overview 00:01:19
      2. First, let's commit everything in Github 00:01:12
      3. Creating a new pipeline on AWS CodePipeline 00:04:56
      4. AWS CodePipeline in Action 00:05:24
      5. Editing AWS CodePipeline and adding a new Stage 00:06:34
      6. Manually release a change in AWS CodePipelin 00:04:46
      7. Stage Transitions in AWS CodePipeline 00:03:29
    7. Chapter 7 : Adding actions in AWS CodePipeline
      1. Sequential and Parallel Actions 00:03:12
      2. Types of actions in AWS CodePipeline 00:05:29
      3. Input & Output Artifacts 00:03:57
      4. Four methods to run custom builds/actions in AWS CodePipeline 00:02:53
    8. Chapter 8 : Method # 1: Adding a custom deployment action to run unit tests
      1. Part 1 - Setting up a new stage and environment for unit testing 00:07:34
      2. Part 2 - Adding script to run unit tests in Elastic Beanstalk 00:08:35
    9. Chapter 9 : Method # 2: Invoking Lambda Functions in your AWS CodePipeline
      1. Part 1 - Create S3 Bucket for your assets 00:04:30
      2. Part 2 - Create Lambda Function to upload assets to S3 00:05:10
      3. Part 3 - Adding Lambda Function in AWS CodePipeline 00:09:16
    10. Chapter 10 : Method # 3: 3rd party integrations in AWS CodePipeline
      1. Workshop: Integrating GhostInspector for UI testing 00:03:19
    11. Chapter 11 : Real-life scenarios
      1. Adding a manual approval step in AWS CodePipeline 00:06:51
      2. Manually rolling back changes in AWS CodePipeline 00:02:53
    12. Chapter 12 : Monitoring your fully automated AWS CodePipeline
      1. Section Overview 00:01:17
      2. Workshop: Lambda Function to health check your web application 00:10:20
      3. Creating Alarms using CloudWatch 00:03:52
    13. Chapter 13 : Wrap-up
      1. Summary & Thank You 00:04:39