Master Classs: Terraform for AWS (Beginner to Pro)
Вставка
- Опубліковано 3 жов 2024
- Below are the topics covered in this Terraform for AWS tutorial for beginners:
00:00 1. 1 0 CoursePromo
05:27 2. 1.1 What is Terraform?
12:15 3. 1.2 What & Why Infrastructure as Code
20:18 4. 1.3 Course Requirements
21:56 5. 1.4 Installing Terraform
26:30 6. 1.5 Setting up AWS CLI
37:25 7. 2.1 Section Introduction
39:46 8. 2.2 Terraform Helloworld & Essential Commands
46:40 9. 2.3 Terraform Statefiles
53:02 10. 2.4 Terraform Provider & AWS Access
01:05:16 11. 2.5 Terraform Variables
01:23:34 12. 2.6 Terraform Inputs & Outputs
01:30:02 12. 2.6 Terraform Inputs & Outputs
01:31:26 14. 3.2 S3 Using Terraform
01:54:14 15. 3.3 Launch EC2 Instance using Terraform
02:19:56 16. 3.4 Section Conclusion
02:22:57 17. 4 1 What is Terraform Modules
02:25:47 18. 4 2 Terraform First Module
02:36:25 19. 4 3 Terraform Second Module
02:51:53 20. 4 4 Terraform Reuse Module
02:59:49 21. 4 5 Terraform Multiple Environements Problem
03:04:50 22. 4 6 Terraform Workspaces
03:19:20 23. 4 7 EnvironmentSpecific local variables
03:27:40 24. 4 8 Env specific Shared Vars Acrossmodules
03:46:57 25. 4 9 section conclusion
03:49:26 26. 5 1 ProjectIntro
03:53:54 27. 5 2 ProjectSetup SG Setup
04:17:35 28. 5 3 ALB TG Listener Setup
04:47:06 29. 5 4 launch configuration
05:08:50 30. 5 5 Autoscaling Group
05:37:45 31. 5 6 Production workspace
05:44:50 32. 6 1 Course Conclustion
Subscribe to this channel to get more updates. Learn everyday.
Hi All,
About This Class
Why this course ?
In current Cloud Industry, Terraform is considered as one of the leaders for Infrastructure as a code platform. With its flexibility and compatibility with many different cloud providers like (AWS, Azure, GoogleCloud, Digital Ocean and many others), Terraform makes it Very easy to manage the workloads that are provisioned in different cloud providers at one place.
Having the skills to write and maintain the infrastructure using Terraform gives an edge to a cloud practitioner's profile.
In this course I have covered a lot of ground on Terraform which will help all levels of students (Beginner to pro) to get a good understanding and practical implementation.
This course is structured in an Hands On way and students who practice along with the lessons will get the most out of it.
Course Structure
Introduction Section:
What is Terraform ?
What & Why Infrastructure as a code ?
Course Requirements
Installing Terraform
Setup AWS CLI
Terraform Basics:
First Terraform File
What is state file and its importance
Different ways to give access to tf
Terraform Variables and its uses
Terraform input variables
Terraform output variables
Basic AWS Components:
Introduction
Create S3 bucket and upload files
Launch new EC2 instance
Next steps
Advanced Terraform Concepts:
Terraform Modules & Why we need them ?
First Terraform Module
Providing Inputs to the Module
Module Reuse with different Inputs
Multiple Environments Problem
Terraform Workspaces
Environment Specific Local Variables
Shared Vars for different Environments
Conclusion
AWS Project:
Project Introduction
Project Setup & Security Groups
Setup ALB and Target Groups
Setup Launch Configurations
Setup Autoscaling & Launching EC2 instances
Provision Multiple Environments(staging/production)
i have reched 1 hr 30 mins. every second minute was a treu value addition and productive utilization of time.. Heart felt blessings to you. Thanks.
Thank you ❤️
Thank you soo much. I tried using terraform a lot but couldn't understand even a bit. This video tutorial is really awesome, made my day. Thank you and also waiting for more like this
Welcome ☺️
Thank you so much, man. I appreciate your initiative. I've learned a lot in this master class. Thanks once again.
U r welcome 😊😊 plz support us
the world needs more of people like you. Awesome job!
The best line "so, that's pretty much it" :) :) :)
Thank u so much
Realy appreciate this wonderful terraform video.
Glad you enjoyed it!
Hi Shankar, this is an awesome tutorial. Thanks a lot for your effort in making the tutorial very clear. I learnt a lot from this.
Thank you so much anna(Bro). I am started learning terraform 2 days back. Now I am half way to the course but more comfortable with terraform. This kind of masterclass throw out the fear of coding. Kudos to you @Skill Machine
Thanks u so much ..I really appreciate your efforts. Just watched first 90 mins .. it is very impressive and clear explanations..hats off to u.
thank you
I rarely comment on any videos, but this videos is amazing. If its possible then plz create videos on Packer, Wrapping up scripts.
Loved your module concept
Tha k you so much bro🥰 coming days i willbe uploading that one plz support me
Please clarify my dought "how we supply multiple security groups for one VPC"
Thanks man, this was really helpful.
This is too good to be free 🔥. Sharing ASAP. Thank you for this!
Thanks for sharing!! plz subscribe to our channel
Thank you very much for this course. Learned a lot
Welcome plz share it and support us☺
Thanks a lot for the very informative video session.
Simply Amazing😀
Awesome content.. Thank you
Great work.
Really liked the video
Thank you please support us☺
@@NSSkill Can we have a complete devops course for handson practice.
I have a interview schedule, need it asap.
Please let me know on tusharkantibharati@gmail.com
Good job...learnt a lot
Thank you
nice explantion bro pls do videos on aws
Description should include the chapters in the video... That way YT will display the chapters in the red progress bar.
Great work
Thank you keep supporting me☺☺
very very helpful, thanks a lot
Welcome☺☺
Hi, Thank you for making this course for beginners.Could you please share me the link of Terraform project code templates
Very informative for both beginner and intermediate level! Thanks for the amazing content.
Thank you so much, great video!
U r most welcome☺
hi , this was a nice informative video ,and i found it very helpful , could you please share the resource location where i can download the sample codes you hv created
hey shankar can u make a video on creating s3 bucket and assigning iam user policy on the bucket
suppose you are using count variable for creating 3 instances, and we have provide ami-id for one instance, when you terraform apply, who will launch 3 instances, but my question how does other instance get the ami.
Thankyoy so much that is very helpfull
sab kuch thik h brother pr kuch terminology aisa h isme jo u should elaborate it i wnna request u to plz make an update terraform video in hindi so that the people who cant understand in english well they can understand it in their mother tongue i hope u will getting my points plz mke an elaborative video on it again in hindi
After downloading terraform and changing enviroment vaiables, Powershell not recognising terraform. Please help
Very good video, thanks
Thank you!! 🙏🙏
Everyone works on linux or ubuntu or centos, no one gives a chance for windows. You are using windows, thats the first i saw.
Welcome ,🥰
Hi
@@lakshmipasala9091 hi
Excellent course. Thanks for this tutorial. Please share the code.
Sir, in ec2 section ... whatever you writing sme thing but it told ipvsellf must be required
*Thank you so much bro*
Thanks for such a beautiful content. Pls I am working on Ubuntu linux. I dont know what I am doing wrongly? my Hello world tf was created but i cant connect the C:\helloworld to my terraform. Pls hellllppppp
Thanks for such a beautiful content. Pls I am working on Ubuntu linux. I dont know what I am doing wrongly? my Hello world tf was created but i cant connect the C:\helloworld to my terraform. Pls hellllppppp
Bro. I have have through 1 hour of this video. It is Really useful. I am facing some errors while working, Can you help me in resolving the errors. Thanks
Hi pls do tell how to.implement retry option in terraform a
For azure redis
how to tag aws instance id and ebs volume id using terraform tags
Thank you Shankar, May I know how can we support you...is it just by sharing this video:)
Yes 🙂 plz share it with others🙂
thanks a lot. you said the code is available at the end of the video but I cant find the link
HOW CAN WE GET GITHUB LINK ON THIS VIDEO CODE
God bless you brother .... i enjoyed your video but there are few adjustment you need to make on the code as at today being july 22, 2021 for the IaS on s3 bucket and object to work.
What adjustments, i'm about to start the course
Hi Sai, content is great, i need your help on large scal data center migration system architect, please let me know how can I reach out to you
This video is fine to Crack interview on terraform???
Hello sir video is good knowledge able .. please share the link of code..
Hello Can anyone help me to create read replica on different region from existing aurora mysql cluster with terraform code.
thank you ..do you uploaded this code anywhere??
Hi Shankar..I have few queries.
1. How many Servers can Terraform provision at a single go.
2. Is there any way to pass on the multiple value of a single Parameter in Terraform Stack.
i think one more way to create multiple resources is using the "count" variable
You promised to share the terreform code template at the end of the class Pls where can I find if here? Thx
Can we have a repo to the codes used in this session
I got Error: Error launching source instance: UnauthorizedOperation: You are not authorized to perform this operation. Encoded authorization failure message: what can be the problem have tried to fix it
Need ur help how to.conatct you
great training and terrafirm concepts. but one thing I like to mention @nsskill The Colour comibination of the Power shell was not good and terraform plan aur apply out was not visible
not able to pass output from one module another module using explained method
Hi ,
How system knows the difference between the types of variables , e.g : input/output varibles are quite same as other type (list , string , map )
Nice
Thank you 😊
where can one download all the materials for this course that he spoke about?
Great! can you suggest the difference between Resource & Data Source. When to use Data source with practical example. This point is not clear for me. Thanks in advance.
You use Data source when you want to add an already created service that wasn't originally part of your .terraform.tfstate. So to integrate the already created service to your terraform state, you have to use the Data source directive. At least that's my understanding.
please where can we find your other AWS courses ?
How is the access credentals saved and working after we remove them from the main.tf file?
You may want to consider adding them to the AWS configuration file using the AWS cli.
$ aws configure
AWS Access Key ID:
AWS Secret Access Key:
Terraform will automatically know it exists.
Is it complete terraform course or anything missing
I have doubt in shared variable module concept . Can we meet offline sir please ..
My register target group every time showing unhealthy status why?
Hello Sir
project code could be provide or not ?
Is it Paid ?
thanks in advance
No code require now sir.. i have completed this project .Again thank you so much sir.. right i have now other word say "Thank you or Dhanyawand appke is video ke liye"
Please share the link of Terraform project code templates
Hi Shankar Zaiswal,
Thank you for the detailed course for the begineer. I love the course and I just finished your course after almost 4 days of consistent practice.
First I noticed that both my staging and production instances was setup with autoscaling, target groups, load balancer and subnets(private and public). But when I run my target group DNS its throwing 502, also my instances is telling me unhealthy. How can I debug this to trace where the error is.
Please I will be waiting for your response regarding this
Timestamp will be helpful
Hello, I have tried your template in my environment but i am getting error while create workspace. here is my code and the error. Please help me why it is not allowing.
Code :- locals {
env=terraform.workspace
ami_env{
default = "ami-4069d0c6e"
prod = "ami-4060c6e"
}
ami_id = lookup(local.ami_env,local.env)
}
error :- Unexpected "ami_env" block
on main.tf line 15, in locals:
15: ami_env{
Blocks are not allowed here.
Thank You!!
I'm also getting the same error. are you able to fix it?
You should add timecodes bro.
3:21:10
lol dude take really long pause
Why are you making it complicated for Terraform Installation.It is only 3steps to install terraform.
Then u make video and explain to us
Very lengthy content. Not worth to spend 5 hours :(
toward the end ..there is no life in ur talk.. voice is pretty low.
Module "EC2-MODULE" (declared at main.tf line 6) has invalid source address " ./EC2-MODULE": Terraform cannot detect
│ a supported external module source type for ./EC2-MODULE.
HI @NS SKILL iam getting this error when trying to refer my submodule , from root module in terraform code :(((( for example i am refering my module which is in another folder in directory and from main.tf root directory file i am trying to add my module but it is not working { source = "./ec2-module" }
Hello, I have tried your template in my environment but i am getting error while create workspace. here is my code and the error. Please help me why it is not allowing.
Code :- locals {
env=terraform.workspace
ami_env{
default = "ami-4069d0c6e"
prod = "ami-4060c6e"
}
ami_id = lookup(local.ami_env,local.env)
}
error :- Unexpected "ami_env" block
on main.tf line 15, in locals:
15: ami_env{
Blocks are not allowed here.
Thank You!!
ami_id = "${ lookup(local.ami_env,local.env)}"