Learn Terraform in 10 Minutes Tutorial
Ғылым және технология
Learn Terraform in 10 minutes with this tutorial teaching the basics of Terraform. Terraform is a cloud infrastructure provisioning tool which can be used with many cloud providers such as AWS, GCP, Azure, CloudFlare etc.
We will be creating an EC2 instance from an AMI available on the AWS marketplace, and configuring the software on the instance using custom user data.
☕️ You can buy me a coffee by supporting this video on Patreon:
/ revalgovender
😊You can find us online here:
Twitter: / michaelking0191
LinkedIn: / reval-govender-0ba14860
Twitter: / revalgovender
Пікірлер: 102
☕️ You can buy me a coffee by supporting this video on Patreon: www.patreon.com/revalgovender
Just stepped into the world of Terraform, and you sir are an awesome instructor. This was straight to the point and informative. I shall be watching more of your content!
>terraform in 10 minutes >x2 speed HACKERMAN
Thanks for this great tutorial about terraform.
To the point, just in time Video. Loved it !
Man this is simply awesome!!! thank you for sharing this jewel!!
@StudyStreamPlus
Жыл бұрын
What a comment! Please consider subscribing for more! 😀
One of the best tutorials I've seen about any topic anywhere. Mike is awesome!
@StudyStreamPlus
4 жыл бұрын
Glad you enjoyed it! What did you like most from the tutorial?
@user-lx5ss8gl7t
3 жыл бұрын
@@StudyStreamPlus Information per second. You didn`t waste any time
Super helpful. Thanks!!!
@StudyStreamPlus
4 жыл бұрын
Ah good to hear. Glad you it helped. Please subscribe for more.
Great video, very nicely explained.
@StudyStreamPlus
4 жыл бұрын
I am happy you found the video useful!
Excellent tutorial. Thanks for the upload.
@StudyStreamPlus
Жыл бұрын
Glad you enjoyed it! Please consider subscribing for more!
very good!
Thank you!!
@StudyStreamPlus
4 жыл бұрын
No problem. Glad you liked Mike's tutorial.
Fantastic! Thank you so much. Please can you do a video on the Bash scripting part I didn't get that part where he said the script will configure the open shot AMI. Asides that, the video was excellent.
@StudyStreamPlus
4 жыл бұрын
Hi. I will check with Mike.
Very nice 👍
Thanks. what is the auto complete extension you used on the Video?
Excellent. A taste of Terraform !
@StudyStreamPlus
Жыл бұрын
Indeed! Please consider subscribing!
@glennadams7047
Жыл бұрын
@@StudyStreamPlus Subscribed !!!
Run `terraform 0.12upgrade` to fix all warning regarding "all non-constant expressions to be provided via interpolation syntax"
That's awesome.
@StudyStreamPlus
Жыл бұрын
Glad you think so! Please consider subscribing for more! 😀
Did you have to set up the NSG for ports 22 and 80 in Terraform if you already have that set up in EC2 ? (Just curious if adding that in the Terraform CLI equally created the NSG in the AWS or they need to be create at both ends)
Thanks, this is super clear!
@StudyStreamPlus
Жыл бұрын
No worries! Please subscribe for more content! 😀
What plug-ins do you have installed on the left side of vscode
In 'openshot.sh' file on line 6, what does hat key correspond to ? I know on line 7 and 8 it's the access key and security key resp.
How does the your move command show you the contents of the path as you type?Update: Never mind, you hit the tab a second time. Nice command, I never knew that one.
Great video. Thank you
@StudyStreamPlus
4 жыл бұрын
No problem. Did it help you?
@chrisre2751
4 жыл бұрын
Reval Govender it was the first video I watched about Terraform. Looks very interesting. Will try it soon.... the steps that are explained are very understandable
@StudyStreamPlus
4 жыл бұрын
@@chrisre2751 Great to hear. Bookmark the video so you don't forget about it. Hope your future projects go well.
Hi Reval, can you tell me a Terraform extesion for Vscode, my extension not working here, not autocomplete (Windows 10). Thanks!
Where did you specify which instance to destroy?
Is there any certification available from Terraform specific to AWS cloud?
Very useful video. Thank you!
excellent introduction to terraform, I'm looking forward to having a go
@StudyStreamPlus
4 жыл бұрын
Cool. Did you have a go yet?
Did you specify how the terraform connected with you aws account, where did you store that data in order for terraform to use it.
@pidugureddy
4 жыл бұрын
You have to create access keys from IAM console n needs to configure on your machine using AWS cli tool. You need to install AWS cli tool before. Then use "aws configure" command. Check this video to do this: kzread.info/dash/bejne/a6uGw6iwe6i7e6w.html
How did you come up with Openshot? This will be great to learn but all these sounded so strange.
You got a very nice zsh config. Can you share please
What font is this?
Nice channel I have subscribed pls upload more DevOps and Cloud
@StudyStreamPlus
Жыл бұрын
Thanks. This type of content might come in the future. Thanks for subscribing!
How I wish you mention to identify strings in your example as wether it is an arbitrary name or a fixed/specific name. Watching half of the video as a begineer is difficult as I am guessing.
do yo have a format for that .sh file at 10:29
I am not a developer... i would like to learn Terraform... Any suggestions where to start? I have done my Azure cloud solution architect certification though. Any help would be appreciated guys. Thank you
What do you guys think of Michael King's videos?
@sebastian7424
4 жыл бұрын
Needs to go slower but solid.
@StudyStreamPlus
4 жыл бұрын
@@sebastian7424 Cool! I will let him know.
@vmrincon
4 жыл бұрын
Would it have been a 15 minutes video with slower pace, it would have been even better. Thanks for it!
Before running the Terraform script to install OpenShot successfully, you first have to go to the AWS Marketplace, subscribe to OpenShot and accept their terms.
Would someone please guide me. I have learnt kubermetes and nowadays i'am learning html and css, in the extra time should i learn terraform? And also someone plz guide me what willl be beneficial for me by learning terraform
@StudyStreamPlus
4 жыл бұрын
If you are still learning HTML ans CSS, I would suggest to focus your efforts on full grasping it before focusing on something more complex.
@abdulhaseeb1224
4 жыл бұрын
@@StudyStreamPlus ok sir thankyou
@LeGabruRJN
4 жыл бұрын
Pick one or the other, Kubernetes and Terraform is more for DevOps and HTML and CSS is web developing, sometimes they overlap very rarely though
@Reval Govender what is the IDE editor? i'd like to code with that. as it currently stands, im just using Atom. thanks in advance. bb
@creativ01
4 жыл бұрын
Its VSCode.
When using terraform plan an Error: Invalid multi-line string dont know why
Yes it all sounds great until you hear the pre-requisite... Must have the least secure credential authentication mechanism (aws-cli access and secret keys set up) which is basically completely open admin rights (God mode)... No serious production organization should be allowing God mode for provisioning.. Most use a temporary STS Token in a secured Availaility Zone behind a firewall... So the biggest hurdle is to figure out how to securly authenticate so all the rest of the tooling can work... Great on your Dev box but not so good for a production implementation.
@danc.4338
4 жыл бұрын
He literally said it's not good practice to use access key pairs in the code, and only did it for demonstration purposes. Besides, access key pair does not automatically come with "god rights" anyway.
Learned a new trick from him in speeding up the terraform code build time - google "terraform + "SERVICE_PROVIDER_NAME" s+ resource you want to automate and get the resource attribute codes right there and modify.
@StudyStreamPlus
4 жыл бұрын
Glad to hear to learnt something from the video!
I feel your video is so good but a small request to go little slow while explaining suddenly i checked whetehr i set the speed 1.75X to the video, specially who are new to terraform to understand this otherwise it soon gonna hit by million views
@StudyStreamPlus
Жыл бұрын
Thanks for the feedback. Remember you can slow down the video by using the KZread playback speed setting. Please consider subscribing for more! 😀
Mike or Reval? which one is it? Awesome video though
@StudyStreamPlus
4 жыл бұрын
This video was from Mike. He did a guest spot here. Thanks for the comment. Which one of us do you prefer 😀
Please share your github includes source code.
Not working for me. I have the following code : # Configure the AWS Provider provider "aws" { region = "ca-central-1" } data "aws_ami" "openshot_ami"{ most_recent = true owners = ["aws-marketplace"] filter { name = "name" values = ["*Opentshot*"] } } resource "aws_security_group" "openshot_allow_http_ssh" { name = "openshot_allow_http_ssh" description = "Allow HTTP nd SSH inbound traffic" ingress { # TLS (change to whatever ports you need) from_port = 80 to_port = 80 protocol = "tcp" cidr_blocks = ["0.0.0.0/0"] } ingress { # TLS (change to whatever ports you need) from_port = 22 to_port = 22 protocol = "tcp" cidr_blocks = ["0.0.0.0/0"] } egress { from_port = 0 to_port = 0 protocol = "-1" cidr_blocks = ["0.0.0.0/0"] } } Then when I run terraform plan I get error : Your query returned no results. Please change your search criteria and try again.
@shadh2530
4 жыл бұрын
looks like you have a typo here "["*Opentshot*"]"
@StudyStreamPlus
4 жыл бұрын
Hi there. Did you manage to get it working?
Not much by way of conceptual understanding.
@StudyStreamPlus
4 жыл бұрын
Sorry, what do you mean by your statement?
But the video is over 14 minutes.
@StudyStreamPlus
Жыл бұрын
We tried our best to keep it to 10mins, but felt there was still extra information to give. Please consider subscribing for more great content. 😀
It's 14 minutes 🤣
@StudyStreamPlus
4 жыл бұрын
Hey. Did you watch all 14mins?
Just reduced your speed ..it's like express ..not everyone can understand easily.better luck next time
@StudyStreamPlus
Жыл бұрын
Thanks for your feedback. Please consider subscribing for more! 😀
Sorry, but you basically learn nothing here unless you know what you are doing already.
@StudyStreamPlus
4 жыл бұрын
Hi, if you already know what do you are doing, then why are watching a tutorial on how to do it?
@SkysimAir
4 жыл бұрын
@@StudyStreamPlus I don't know it, so this tutorial didn't help at all.
@nikolaradovanovic4883
4 жыл бұрын
@@StudyStreamPlus He has a point. First of all, you are talking too fast. Second, I expected some explanations to help me get started, and all I see is fast copy paste and not a thing about for example variables, how to structure project, run a remote command and similar.
@StudyStreamPlus
4 жыл бұрын
@@nikolaradovanovic4883 I see. Sorry, I took the original comment as if he already knew what he was doing. I apologise. Thanks for feedback. I will let Mike know for the next video. In regards to playback, please try using the KZread player's Playback speed setting to slow down the video. It helps a lot.
@StudyStreamPlus
4 жыл бұрын
@@SkysimAir Sorry, please see my comment below.