Project 3 - Deploy A 2-tier Application On AWS Using Terraform | Custom Modules in Terraform
Ғылым және технология
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
Пікірлер: 61
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
11 ай бұрын
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.
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
11 ай бұрын
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!
Great explanation. Thank you
@TechTutorialswithPiyush
4 ай бұрын
You're welcome :)
On demand Industry requirement training ..!! Thank you Piyush bhaiya, much appreciated 🤟
@TechTutorialswithPiyush
10 ай бұрын
Thank you so much for the amazing feedback , I am glad that you found it helpful :)
Thank you so much for your help
@TechTutorialswithPiyush
11 ай бұрын
You're most welcome 🙂
Nice session
@TechTutorialswithPiyush
11 ай бұрын
Thank you Atif!
Nice Sessions
@TechTutorialswithPiyush
11 ай бұрын
Thank you Laxman
thats amazing
@TechTutorialswithPiyush
5 ай бұрын
Thank you brother 🙂
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
11 ай бұрын
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.
👏
@TechTutorialswithPiyush
5 күн бұрын
Thank you
Good Video man , thanks for keeping it short and precise. can you provide some info on how Ankit created that diagram ?
@TechTutorialswithPiyush
Ай бұрын
Thank you for the feedback! He used Microsoft Powerpoint to create the animated diagrams.
@nightfly3358
Ай бұрын
@@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 ?
Great Piyush, Can you please creat a project in Azure as well
@TechTutorialswithPiyush
10 ай бұрын
Thank you brother for the feedback, I already have a similar project in Azure, here's the link kzread.info/dash/bejne/e2GBxNCffsbPm84.html
@Jalal921
10 ай бұрын
Great, Thanks a lot. Looking forwad for many such projects
@TechTutorialswithPiyush
10 ай бұрын
@@Jalal921 definitely
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
5 ай бұрын
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.
where did you declare keys for your back end to connect with the provider,
@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
Hi sir, do we normally keep multiple Nat gateways? Especially for cases like in EKS cluster?
@MdAshraf007
7 ай бұрын
I created my cluster with eksctl and it created only one NAT. Is there an issue with this?
@TechTutorialswithPiyush
7 ай бұрын
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.
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
9 ай бұрын
You need to run it from the directory where your root module exists. It looks for .tf files in the directory
@bezanpithawalla234
9 ай бұрын
@@TechTutorialswithPiyush So, are you saying I should save my .tf module files in the root folder and then try running it again?
Hello, thanks for this projects. I think the solution in github is missing the Jumpbox module for the connection
@TechTutorialswithPiyush
9 ай бұрын
Hello, Thanks for pointing out, yes the jumbox module is missing in the Github and the video
increase your volume
@TechTutorialswithPiyush
Ай бұрын
Can you please check out any latest video and let me know if you still feel the volume is low?
Could you pls provide more details on certificate manager
@TechTutorialswithPiyush
11 ай бұрын
Hello Yogi, I have created the certificate in video #1 of this series, feel free to check it out.
@tubuobaggio
9 ай бұрын
@@TechTutorialswithPiyush Please for the link of video #1 I will appreciate thank you very much
@TechTutorialswithPiyush
9 ай бұрын
@@tubuobaggio Here kzread.info/dash/bejne/h4qqxcGLpLLVh8o.html
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
3 ай бұрын
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.
Hello sir piyush, can i put this project on my resume? Thank you!
@TechTutorialswithPiyush
5 ай бұрын
If you have implemented it end to end by yourself and understood everything, then yes, feel free to add in your resume.
sir in terraform what is taint? can u please teach about this
@TechTutorialswithPiyush
9 ай бұрын
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
9 ай бұрын
@@TechTutorialswithPiyush thank you so much sir.
@TechTutorialswithPiyush
9 ай бұрын
@@aravnandan1617 you're welcome buddy 😊
is it free tier?
@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.
can I do that with aws free account ?
@TechTutorialswithPiyush
5 ай бұрын
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
5 ай бұрын
@@TechTutorialswithPiyush ok, Thank you very much!
@TechTutorialswithPiyush
5 ай бұрын
@@user-rs7un1hp6v welcome