Рет қаралды 8,471
Hello 👋AWS CloudFormation is an infrastructure as Code (IaC) service that allows you to easily model, provision, and manage AWS and third-party resources. With a template file that describes all the resources for our application and CloudFormation takes care of provisioning and configuring those resources.
In this video, we will learn about the basic structure of a CloudFormation template, how to create a template from scratch, and how to set it up from GitHub Actions to build and deploy to AWS Infrastructure. The template content will be dependent on the type of resources your application needs. For the scope of this video, we will see deploying an AWS Lambda and an Amazon Simple Queue Service or SQS. However, the concepts and tips you learn from this video can be applied to deploy any resource using CloudFormation to AWS.
This video is sponsored by AWS and is part of the .NET on AWS Series.
00:00 - Introduction
02:53 - CloudFormation
5:40 - Template Skeleton
10:16 - Lambda Role Template
13:42 - !GetAtt Function
15:45 - CloudFormation Parameters
17:20 - !Sub Function
18:05 - Validating Template
20:40 - GitHub Actions
23:36 - Generate Lambda.zip
25:54 - GitHub Build Artifacts
26:43 - Connect GitHub Actions With AWS Account
29:44 - Upload to S3
30:42 - Package template file
31:57 - Run Build Step
33:52 - Setup Deployment Job
36:10 - CloudFormation Action
40:32 - Add SQS Queue using CloudFormation
42:12 - SQS Lambda Trigger
45:52 - Setup Prod Environment
48:27 - Ignore Empy Changeset Error
50:51 - Conclusion
Links
🔗CloudFormation - docs.aws.amazon.com/AWSCloudF...
Additional Watching
📹AWS Lambda - • AWS LAMBDA For The .NE...
📹Amazon S3 - • Amazon S3 (Simple Stor...
📹Amazon SQS - • AWS SQS (Simple Queue ...
📹AWS Series - • .NET on AWS
📹ASP NET Core Series - • ASP.NET Core
Come say hi! ✋
🌍 Blog - rahulpnath.com/
✉ Subscribe to my Newsletter - www.rahulpnath.com/subscribe
🐦Twitter - / rahulpnath
📸Instagram - / rahulpnath
🎥 Recording Setup and Workflow - www.rahulpnath.com/blog/youtu...
Make sure to SUBSCRIBE to the channel. THANK YOU for helping me grow this channel !!