How To Use GitHub Actions • Automate Your AWS Deployments

Опубликовано: 01 Октябрь 2024
на канале: pixegami
7,323
148

Learn how to automate your code deployments with GitHub actions.

In this project, I'll show you how to use GitHub actions to automate the deployment (CI/CD) of an AWS project. The project is a simple Python API hosted on AWS Lambda (managed with AWS CDK).

We'll learn how to set up a simple GitHub action workflow to deploy the project to our AWS account on each commit. We'll also look at how to add a version number that increments automatically with each commit, and how to cache workflow steps (so we don't have to do the same things over and over again).

🔗 Links
Project Code: https://github.com/pixegami/aws-cicd-...
GitHub Actions: https://github.com/features/actions
AWS CLI: https://aws.amazon.com/cli/
AWS CDK: https://docs.aws.amazon.com/cdk/v2/gu...

📚 Chapters
00:00 Introduction
00:38 What is CICD?
01:51 Create an AWS CDK Project
05:46 Create GitHub Actions Workflow for CDK Deploy
10:18 Automate Version Bump with Git Hooks
12:42 Caching Workflow Steps
14:35 Deploy a Major Infrastructure Update