Project 3 - Deploy A 2-tier Application On AWS Using Terraform | Custom Modules in Terraform

  Рет қаралды 13,039

Tech Tutorials with Piyush

Tech Tutorials with Piyush

11 ай бұрын

Deploy A 2-tier Application On AWS Using Terraform - Custom Modules in Terraform.
Welcome to the 3rd video in the series #10weeksofcloudops. In this challenge, we need to deploy a 2-tier architecture on AWS using Terraform custom modules which should be highly available and scalable. To achieve that, we will use the following list of services of AWS.
📃 list of services
Amazon Certificate Manager (SSL)
Amazon Route 53 (DNS service)
Amazon CloudFront(CND)
Amazon EC2 (Server)
Amazon Auto Scaling group (Scale on demand)
Amazon VPC (Virtual private cloud: Private Network)
Amazon RDS (Relational database services: Database)
Amazon DynamoDB (State-locking for tfstate file)
Amazon S3 (storing backend and achieving versioning)
Amazon CloudWatch (Alarm when CPU utilization increases or decreases)
📌By the end of this video, you will learn -:
- How does Terraform work
- What is the remote backend in Terraform
- What are custom modules in Terraform, and how do create them
- What are the variables in Terraform
- Input Variables v/s output variables
- State file locking in Terraform
- Terraform best practices
- Provision a 2-tier architecture on AWS using Terraform custom modules
GitHub repo: github.com/piyushsachdeva/10W...
IP calculation in the CIDR range: • Ipv4 Addressing, CIDR ...
AWS Networking: • AWS Networking - AWS V...
Blog by Ankit Jodhani: ankitjodhani.hashnode.dev/imp...
Blog by Mahesh Upreti:mupreti.hashnode.dev/keeping-...
𝗖𝗢𝗠𝗣𝗟𝗘𝗧𝗘 𝗧𝗨𝗧𝗢𝗥𝗜𝗔𝗟 𝗦𝗘𝗥𝗜𝗘𝗦 👌 It’s 🅵🆁🅴🅴 ⛳
#Azure900WithPiyush
• AZ900WithPiyush - Azur...
Namaste Google Cloud | GCP Tutorial for beginners, a complete playlist for Associate Cloud Engineer Certification Exam:
• Namaste Google Cloud, ...
DevOps Tutorial for Beginners
• DevOps Tutorial for be...
AWS tutorial for beginners
• AWS (Amazon Web Servic...
Azure Data fundamentals DP 900 full course
• Microsoft Azure Data F...
Jenkins Tutorial for Beginners
• Jenkins Tutorial For B...
DevOps and Cloud Podcasts:
• DevOps and Cloud Podcasts
Subscribe to our channel to get notified about the latest videos.
🔥 / techtutorialswithpiyush
Connect with me 👋
🌎LINKEDIN: ►
/ piyush-sachdeva
🐦TWITTER: ►
/ techie_piyush
Join our learning communities 👋
/ discord
References 📚:
registry.terraform.io/provide...
Deploy A 2-tier Application On AWS Using Terraform
deploy a two tier application on aws using terraform
deploy on aws using terraform
realtime aws projects
aws projects using Terraform
aws terraform tutorial
terraform project
terraform project aws
devops real time projects
terraform custom module
aws terraform tutorial for beginners
what is devops
what is terraform
what is aws
3-tier architecture
infrastructure provisioning using terraform
#devops #techtutorialswithpiyush

Пікірлер: 59
@NasirHussain-el6kn
@NasirHussain-el6kn 10 ай бұрын
Thank you! This project-based playlist is truly beneficial and rare to find, especially for free. I really appreciate your service to the AWS and DevOps community. Please complete this playlist as early as possible. This playlist deserves 100k subscribers; I think it hasn't reached many people.
@TechTutorialswithPiyush
@TechTutorialswithPiyush 10 ай бұрын
Thank you so much Nasir for your kind words! I truly appreciate your feedback :) Yes, I will be completing it soon. Stay tuned for the next project coming up soon.
@awssoorinje747
@awssoorinje747 10 ай бұрын
Sir,Thanks for the project-based videos on AWS cloud! They provide a real-time feel, and I'm eagerly waiting for the next project. Please upload it as soon as possible.
@TechTutorialswithPiyush
@TechTutorialswithPiyush 10 ай бұрын
Thank you for your feedback! I'm glad to hear my videos are helpful. The next project will be uploaded this week, so stay tuned!
@pravinkumar8491
@pravinkumar8491 4 ай бұрын
Great explanation. Thank you
@TechTutorialswithPiyush
@TechTutorialswithPiyush 4 ай бұрын
You're welcome :)
@ashutoshbambal614
@ashutoshbambal614 9 ай бұрын
On demand Industry requirement training ..!! Thank you Piyush bhaiya, much appreciated 🤟
@TechTutorialswithPiyush
@TechTutorialswithPiyush 9 ай бұрын
Thank you so much for the amazing feedback , I am glad that you found it helpful :)
@atifshahzad9537
@atifshahzad9537 11 ай бұрын
Nice session
@TechTutorialswithPiyush
@TechTutorialswithPiyush 11 ай бұрын
Thank you Atif!
@yogibisai647
@yogibisai647 11 ай бұрын
Thank you so much for your help
@TechTutorialswithPiyush
@TechTutorialswithPiyush 11 ай бұрын
You're most welcome 🙂
@laxmanpatil4753
@laxmanpatil4753 11 ай бұрын
Nice Sessions
@TechTutorialswithPiyush
@TechTutorialswithPiyush 11 ай бұрын
Thank you Laxman
@VaibhavShewale
@VaibhavShewale 4 ай бұрын
thats amazing
@TechTutorialswithPiyush
@TechTutorialswithPiyush 4 ай бұрын
Thank you brother 🙂
@awssoorinje747
@awssoorinje747 10 ай бұрын
Sir, please include diagram explanations like in Project 1 before starting hands-on. It helps grasp the concepts easily and quickly. Include this in all your upcoming projects. Thank you
@TechTutorialswithPiyush
@TechTutorialswithPiyush 10 ай бұрын
I added a diagram explanation to this video, but I will spend more time explaining it in the future. Thank you for your feedback, I appreciate it.
@nightfly3358
@nightfly3358 12 күн бұрын
Good Video man , thanks for keeping it short and precise. can you provide some info on how Ankit created that diagram ?
@TechTutorialswithPiyush
@TechTutorialswithPiyush 12 күн бұрын
Thank you for the feedback! He used Microsoft Powerpoint to create the animated diagrams.
@nightfly3358
@nightfly3358 12 күн бұрын
@@TechTutorialswithPiyush I had a cloud challenge to perform at work, and I must say I copied most of the stuff you taught , it was really helpful. Have you don’t anything with compliance software like Chekhov ?
@ashutoshpangavhane7024
@ashutoshpangavhane7024 2 ай бұрын
where did you declare keys for your back end to connect with the provider,
@TechTutorialswithPiyush
@TechTutorialswithPiyush 2 ай бұрын
I didn't have to, the user I used to authenticate with Azure had a storage account object viewer role so access keys not required
@ibmuser13
@ibmuser13 4 ай бұрын
Hello Piyush bhai, thank you very much for this video. Just a question - can we not use Terraform public modules for vpc, ec2, rds etc for this 2-tier architecture? Why did we have to create custom modules? Thanks again for your selfless service!
@TechTutorialswithPiyush
@TechTutorialswithPiyush 4 ай бұрын
Thank you for the great feedback buddy! To answer your question: We can definitely use public module however, it is not a production best practice. Public module are maintained by the owner or a separate organization and any changes in that could directly impact your production environment hence, organization like to retain total control of the module. I hope this answered your question.
@Jalal921
@Jalal921 9 ай бұрын
Great Piyush, Can you please creat a project in Azure as well
@TechTutorialswithPiyush
@TechTutorialswithPiyush 9 ай бұрын
Thank you brother for the feedback, I already have a similar project in Azure, here's the link kzbin.info/www/bejne/f16wk6Gcg8icoc0
@Jalal921
@Jalal921 9 ай бұрын
Great, Thanks a lot. Looking forwad for many such projects
@TechTutorialswithPiyush
@TechTutorialswithPiyush 9 ай бұрын
@@Jalal921 definitely
@MdAshraf007
@MdAshraf007 6 ай бұрын
Hi sir, do we normally keep multiple Nat gateways? Especially for cases like in EKS cluster?
@MdAshraf007
@MdAshraf007 6 ай бұрын
I created my cluster with eksctl and it created only one NAT. Is there an issue with this?
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
NAT Gateways doesnt span Availability Zones, if you deploy your resourced in multiple AZs , then you need to setup NAT for each Zone seperately. Hope this clears your confusion.
@zamo2049
@zamo2049 9 ай бұрын
Hello, thanks for this projects. I think the solution in github is missing the Jumpbox module for the connection
@TechTutorialswithPiyush
@TechTutorialswithPiyush 9 ай бұрын
Hello, Thanks for pointing out, yes the jumbox module is missing in the Github and the video
@bezanpithawalla234
@bezanpithawalla234 9 ай бұрын
Hello, Whenever I run “tf init”, I keep getting an error message saying “Failed to read module directory” and “Module directory does not exist or cannot be read”. Any idea on how to fix this? Thanks!
@TechTutorialswithPiyush
@TechTutorialswithPiyush 9 ай бұрын
You need to run it from the directory where your root module exists. It looks for .tf files in the directory
@bezanpithawalla234
@bezanpithawalla234 8 ай бұрын
@@TechTutorialswithPiyush So, are you saying I should save my .tf module files in the root folder and then try running it again?
@nirajbhanushali7693
@nirajbhanushali7693 26 күн бұрын
increase your volume
@TechTutorialswithPiyush
@TechTutorialswithPiyush 25 күн бұрын
Can you please check out any latest video and let me know if you still feel the volume is low?
@yogibisai647
@yogibisai647 11 ай бұрын
Could you pls provide more details on certificate manager
@TechTutorialswithPiyush
@TechTutorialswithPiyush 11 ай бұрын
Hello Yogi, I have created the certificate in video #1 of this series, feel free to check it out.
@tubuobaggio
@tubuobaggio 9 ай бұрын
@@TechTutorialswithPiyush Please for the link of video #1 I will appreciate thank you very much
@TechTutorialswithPiyush
@TechTutorialswithPiyush 9 ай бұрын
@@tubuobaggio Here kzbin.info/www/bejne/i4fZlJKIqbSijck
@dyunjiiee
@dyunjiiee 5 ай бұрын
Hello sir piyush, can i put this project on my resume? Thank you!
@TechTutorialswithPiyush
@TechTutorialswithPiyush 4 ай бұрын
If you have implemented it end to end by yourself and understood everything, then yes, feel free to add in your resume.
@aravnandan1617
@aravnandan1617 9 ай бұрын
sir in terraform what is taint? can u please teach about this
@TechTutorialswithPiyush
@TechTutorialswithPiyush 8 ай бұрын
Hello, We taint the resources created by Terraform to mark it is a broken and instruct terraform that it should be recreated/replaced during the next terraform apply but now the command has been deprecated and replaced by -replace
@aravnandan1617
@aravnandan1617 8 ай бұрын
@@TechTutorialswithPiyush thank you so much sir.
@TechTutorialswithPiyush
@TechTutorialswithPiyush 8 ай бұрын
@@aravnandan1617 you're welcome buddy 😊
@shiva2804
@shiva2804 2 ай бұрын
Hi piyush I can't able to install mysql. There asking password I gave password but I can't able to install there showing some error. How can I rectify that one and which password I need to give. Could you please slove my problem.
@TechTutorialswithPiyush
@TechTutorialswithPiyush 2 ай бұрын
Hello Shiva, Can you please provide more details? How are you installing mysql? What error you are getting? What commands are you using? Can you join our discord community and share all these details in the help-10weeksofcloudops channel? We will help you.
@madhulikapaluri8020
@madhulikapaluri8020 3 ай бұрын
is it free tier?
@TechTutorialswithPiyush
@TechTutorialswithPiyush 3 ай бұрын
Not every service will be covered as part of free tier. e.g Load balancers, NAT Gateways, RDS etc are not covered in free tier.
@user-rs7un1hp6v
@user-rs7un1hp6v 4 ай бұрын
can I do that with aws free account ?
@TechTutorialswithPiyush
@TechTutorialswithPiyush 4 ай бұрын
I believe most of the services can we covered within free tier. make sure you understand what is covered and what is not. For example, EC2 Micro instances are covered and not all EC2 instances. You will find the details in the documentation. You can go to below page and checkout the details for each services used in the demo: aws.amazon.com/free/?all-free-tier.sort-by=item.additionalFields.SortRank&all-free-tier.sort-order=asc&awsf.Free%20Tier%20Types=*all&awsf.Free%20Tier%20Categories=*all
@user-rs7un1hp6v
@user-rs7un1hp6v 4 ай бұрын
​@@TechTutorialswithPiyush ok, Thank you very much!
@TechTutorialswithPiyush
@TechTutorialswithPiyush 4 ай бұрын
@@user-rs7un1hp6v welcome
5 Cloud and DevOps Projects For Beginners(With Solutions)
11:36
Tech Tutorials with Piyush
Рет қаралды 2,9 М.
Project2 - Deploy a 3 Tier Architecture On AWS - End to End Project Demo
1:10:37
Tech Tutorials with Piyush
Рет қаралды 49 М.
КАРМАНЧИК 2 СЕЗОН 7 СЕРИЯ ФИНАЛ
21:37
Inter Production
Рет қаралды 514 М.
Did you believe it was real? #tiktok
00:25
Анастасия Тарасова
Рет қаралды 48 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 170 #shorts
00:27
Three-tier architecture in AWS using Terraform
27:18
Tech with Ajit
Рет қаралды 10 М.
Secrets of AWS Cloud 3-Tier Architecture Application Diagram🔥😲
13:48
8 Terraform Best Practices that will improve your TF workflow immediately
8:57
Demo | Three-tier web app in AWS with VPC, ALB, EC2 & RDS
28:28
Tech with Ajit
Рет қаралды 162 М.
Create Your First AWS Lambda Function | AWS Tutorial for Beginners
12:44
Tiny Technical Tutorials
Рет қаралды 129 М.
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 5 МЛН
ОБСЛУЖИЛИ САМЫЙ ГРЯЗНЫЙ ПК
1:00
VA-PC
Рет қаралды 1 МЛН
GamePad İle Bisiklet Yönetmek #shorts
0:26
Osman Kabadayı
Рет қаралды 654 М.
Урна с айфонами!
0:30
По ту сторону Гугла
Рет қаралды 8 МЛН
Самый дорогой кабель Apple
0:37
Romancev768
Рет қаралды 258 М.