Infrastructure as Code: Step 4 - Zero Down Time Deployments

Поділитися
Вставка
  • Опубліковано 21 жов 2024
  • This is a continuation of the previous videos in the series that provide all the details that you needed to know to securely deploy your Laravel application to the cloud using Amazon AWS. The previous videos took you through the step-by-step process as we manually completed all the steps required to deploy Laravel to AWS.
    This series introduces the concept of "Infrastructure as Code". I transform the previous 7 step manual process into an automated and repeatable 4 step process. Here are the four videos in this Infrastructure as Code series:
    Step 1 - Amazon AWS CloudFormation - • Infrastructure as Code... (April 19, 2024)
    I create an Amazon AWS CloudFormation template that you can use to easily provision the complete stack (VPC, private and public subnets, EC2) that spans multiple AZs.
    Step 2 - Shell Script to Provision Ubuntu - • Infrastructure as Code... (April 23, 2024)
    Running a single provisioning script completes the provisioning of Unbuntu to prepare it for supporting the Laravel application. This single script aggregates all the individual command lines that we ran to install the ubuntu packages (e.g., zip, unzip...) and applications (e.g., nginx, php, composer...).
    Step 3 - Application Management Platform - • Infrastructure as Code... (April 26, 2024)
    The platform supports the following four commands:
    appList: list all the applications
    appNew: create a new application
    appCreate: provision and deploy an application
    appDelete: delete an application
    With these four commands, you can quickly install and manage multiple applications onto a single Ubuntu server.
    Step 4 - Zero Down Time Deployments - • Infrastructure as Code... (April 30, 2024)
    The platform also supports a "deploy" command that can be run from any deployment user's session. This kicks off a deployment / build processes and results in a "zero down time" deployment of a new release.
    Links:
    DevOps Repo - github.com/rcr...
    Helpful Gist for CloudFormation Template - gist.github.co...
    #laravel #aws #vpc #ec2 #route53
    #ubuntu #nginx #php #composer #npm #sqlite #mysql
    #technologysandbox

КОМЕНТАРІ •