Multi-Account AWS with GitHub Actions???

  Рет қаралды 4,966

Complete Coding - Master AWS Serverless

Complete Coding - Master AWS Serverless

Күн бұрын

In this video we'll learn some advanced uses for Github Actions with the Serverless Framework.
0:00 Intro
0:15 AWS Cert Giveaway Winners
0:32 Multi Account Advantages
2:56 Multi Account Setup
6:58 Testing Multi Account Deployment
10:04 Automated Testing
11:34 Conditional Steps
14:08 Deployment Matrix
16:20 Dependant Jobs
18:24 Starter Workflows
19:35 Organisation Secrets
#aws #serverless #nodejs #code #github #githubactions #cicd #softwaredevelopment

Пікірлер: 18
@P0cketfull0fsunshine
@P0cketfull0fsunshine 11 ай бұрын
Fantastic video. This answered several specific questions I had around how to go about setting up workflows for a large number of AWS accounts. Thanks again, this has been very helpful.
@fsociety2871
@fsociety2871 2 жыл бұрын
good series Sam, you save us developers who are lazy to read the docs 😄
@CompleteCoding
@CompleteCoding 2 жыл бұрын
Haha thanks Joel
@OmpalSingh-pw7mc
@OmpalSingh-pw7mc 2 жыл бұрын
Great job dear
@CompleteCoding
@CompleteCoding 2 жыл бұрын
Thanks a lot
@mloskot
@mloskot 4 ай бұрын
100th like from me :)
@samikshasahu3164
@samikshasahu3164 Жыл бұрын
I have a single environment and I am using GitHub Action for deploying AWS Infrastructure with Terraform but I wanted to know what could be the better deployment strategy for deploying the code on multi environment which would be on different AWS accounts like you mentioned one for dev and separate account for production. I don't think it would be ideal to trigger pipeline on the basis of env selection from the drop down. Do you think there would be any difference compare to above steps for deploying the code across multi environments? and whether it should be Blue-green, rolling or canary deployment
@CompleteCoding
@CompleteCoding Жыл бұрын
I think the process would look almost identical for you. If you have a push to the "dev" branch then CICD changes the destination (and ideally some terraform variable) to be dev. Master points to your production environment With my clients I work on a rolling deployment. Since it is all Serverless that's really easy to do. You can do more complex deployment patterns but fully automating that can become very complicated in your CICD
@carlitostevez2694
@carlitostevez2694 2 жыл бұрын
Hi there - 2 questions for you. (1) Can you comment about GitHub Actions vs AWS CodePipeline? (2) I have a React app on the FE and serverless node.js on the BE, and I'd like to use one CI/CD mechanism for both. Which one would you recommend? Thank you.
@CompleteCoding
@CompleteCoding 2 жыл бұрын
Hey 1) github actions - super easy, code pipeline - needs a lot more configuration and setup. I've not found anything I can't do in github actions. If you're doing massive compile jobs in Java or something. Code Pipeline is closer to the traditional 'Jenkins" style CICD so it will be less of a change for traditional devops teams 2) github actions. You can either have them in the same repo or two separate repos. The front end can be hosted in S3 with Cloudfront and Route53. You can configure this all in Serverless. The backend in github actions. I think the video before this was on setting up a github actions pipeline for serverless deployment
@George-mk7lp
@George-mk7lp 11 ай бұрын
do you have repo with codes ?
@OmpalSingh-pw7mc
@OmpalSingh-pw7mc 2 жыл бұрын
Please made video on serverless lambda deploy using Jenkins pipeline. Thanks
@CompleteCoding
@CompleteCoding 2 жыл бұрын
If you've got a jenkins server already then it should be very similar to this video - add you secrets and create a deployment script that runs "sls deploy" Complete Coding is all about designing serverless solutions. Jenkins is not serverless so I wouldnt be a good video for the channel. Also I've not used Jenkins in about 3 years so my knowledge will be out of date
@iamdhison
@iamdhison Жыл бұрын
Hey mate, I have a react app and would like to have AWS s3 deployement per pull request. Is it possible? Please make one video.
@CompleteCoding
@CompleteCoding Жыл бұрын
Yes, definitely possible. You need to change the action in github to be on "Pull Request". You would need to do some extra logic to change the stage to be unique per PR so that you don't have conflicting resources being created.
@iamdhison
@iamdhison Жыл бұрын
@@CompleteCoding thanks. Can you please make one video?
@igoralves1
@igoralves1 2 жыл бұрын
the only problem with Complete Coding is that it uses TypeScript. Not everyone love to add another layer of complexity in the development. Could stay with regular Serverless.yml
@CompleteCoding
@CompleteCoding 2 жыл бұрын
I worked with yml for 3 years and it caused quite a few problems. Formatters changing indentation which break things was pretty common. With typescript (or just serverless.js) you have a more robust format and can do some cool things. I explain it all in this video kzbin.info/www/bejne/d2fPXqqfrKZnn9E I wouldn't want to work on a yml based project any more.
Is AWS Amplify better than the Serverless Framework?
12:53
Complete Coding - Master AWS Serverless
Рет қаралды 9 М.
Connecting GitHub Actions To AWS Using OIDC
11:00
StratusGrid
Рет қаралды 7 М.
когда повзрослела // EVA mash
00:40
EVA mash
Рет қаралды 4,4 МЛН
THE POLICE TAKES ME! feat @PANDAGIRLOFFICIAL #shorts
00:31
PANDA BOI
Рет қаралды 24 МЛН
AWS Certs are Useless for Junior Devs
4:43
Complete Coding - Master AWS Serverless
Рет қаралды 2,2 М.
GitHub Actions -  Getting Started With Environments
12:25
Mickey Gousset
Рет қаралды 34 М.
How to deploy a lambda function using github actions?
15:09
BiteSize Academy
Рет қаралды 28 М.
Adding Cognito Signup and Login to your React App with AWS Amplify
16:45
Complete Coding - Master AWS Serverless
Рет қаралды 119 М.
Top 5 Most-Used Deployment Strategies
10:00
ByteByteGo
Рет қаралды 249 М.
Deploy to AWS with Terraform within a GitHub Action
18:05
CloudScalr
Рет қаралды 38 М.
تجربة أغرب توصيلة شحن ضد القطع تماما
0:56
صدام العزي
Рет қаралды 37 МЛН
Как правильно выключать звук на телефоне?
0:17
Люди.Идеи, общественная организация
Рет қаралды 740 М.
Samsung Galaxy 🔥 #shorts  #trending #youtubeshorts  #shortvideo ujjawal4u
0:10
Ujjawal4u. 120k Views . 4 hours ago
Рет қаралды 3,9 МЛН
Игровой Комп с Авито за 4500р
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 2,1 МЛН
😱Хакер взломал зашифрованный ноутбук.
0:54
Последний Оплот Безопасности
Рет қаралды 350 М.
НЕ ПОКУПАЙ СМАРТФОН, ПОКА НЕ УЗНАЕШЬ ЭТО! Не ошибись с выбором…
15:23