AWS CLOUDFORMATION - Build Deploy Pipeline Using GITHUB ACTIONS | .NET ON AWS

preview_player
Показать описание
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
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

Additional Watching

Come say hi! ✋

Make sure to SUBSCRIBE to the channel. THANK YOU for helping me grow this channel !!
Рекомендации по теме
Комментарии
Автор

excellent video! Clear and concise. Thank you very much for posting it!

MarianoGomezBidondo
Автор

Thank you Rahul for making this video. This is one of the precise and clear explanation on using cloud formation with Github actions. 👏

AnilBhanushali
Автор

Perfect video! Thank you for sharing your knowledge with us :)

diantrebot
Автор

Hi, Rahul! Do you have a video where you explain how to build a CloudFormation's template with API Gateway and Lambda Functios with .NET?

emanuelcordovamontiel
Автор

Thank you so much for this..very useful for beginners

babeldennis
Автор

This is great thanks Rahul! What I have found though is when updating my code and running the workflow, although the updates are in the lambda zip file that gets stored on S3, the Lambda function doesn't seem to read these changes - do I need to include something in the workflow to refresh the lambda?

ChrisBuckmaster-yu
Автор

Hey Rahul tank you . It was an one of the best video . If possible please make similar videos for microservice / web API deployment on aws through cicd pipeline.

rohit
Автор

On making change to code cloudformation is not updating the lambda

AmanKumar-ehxi
Автор

Insted of Github pipeline, how to do CI and CD through Azure DevOps? Do you have any resource explaining this? In my case I am using AWS Serverless Application, which was stored in the Azure Repo, trying to integreate Azure Devops CICD to deploy to AWS stacks.

roshinptk
Автор

Excellent video Rahul!!! Very easy to understand and concise, Thanks for making such a fantastic video. Just like a planning phase in Terraform is it possible to review the changes before approving the changes to production? Something kind of dry-run before applying on production that shows the updates its going to make

pratapkorlepara
Автор

Hey thanks for the video!
I have one query to ask. I have created artifact successfully. But want to deploy on AWS server, i have publishing profile that contains server details like server URL, userid, password, site name etc.

I am looking for action to deploy my artifact there. If you have any idea then plz help.

riteshkavankar
Автор

What is the artifact thing? Is it compulsory to include in our file.
Let me tell you about my use case. I ve created stacks on cloud formation and in that stacks I've lambda functions, dynamo db and api gatway linked. I want to trigger github actions.
Kindly guide me about it

minute_mastery
Автор

excellent! do you have architecture diagram for this

surendrayadav-kcoo
Автор

Thanks for the video Rahul it was helpful. I have one query while deploying any IAM resources I am getting CAPABILITIES_IAM error please suggest

AmitKumar-fwfv
Автор

Hey Rahul, What are other and best way to deploy microservices or net core rest API on aws ? Can we do this by using docker ?
Please make videos if you think question is relevant.

rohit