Master Three-Tier Application | A Complete DevSecOps Guide on AWS with Kubernetes, GitOps & ArgoCD

  Рет қаралды 10,165

Cloudcore Hub

Cloudcore Hub

Күн бұрын

🚀 Launch Your Own Cloud-Native Applications with DevSecOps on AWS! 🚀
Join us on a thrilling journey as we dive deep into the world of cloud-native applications powered by AWS, DevSecOps practices, and Kubernetes. This comprehensive tutorial video covers every step of setting up, deploying, and managing a robust Three-Tier application on Amazon EKS. Whether you're a developer, a DevOps enthusiast, or an IT professional, this guide is packed with valuable insights and actionable steps.
What You Will Learn:
IAM User Setup: Kickstart your project by creating an IAM user with the right permissions.
Infrastructure as Code (IaC): Master Terraform and AWS CLI to deploy a Jumphost server.
EKS Cluster Deployment: Seamlessly create an Amazon EKS cluster with eksctl.
Load Balancer Configuration: Optimize your application's accessibility with AWS ALB.
Dockerhub Repositories: Automate the creation of Docker image repositories.
DevSecOps Integrations: Elevate your pipeline with Sonarqube, Snyk, and Trivy.
Continuous Delivery with ArgoCD: Implement GitOps for streamlined deployments.
Monitoring Mastery: Set up Prometheus and Grafana for in-depth cluster monitoring.
Experience the Power of Kubernetes and DevSecOps:
Dive into the core of modern application deployment as we guide you through configuring Github Actions, setting up continuous integration and delivery pipelines, and ensuring your application is secure and scalable. From code quality analysis to vulnerability scanning, learn how to integrate cutting-edge tools into your workflow.
Full tutorial documentation on Medium / kubernetes-devsecops-c...
Here are the links to the repos
Application code: github.com/cloudcore-hub/reac...
IaC code: github.com/cloudcore-hub/iac_...
Bring Your Application to the World:
We don't just stop at deployment. Learn how to configure DNS settings for custom subdomains and ensure your data persists with Kubernetes storage solutions. Witness your application come to life, accessible to users worldwide, and monitor its performance in real-time with advanced Grafana dashboards.
Follow-up on how to setup Mongodb: • Connect Mongodb databa...
Whether you're looking to enhance your skills or deploy your next big project, this video is your gateway to mastering cloud-native applications on AWS. Subscribe for more in-depth tutorials, and let's transform the way you build and deploy applications in the cloud!"
Timestamps and chapters:
• 00:00:00 - Introduction to GitOps
• 00:02:26 - Tool Stack
• 00:02:46 - Architecture Diagram
• 00:05:41 - SSH Exchange between local computer and Github; Github Secrets
• 00:15:41 - Create IAM user on AWS, Access key, and Secret
• 00:20:47 - Create S3 Bucket for Terraform State File
• 00:23:23 - Review IaC Terraform and Github Actions Pipeline
• 00:37:10 - SSHing into the Jumphost Server
• 00:39:27 - Provision Kubernetes Cluster on AWS EKS
• 00:40:32 - Review Application code and Github Action Test and Build pipeline
• 00:45:43 - Setup Sonar Cloud for Code Quality Analysis Action
• 00:49:45 - Create Github Personal Access Token (PAT)
• 00:52:12 - Set Snyk for Vulnerability Scan on code and filesystem
• 00:53:30 - Setup Dockerhub for Image Push
• 01:04:36 - Set up Load Balancer in EC2 Jumphost server for EKS
• 01:05:51 - Install Helm Kubernetes Package Manager
• 01:08:24 - Install ArgoCD
• 01:10:15 - Set up ArgoCD Dashboard
• 01:10:59 - Install and Setup Prometheus and Grafana
• 01:17:17 - Deploy Application using ArgoCD
• 01:20:04 - Create A-Record for the custom DNS on Route53
• 01:23:27 - Test out the Application on the browser
• 01:25:00 - Create more Grafana Dashboards
• 01:32:06 - Test the Backend API
• 01:34:26 - Clean up all the resources
🔗 Don't forget to Like, Share, and Subscribe for more tutorials like this. 🔔
#DevSecOps #AWSTutorial #Kubernetes #EKS #Terraform #ArgoCD #Sonarqube #Snyk #Trivy #Docker #Monitoring #CloudNative #ApplicationDeployment

Пікірлер: 100
@narasimha._sai
@narasimha._sai 3 ай бұрын
I didn't saw anyone who implemented whole frontend backend and database in KZfaq u r great keep it up🎉
@CloudcoreHub
@CloudcoreHub 3 ай бұрын
Thank you
@akanohammed9496
@akanohammed9496 21 күн бұрын
Brilliant content.... Keep posting more of it. Much appreciated
@CloudcoreHub
@CloudcoreHub 20 күн бұрын
Thanks for the feedback
@evansdanso2374
@evansdanso2374 3 ай бұрын
Wow!!! I just fall in love with this project! Am going to practice step by step!! And one thing I love soo much is the background sound, is so relaxing and calms every nerves down! Make absorption super!!! I love it!!! Thank you!
@CloudcoreHub
@CloudcoreHub 3 ай бұрын
Thanks so much! 😊
@AhmedSTC-cr6mg
@AhmedSTC-cr6mg 12 күн бұрын
Good stuff, keep it up and appreciated
@CloudcoreHub
@CloudcoreHub 11 күн бұрын
Appreciate it!
@joeb.1163
@joeb.1163 22 күн бұрын
Brilliant content!!!! I can't wait to get more stuff.. One small feedback for the benefit of new starters, Please try to always test your application in your local before moving to EKS.
@CloudcoreHub
@CloudcoreHub 22 күн бұрын
Thanks for the feedback.
@GodwinEffiong-tn5xg
@GodwinEffiong-tn5xg 2 ай бұрын
If excellence is a person, then you are excellence personified. This is just outstanding! Thank you for creating one of the best devops video i have seen on KZfaq. I wish i can like it more than once😀. I see this channel exploding soon.
@CloudcoreHub
@CloudcoreHub 2 ай бұрын
Thank you so much for the feedback. I will definitely create more
@compton8301
@compton8301 9 күн бұрын
Thank you for this. :)
@CloudcoreHub
@CloudcoreHub 9 күн бұрын
Thanks for the feedback
@vishaldesai4102
@vishaldesai4102 2 ай бұрын
Great work!!! Create more projects like this
@CloudcoreHub
@CloudcoreHub 2 ай бұрын
Sure. Thanks for the feedback
@shreyojitdas9333
@shreyojitdas9333 6 күн бұрын
excellent so much help
@CloudcoreHub
@CloudcoreHub 5 күн бұрын
Thanks for the feedback
@user-ki3ip1bq5o
@user-ki3ip1bq5o 26 күн бұрын
Thanks for a wonderful Project Bro.
@CloudcoreHub
@CloudcoreHub 23 күн бұрын
Glad you like it
@Vamsibl
@Vamsibl 3 ай бұрын
Great work!
@CloudcoreHub
@CloudcoreHub 3 ай бұрын
Thank you
@ayencoscolfield3312
@ayencoscolfield3312 3 ай бұрын
This is cool what an awesome efforts by you i just subscribed , cheers and lets keep the flag flying, Nice jobs sis👍
@CloudcoreHub
@CloudcoreHub 3 ай бұрын
Thank you
@suhaswagh9184
@suhaswagh9184 2 ай бұрын
Great work!! Please create DevSecOps project using AWS CICD.
@CloudcoreHub
@CloudcoreHub 2 ай бұрын
Sure. Thanks for the feedback
@DailyKhabhar
@DailyKhabhar 15 күн бұрын
wonderful
@CloudcoreHub
@CloudcoreHub 14 күн бұрын
Thanks for the feedback
@Manojkumar-bh8os
@Manojkumar-bh8os 2 ай бұрын
Good explanation
@CloudcoreHub
@CloudcoreHub 2 ай бұрын
Thank you
@RaviPrakash-ix9dd
@RaviPrakash-ix9dd 2 ай бұрын
amazing good job 👏👏👏 can you post more projects 😊
@CloudcoreHub
@CloudcoreHub 2 ай бұрын
Yeah, sure. Thanks for the feedback
@myyololand
@myyololand 3 ай бұрын
Bravo!!!
@CloudcoreHub
@CloudcoreHub 3 ай бұрын
Thank you
@user-oq5hg8eb2l
@user-oq5hg8eb2l 2 ай бұрын
Just a question why did we at the beginning do a ssh exchange between our GitHub and local computer?
@CloudcoreHub
@CloudcoreHub 2 ай бұрын
SSH key exchange between your local computer and GitHub is a secure method of authentication, facilitating a safe, encrypted connection for your Git operations
@jun4idm0min
@jun4idm0min 3 ай бұрын
Keep it up 🎉
@CloudcoreHub
@CloudcoreHub 3 ай бұрын
Thank you
@sofi6463
@sofi6463 2 ай бұрын
I will do it tomorrow and poste on LinkedIn I just saw the video today 4/13/2024
@CloudcoreHub
@CloudcoreHub 2 ай бұрын
Cool. Thank you
@Yanis-gx5gf
@Yanis-gx5gf 2 ай бұрын
Thanks a lot for this valuable project. Question: Why didn't you tag the images with the Build-Id in order to see the powerful of ArgoCD when it automatically update and deploy the new version after each code modification ? Because, using the "latest as tag", ArgoCD can't detect any change, don't you think?
@CloudcoreHub
@CloudcoreHub 2 ай бұрын
You are right.
@Yanis-gx5gf
@Yanis-gx5gf 2 ай бұрын
@@CloudcoreHub In your repository, i see that you have another similar project developped in python and in this case, you used the principale of updating tag and manifest files. I think we can take inspiration from this script to make the deployment dynamic.
@CloudcoreHub
@CloudcoreHub 2 ай бұрын
Yes, that’s true.
@Yanis-gx5gf
@Yanis-gx5gf 2 ай бұрын
@@CloudcoreHub Thanks you for your reply. Keep sharing great projects with us and improve the sound quality
@AWSCloud-ch8yw
@AWSCloud-ch8yw 8 күн бұрын
my github action showing this error while pushing the code what to do pls help - this workflow graph cannot be shown github actions
@CloudcoreHub
@CloudcoreHub 8 күн бұрын
Share your syntax t.me/+g3BKQI8mimY3N2U5
@arnaudfrancktaptuekuate5367
@arnaudfrancktaptuekuate5367 2 ай бұрын
Thank you so much for this video everything was perfect i will try to follow step by step and post it on linkedin what is your linkedin name, i will give you credit on this project. again, Thank you for sharing.😇
@CloudcoreHub
@CloudcoreHub 2 ай бұрын
Thanks for the feedback www.linkedin.com/in/ogoozotta
@mohammaduzzaman9467
@mohammaduzzaman9467 Ай бұрын
Hello there, I have issues with Terraform Plan and Terraform apply, in action mode both are not run, both are 0s and then continue with Post Checkout source code, I tried with manually in terminal using terraform command it worked but not in Action mode. Could you please help me?
@CloudcoreHub
@CloudcoreHub Ай бұрын
I would need to see your GitHub actions file . Join here for the troubleshooting t.me/+g3BKQI8mimY3N2U5
@Vikranth4A5
@Vikranth4A5 3 ай бұрын
Hi could you please update the got repo by uploading in all folders we are missing .env related files
@CloudcoreHub
@CloudcoreHub 3 ай бұрын
You can create .env file as shown in the video. The file is used locally for best practices. Let me know if you need more details in creating it locally.
@Vikranth4A5
@Vikranth4A5 3 ай бұрын
If you provide us it will be good thanks again
@atatekeli9295
@atatekeli9295 2 ай бұрын
Can we have same applications in other repos like I've forked a repo and created terraform in the forked repo, written by myself and having a pipeline to make things easier and doing a different implementation?
@CloudcoreHub
@CloudcoreHub 2 ай бұрын
Yes you can use same application for other implementations
@atatekeli9295
@atatekeli9295 2 ай бұрын
@@CloudcoreHub I have two pipelines, one repo, one for app file and one for terraform are the files
@CloudcoreHub
@CloudcoreHub 2 ай бұрын
That’s cool
@amanshrivastava1343
@amanshrivastava1343 Ай бұрын
How is the populateDB.js file getting executed in the backend container to load the data in mongodb?
@CloudcoreHub
@CloudcoreHub Ай бұрын
To execute the file, run this command ‘node populateDB.js’ Be sure to cd into the folder that contains the file in your terminal before executing the script.
@amanshrivastava1343
@amanshrivastava1343 Ай бұрын
DO we have to maunally execute the file everytime. what happens when we want to scale the containers? @@CloudcoreHub
@dennisraborar4040
@dennisraborar4040 2 ай бұрын
Why you didn't use the terraform to create or automate the EKS?
@CloudcoreHub
@CloudcoreHub 2 ай бұрын
I have a separate video I used terraform to create EKS. You can try it out too
@dennisraborar4040
@dennisraborar4040 2 ай бұрын
@@CloudcoreHub Thank you for your response :), I mean in this video :)
@MrGenbu
@MrGenbu 3 ай бұрын
wow nice diagram can you tell how you created it
@CloudcoreHub
@CloudcoreHub 3 ай бұрын
Draw.io and ppt
@MrGenbu
@MrGenbu 3 ай бұрын
@@CloudcoreHub very clever to compine both, thank you
@arnaudfrancktaptuekuate5367
@arnaudfrancktaptuekuate5367 2 ай бұрын
Hey hope you are doing well. i was working on the same project, and i got stuck some where. my pipeline was crashing because of snyk API TOKEN. how can to help me to solve that? Thank you!
@CloudcoreHub
@CloudcoreHub 2 ай бұрын
Be sure you copied the right API token for snyk. It might be that you copied org API instead . You can connect on here for troubleshooting t.me/+g3BKQI8mimY3N2U5
@VISHALJAIN-qp9fp
@VISHALJAIN-qp9fp 24 күн бұрын
Hi there great project.....one question when i am running the project locally it's able to load questions from mongoDB successfully but on aws it doesn't load questions. Any reason for that ?
@CloudcoreHub
@CloudcoreHub 23 күн бұрын
Check the db connection string in the code. it should point to the mongo svc and not to the localhost db
@VISHALJAIN-qp9fp
@VISHALJAIN-qp9fp 23 күн бұрын
@@CloudcoreHub ​ @CloudcoreHub Thanks for the response. I have raised an issue on your repo for better reach with all info there including git and website link. I connection string from mongo atlas, encoded with base64 and used in secret. In pod logs also it says connection successful. Will be very helpful.
@Vikranth4A5
@Vikranth4A5 3 ай бұрын
how to configure mongodb settings can you explain ?
@CloudcoreHub
@CloudcoreHub 3 ай бұрын
You can signup on mongo atlas page. Thanks for bringing it up. I will update this step in readme.md
@CloudcoreHub
@CloudcoreHub 3 ай бұрын
Here is the video Connect Mongodb database using Node JS with express and mongoose for ReactJS App | Hands-on kzfaq.info/get/bejne/bKiFbJOqqbzenWg.html
@Vikranth4A5
@Vikranth4A5 3 ай бұрын
Thanks for responding me. This would help me
@Vikranth4A5
@Vikranth4A5 3 ай бұрын
Please do more real time projects on AWS and Azure Platforms I would be using your project and will post in LinkedIn by tagging you…. Thanks again 😊
@andrewmwendo6745
@andrewmwendo6745 2 ай бұрын
Hi i am facing this error after running git push fatal: The upstream branch of your current branch does not match the name of your current branch. To push to the upstream branch on the remote, use git push origin HEAD:master To push to the branch of the same name on the remote, use git push origin HEAD To choose either option permanently, see push.default in 'git help config'. To avoid automatically configuring an upstream branch when its name won't match the local branch, see option 'simple' of branch.autoSetupMerge in 'git help config'.
@CloudcoreHub
@CloudcoreHub 2 ай бұрын
Run ‘git push origin HEAD:master’
@andrewmwendo6745
@andrewmwendo6745 2 ай бұрын
@@CloudcoreHub I did but here is not workflow in GitHub and there jumphost is not getting created
@andrewmwendo6745
@andrewmwendo6745 2 ай бұрын
@@CloudcoreHub it managed to run but in the workflow it failed on initializing terraform what could I have done wrong
@CloudcoreHub
@CloudcoreHub 2 ай бұрын
Be sure your terraform is running in the right directory.
@CloudcoreHub
@CloudcoreHub 2 ай бұрын
Alternatively, send me direct email, we can book a time to troubleshoot cloudcorehub@gmail.com
@thierrymemel
@thierrymemel 2 ай бұрын
I fall in love with the lady, please what is your name? Great course, I just subscribed to your channel! I love you!, please what your name? Brillant course! Great explain. I think this is the best pipeline I have seen from now.
@CloudcoreHub
@CloudcoreHub 2 ай бұрын
Thank you.
@thierrymemel
@thierrymemel 2 ай бұрын
Why you didn't you create the EKS using the current terraform script?
@thierrymemel
@thierrymemel 2 ай бұрын
for next videos try to improve the sound of your mic, am struggling to hear you 😇
@CloudcoreHub
@CloudcoreHub 2 ай бұрын
Sure. Thanks for the feedback
@CloudcoreHub
@CloudcoreHub 2 ай бұрын
Yes. I could. You can try it out.
@lorezyra
@lorezyra 2 ай бұрын
Audio volume is too low... 👎🏻 when KZfaq plays a commercial, it blasts my headphones because I'm forced to increase the sound volume to hear your voice...
@CloudcoreHub
@CloudcoreHub 2 ай бұрын
Thanks for the feedback. We will improve the audio quality and volume
@user-bs5gx1hj1y
@user-bs5gx1hj1y 2 ай бұрын
neither IAC explanation neither github action code explanation , I am not happy
@CloudcoreHub
@CloudcoreHub 2 ай бұрын
We totally understand this. View this video for GitHub actions explanation GitHub Actions for DevOps: From Basics to Advanced Workflows | Github Actions Marketplace | Hands-on kzfaq.info/get/bejne/pdycatWGntu5eH0.html
@CloudcoreHub
@CloudcoreHub 2 ай бұрын
This one will explain the IAC How to Create EKS Cluster Using Terraform | Deploy EKS using IaC Terraform kzfaq.info/get/bejne/r5l4ncxnvMCdimg.html
@AhmedSTC-cr6mg
@AhmedSTC-cr6mg 12 күн бұрын
Good stuff, keep it up and appreciated
@CloudcoreHub
@CloudcoreHub 11 күн бұрын
Thank you.
What is GitOps | GitOps explained with ArgoCD project
15:51
Cloud Champ
Рет қаралды 11 М.
Why is Kubernetes everywhere? | Kelsey Hightower
59:27
OpenSauced
Рет қаралды 2,3 М.
I CAN’T BELIEVE I LOST 😱
00:46
Topper Guild
Рет қаралды 54 МЛН
Can teeth really be exchanged for gifts#joker #shorts
00:45
Untitled Joker
Рет қаралды 18 МЛН
Мы никогда не были так напуганы!
00:15
Аришнев
Рет қаралды 3,3 МЛН
Ryan Dahl introduces JSR at DevWorld 2024
29:13
Deno
Рет қаралды 100 М.
Popular Technologies that Won't be Around Much Longer...
14:36
Sideprojects
Рет қаралды 144 М.
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 238 М.
Monolithic vs Microservice Architecture: Which To Use and When?
10:43
How to design a Deployment Pipeline (GitOps)
11:01
DevOps Journey
Рет қаралды 24 М.
How does Caching on the Backend work? (System Design Fundamentals)
22:45
Software Developer Diaries
Рет қаралды 30 М.
Scalable User Authentication for Kubernetes Clusters with OpenID... Nathan Brahms & Shashwat Sehgal
29:09
iPhone 12 socket cleaning #fixit
0:30
Tamar DB (mt)
Рет қаралды 52 МЛН