No video

Learn Terraform with Azure by Building a Dev Environment - Full Course for Beginners

  Рет қаралды 194,418

freeCodeCamp.org

freeCodeCamp.org

Күн бұрын

Пікірлер: 144
@lakerfan4life308
@lakerfan4life308 11 ай бұрын
Excellent video. I'm a beginner user of Terraform. ONLY 16 mins into the video and already feel astonished. Great feeling of accomplishment when I created a RG and see the outcome in the Azure portal. I've learned so much with just a few minutes. Great work with explaining the Terraform concepts and commands. It makes learning fun and effortless.
@nikhillotia
@nikhillotia 2 жыл бұрын
Great video covering all the small details! I noticed one thing where explanation of VM code is missed is custom data section.
@danielno8
@danielno8 Жыл бұрын
Is it just me or does the video jump past the Linux VM part and go straight to creating the key pair after creating the NIC?
@TTOnkeys
@TTOnkeys Жыл бұрын
I've been watching courses on Pluralsight/ACloudGuru and felt like I wasn't getting anywhere. I've learned more from this 1 hour video which was far more engaging and hands-on than I did in any of theirs. Thanks Derek.
@jens-rainerwiese5506
@jens-rainerwiese5506 Жыл бұрын
I could not find the moment when the whole linux vm was added, you just jumped over to the SSH Key generation. Was this part of the video before? After "0:47:40 " there is suddly a linux-vm on th screen which never was created before :-( please check if this video is not missing this part.
@sanidhiya7718
@sanidhiya7718 10 ай бұрын
Yes same
@lecardinal1
@lecardinal1 7 ай бұрын
agree. so after 47mins should we try to invent by ourself what is missing ?
@AdrianVrabie
@AdrianVrabie Жыл бұрын
from minute 53, creating an ssh-pair! Where is the VM creating?? it's like the most important stuff and it's missing :(
@dusty2445
@dusty2445 8 ай бұрын
The SSH key is being created on the host that the terraform is being run from, not in the Azure VM
@walterallen1331
@walterallen1331 Ай бұрын
I was literally about to comment the same thing and then I seen your comment lol.
@Shymoliuk
@Shymoliuk Жыл бұрын
finally I found the lessons I can easily follow and feel my in demand skills improving with every minute.
@an69
@an69 2 жыл бұрын
Updating my resume immediately
@Shravan_Reddy
@Shravan_Reddy 10 ай бұрын
Nice video with good explanation all through. Just one correction, around 34th minute regarding 'address_prefixes' we cannot provide multiple CIDR range here. The address_prefixes argument in the Terraform azurerm_subnet resource is used to specify the CIDR range for the subnet. However, it can only take one CIDR range. The reason why it is called address_prefixes (plural) is because it is compatible with the Azure Resource Manager API, which allows you to specify multiple CIDR ranges for a subnet. However, this feature is not yet supported by the Terraform AzureRM provider. If you need to use multiple CIDR ranges in your virtual network, you can create multiple subnets. Each subnet can have its own CIDR range. You can then connect the subnets to each other using virtual network peering.
@johnmountain9896
@johnmountain9896 Жыл бұрын
Unnecessary content removed from this video results in compressed and effective content. Thanks for the detailed and great review!
@tk429
@tk429 Жыл бұрын
I'm about 20 minutes in, and this course is good. My only ask is that you posted the code to a github to inspect.
@IanTriggs
@IanTriggs 2 жыл бұрын
Great video, but I think you might be missing a chapter on deploying the linux VM.
@LaurenceNairne
@LaurenceNairne 2 жыл бұрын
I was about to comment the same thing - all of a sudden we have a VM block in main.tf :D
@dand9022
@dand9022 Жыл бұрын
@@LaurenceNairne I noticed as well but the vm wasn't deployed yet. All you need to do is copy and paste the linux vm code and pick up from creating the ssh keys
@JimboXiii
@JimboXiii Жыл бұрын
glad I wasn't the only one to spot this, thought I was going mad for a moment
@Syedhere92
@Syedhere92 Жыл бұрын
can anyone share the course resource which he is referring to for creating customdata.tpl and linux-ssh-script.tpl?
@innocentrage1
@innocentrage1 2 жыл бұрын
Brooooo I was just about to do your aws terraform project, so glad I found this before I started because I like working with azure a lot better
@Angelslo690
@Angelslo690 5 ай бұрын
What a calm and soothing voice, you are a born teacher. Amazing video and lots to learn from you. God bless.
@The_Personal_Picks_SnM
@The_Personal_Picks_SnM Жыл бұрын
Just started the video and i had to like the video immediately the moment heard him saying resume project with terraform. Cos that's exactly what I needed. Hope i won't be disappointed
@Peaceout168
@Peaceout168 6 ай бұрын
Awesome tutorial, this definitely helped me get a better grip on terraform with Azure and i was able to complete all the executions with some troubleshooting to get it fixed, definitely this was fun to learn. Thank you so much :)
@aviralgupta9869
@aviralgupta9869 7 ай бұрын
Guys If you are having a problem in which you are not able to see public IP at 57:30, just change allocation_method = "Dynamic" to allocation_method = "Static"
@osr2004snd
@osr2004snd 9 ай бұрын
Excellent video. Just a small sugestion: try using a Chrome extension named Dark Reader or similar. The contrasts going from VSCode (dark) to Terraform documentation (white) can really destroy people's eyes (like me).
@arihasan3423
@arihasan3423 10 ай бұрын
Great tutorial! Thanks for taking time to explain everything in details.
@eliassal1
@eliassal1 Жыл бұрын
Just finished the whole course, really fabtastic and easy to follow and explained, well done Derek, do you have other courses ike this So many thanks for your efforts
@stannylou1636
@stannylou1636 Жыл бұрын
Love the course, but one suggestion make the font bigger next time, I tried on my end to no avail I'm old 😃 thanks
@gurdipedosanjh7887
@gurdipedosanjh7887 9 ай бұрын
Thank you so much for this brilliant training course, every command worked and I learned so much about terraform and azure
@AleksFirst
@AleksFirst 4 ай бұрын
Oh This man is amazing I bought his course on Udemy !)!)
@laurianoluo7331
@laurianoluo7331 2 жыл бұрын
seems like lost a part about how to create vm and fix the public ip problem between the part of network interface and the key pair ?
@LaurenceNairne
@LaurenceNairne 2 жыл бұрын
Did you ever work this out?
@emiliocamacho
@emiliocamacho Жыл бұрын
​@@LaurenceNairne This is the VM block missing from the video. resource "azurerm_linux_virtual_machine" "mtc-vm" { name = "mtv-vm" resource_group_name = azurerm_resource_group.mtc-rg.name location = azurerm_resource_group.mtc-rg.location size = "Standard_B1s" admin_username = "adminuser" network_interface_ids = [azurerm_network_interface.mtc-nic.id] admin_ssh_key { username = "adminuser" public_key = file("~/.ssh/mtcazurekey.pub") } os_disk { caching = "ReadWrite" storage_account_type = "Standard_LRS" } source_image_reference { publisher = "Canonical" offer = "UbuntuServer" sku = "18.04-LTS" version = "latest" } }
@lakerfan4life308
@lakerfan4life308 11 ай бұрын
unable to SSH into VM. port 22 is blocked. getting "connection timed out"
@lakerfan4life308
@lakerfan4life308 11 ай бұрын
Never mind. I resolved my issue. Had the wrong setting in my network_security rule. Changed direction value from Outbound to Inbound
@philmegaw3125
@philmegaw3125 4 ай бұрын
@@emiliocamacho Thanks for this - it all makes sense now!
@matthewdaniels7103
@matthewdaniels7103 2 жыл бұрын
Good explaining .tf resources plus typing out the objects helps with beginners. Great job!
@SurbanoskiAleksandar
@SurbanoskiAleksandar Жыл бұрын
Mind-blowing course
@hophop521
@hophop521 Жыл бұрын
Derek, you said a couple of times "the file can be found in the Resources section of the lesson/course". but where am I suppose to find it?
@jjanna07751
@jjanna07751 7 ай бұрын
Awesome video!!.. just needed where the resources mentioned in the video are placed. Need it for the docker bit
@stuartjacobs
@stuartjacobs 2 жыл бұрын
Thanks Derek for putting this together and a well thought out example. Learnt a ton. Super Thanks.
@mirnabakhoum2534
@mirnabakhoum2534 24 күн бұрын
Thank you for this great course , I am asking about the resources links used in that video ? where can I find them ?
@DodoDodo-eo2su
@DodoDodo-eo2su 9 ай бұрын
Why would you just skip the part where you have entered the code for the VM?
@vlauciani
@vlauciani Ай бұрын
Very great video, thank you!!! Is there a public repo with used files?
@ChanceMinus
@ChanceMinus 5 ай бұрын
Invaluable info. Thank you.
@scottmcarthur7496
@scottmcarthur7496 Жыл бұрын
This has been a really good learning tool, thanks a lot!
@Kevin.Gilbert
@Kevin.Gilbert 8 ай бұрын
Fantastic video. You have managed to take something quite complicated to teach and have found a way to turbo charge teaching it in a very short amount of time. Thank you and keep up the great work.
@Bzoli1000
@Bzoli1000 Жыл бұрын
Well, it was really useful. Great presentation, thank you!
@jasoncoombes8913
@jasoncoombes8913 Жыл бұрын
Hi, keep getting the Error: terraform: The term 'terraform' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. Followed the exact same code on your video, even copied the code from the docs, still fails. project is stored on another drive, will this cause an issue?
@jasoncoombes8913
@jasoncoombes8913 Жыл бұрын
Hi, I just fixed this by installing Terraform, copying the file path of where terraform is installed, searching "edit environment variables for your account" -> path -> edit -> add the path where the terraform.exe exists -> relaunching VS Studio. Hope this helps.
@brandonwaddell2583
@brandonwaddell2583 Жыл бұрын
@@jasoncoombes8913 I had the same issue on a Win 10 machine, used chocolatey to install terraform and it worked
@HarryTuttleHeatingEngineer
@HarryTuttleHeatingEngineer 5 ай бұрын
Things seem to completely fall apart around the hour mark. We need something more for ssh access. The VM is not allowing ssh access.
@mraghul7418
@mraghul7418 2 жыл бұрын
Make a video also in azure ai and ml projects💯💫
@akshanssharma8318
@akshanssharma8318 Жыл бұрын
I guess you skipped the Virtual Machine deployment part in the video, found it on your website. Thanks.
@LekoOffRoad
@LekoOffRoad 8 ай бұрын
At 53:05 entire section is skipped
@frankwu98
@frankwu98 3 ай бұрын
Amazing thank you
@murthypothukuchi6781
@murthypothukuchi6781 11 ай бұрын
Where can I find the course resource files? Not seeing customdata.tpl contents in here.
@mbhargavi627
@mbhargavi627 Жыл бұрын
Where did you install terraform
@elodiemirza
@elodiemirza Жыл бұрын
Is there a repo with the .TF and other files?
@PriestApostate
@PriestApostate 9 ай бұрын
I seem to be running into an issue early on, in that after installing the Terraform extension (the same one that is being used here), I cannot run any commands. Terraform stymied me with the "fmt" command referenced at 09:10 - as it couldn't find the command. I'm using Visual Code Studio on Rocky Linux , and unsure how to proceed from here, as if I'm getting errors this early on, then I'm sure to be experiencing multiple issues later.
@soumyadipchatterjee2267
@soumyadipchatterjee2267 Жыл бұрын
In flow it seems you skipped to showcase the entire vm scripts to us . Please share in details with ssh key portion. I am performing the same from scratch ,so ...
@sanketsalunkhe6049
@sanketsalunkhe6049 Ай бұрын
I'm a bit confused about why we created a config file just to login to vm's instance, even though we are able to connect our local terminal in vs code using ssh -i ~/azurekey admin@1.2.3.4(public IP). Someone please help me understand this.
@user-hw3sy8xb6s
@user-hw3sy8xb6s 11 ай бұрын
very good course. Better then paid ones
@gokhanyildirim4162
@gokhanyildirim4162 10 ай бұрын
Another Great Job :)
@bruckurgessamulissa1072
@bruckurgessamulissa1072 Жыл бұрын
Thank you so much !!
@vivahernando1
@vivahernando1 2 жыл бұрын
Is there a full azure-terraform course we can purchase?
@stephenyork7318
@stephenyork7318 6 ай бұрын
Ermm, how are you able to run terraform fmt? You didn't explain installing any terraform stuff for the console I've installed the terraform extension for VSCode but there's no cmdlet called terraform
@eliassal1
@eliassal1 Жыл бұрын
Derk, at minute 1H:24 I agree it is a good idea to use variables and we might run terraform on different OSes but any related operation to ssh using the openssh ssh-keygen on the win10 bix does not work, I copied everything to a fedora 35 box and everything works like a charm, so as I said in an earlier thread terraform cannot decode mtcazurekey correctly
@LekoOffRoad
@LekoOffRoad 8 ай бұрын
at 59:03 in customdata.tpl line "sudo usermod -aG docker ubuntu" does not work because user "ubuntu" does not exist
@DSDSDS1235
@DSDSDS1235 Ай бұрын
did the video skip the whole vm resource?
@rikunjsindhwad7597
@rikunjsindhwad7597 Жыл бұрын
Well Explained 🙂🙂
@mikejone7793
@mikejone7793 2 жыл бұрын
thanks for what your doing, was going through this course, had issues with creating a network interphase card as can be seen on the diagram, am out of options pls help
@fw1engineer
@fw1engineer 4 ай бұрын
I configured the provisioner but when i do a 'terraform apply -auto-approve' I get following error in the output of the apply: azurerm_linux_virtual_machine.mtc-machine (local-exec): Executing: ["bash" "-c" "cat > ~/.ssh/config Host $(hostname) Hostname $(hostname) User $(user) IdentityFile $(identityfile) EOF "] azurerm_linux_virtual_machine.mtc-machine (local-exec): bash: user: command not found azurerm_linux_virtual_machine.mtc-machine (local-exec): bash: identityfile: command not found when i cat the ~/.ssh/config file it has: Host My-MacBook HostName My-MackBook User IdentityFile any hints on how to fix??
@user-lm6ei5vs7k
@user-lm6ei5vs7k 11 ай бұрын
While doing az login, I'm getting "No subscriptions found". Please help clearing this error
@kuqezi294
@kuqezi294 Жыл бұрын
Will you do a video with Azure Devops integration ?
@deonmarfo9878
@deonmarfo9878 4 ай бұрын
PLEASE HELP IT KEEPS SAYING No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed.
@sweetman1994
@sweetman1994 4 ай бұрын
Save the tab
@M365ITTuts
@M365ITTuts 11 ай бұрын
I am not sure what I am doing wrong. I have confirmed that my azure account is connected, confirmed Terraform is installed. However when I do terraform init, it shows in terminal that it has been initialized successfully, however, it doesn't create any of the other files/folder as shown in the video. I have set my version to =3.0.0. I would appreciate any help with this! :)
@shehzad_ali
@shehzad_ali 2 жыл бұрын
Hello. Thanks for the great video. I recently attended a Microsoft DevOps session where they are heavily promoting Bicep. Will terraform be sidelined because of this in your opinion? Thanks once again for the video
@tylerkhudson
@tylerkhudson Жыл бұрын
Bicep is just like Terraform however, its an Azure only desired state configuration (DSC). Whereas Terraform can be use for multi-cloud (Azure, AWS, etc). So I would suggest Terraform is higher valued
@johnvardy9559
@johnvardy9559 Жыл бұрын
This video would also for Cloud Security people work or for administrator?
@joaco8121
@joaco8121 Жыл бұрын
is the code available in a repo?
@serbanvitan8059
@serbanvitan8059 6 ай бұрын
how much is it gonna cost using azure cloud at the end of the project?
@Panzerbjrn
@Panzerbjrn Жыл бұрын
hah, when logging into the VM, I am told permissions for my key are too open, and it will be ignored... So I can't actually log in -__-
@CloudzNJ
@CloudzNJ Жыл бұрын
Hey for the vm section, I am a bit lost. cant seem to apply the settings made. Any help?
@treysmith3103
@treysmith3103 8 ай бұрын
This video skips the ENTIRE portion regarding creating a VM, and skips from creating a network interface straight to generating a key pair.
@dapoolajide8887
@dapoolajide8887 10 ай бұрын
Can't see the resource file here. Can you help?
@naveenkumar-y
@naveenkumar-y 2 жыл бұрын
where is the VM creation part
@AdrianVrabie
@AdrianVrabie Жыл бұрын
I don't see it either? Was it cut on purpose?
@liamconverse8950
@liamconverse8950 2 жыл бұрын
What is Terraform? Seems like that should have been mentioned in the beginning now
@LaurenceNairne
@LaurenceNairne 2 жыл бұрын
I don't agree - - it's for terraform to explain what their tools do. It's for other content creators to try and give a great resource for *how to use them*
@liamconverse8950
@liamconverse8950 2 жыл бұрын
@@LaurenceNairne Well you you have the right to be wrong lol
@syednadeembe
@syednadeembe 5 ай бұрын
Unfortunatly you skipped the entire vm creation part and directly jumpped into the ssh key gen part
@julianhamm1
@julianhamm1 Ай бұрын
Where's the customdata.tpl file?
@deen4803
@deen4803 2 жыл бұрын
Please make video on restful API
@GhostOfBrown
@GhostOfBrown 2 жыл бұрын
i love you beriik morgan
@deen4803
@deen4803 2 жыл бұрын
Or provide me link 🔗 of any course on api
@Kronu.
@Kronu. 2 жыл бұрын
Hello codecamp, a small request. Can you teach how to create A.I app or anything to make it play games? Not any simple games but high end games. I want to improve by playing with A.I.
@AleksandarIvanov69
@AleksandarIvanov69 2 жыл бұрын
Not how you pronounce Azure (in intro), but looks really interesting 😊
@MorethanCertified
@MorethanCertified 2 жыл бұрын
Yeah, I get that a lot. Blame it on my Southern American roots.
@tanmaysen4434
@tanmaysen4434 2 жыл бұрын
Please upload AWS solution architect course SAA-C03 latest.
@ranjankhakurel4969
@ranjankhakurel4969 Жыл бұрын
Thanks bruv
@teesec3978
@teesec3978 Жыл бұрын
i am having issues with the tpl file is there another way i could run a bash file with terraform
@DavidMunoz-kd2tp
@DavidMunoz-kd2tp Жыл бұрын
Make sure bash script is good. Also Look here: custom_data = filebase64("${path.module}/customdata.tpl") hope this helps!
@TheOnlyDominik
@TheOnlyDominik 8 ай бұрын
"just like so" or "just like this"
@nishitkumar7650
@nishitkumar7650 2 жыл бұрын
Terraform with gcp please
@Dannydod1
@Dannydod1 Жыл бұрын
I can't seem to find the customdata.tpl code, can anyone help?
@Dannydod1
@Dannydod1 Жыл бұрын
I typed out the bash script, I have the following error response usermod: user 'ubuntu' does not exist
@samajier2566
@samajier2566 2 жыл бұрын
I like the video
@vishwamnayak
@vishwamnayak 2 жыл бұрын
Make tutorial of wso2 please
@eliassal1
@eliassal1 Жыл бұрын
Hi Derek, I started watching this course, when I issue "terraform init", I get a message "Terraform has been successfully initialized!" but no files no directory terraform is created. Thanks for your help
@eliassal1
@eliassal1 Жыл бұрын
Please ignore this question as I noticed that when I copied it from the doc there was "features" and not "feature" it seems that the S was not correct what is strange is that even an error exits terrafom said init was successful in spite of the fact it did not indicate that there was a syntax error
@tomisinodunuga8422
@tomisinodunuga8422 Жыл бұрын
You need to save the file in your VS.code. You can put your VS.code in autosave better still
@harryjb28
@harryjb28 Жыл бұрын
@@tomisinodunuga8422 Thank you for this :)
@brandonwaddell2583
@brandonwaddell2583 Жыл бұрын
@@tomisinodunuga8422 you’re a lifesaver
@iqbalhakim3953
@iqbalhakim3953 10 ай бұрын
@@tomisinodunuga8422 my man
@midinerd
@midinerd Жыл бұрын
danke!
@siddhantsrivastava4048
@siddhantsrivastava4048 7 ай бұрын
Note: We also need to install terraform.
@iamnexom
@iamnexom 2 жыл бұрын
It doesn't matter if you're tall, short, thin, fat, rich, poor at the end of the day it's Night !
@-ex-muslimtv4435
@-ex-muslimtv4435 2 жыл бұрын
we need Bash scripting (full course)
@observermanj8904
@observermanj8904 2 жыл бұрын
Inshallah
@ahmadaljenyat3907
@ahmadaljenyat3907 Жыл бұрын
Inshallah
@tomtr3309
@tomtr3309 2 жыл бұрын
I studying css 6h 2years ago in your channel, but when i fast foward the subtitle is broken, can you fix it, i have to study at school in 2 weaks
@koshrf
@koshrf 9 ай бұрын
You skipped the creation of the VM, which is the whole point of this video, isn't it?
@bmw428
@bmw428 2 ай бұрын
It’s in his course on his website linked here
@rimantasdanilevicius6754
@rimantasdanilevicius6754 2 жыл бұрын
Human language - so what can I do with that? :D
@darkpill
@darkpill 2 жыл бұрын
Is there an AWS version of this? None of the companies I want to apply to would ever use Azure.
@STHLMsoderort
@STHLMsoderort 2 жыл бұрын
What kind of company are you applying to? I think in Europe Azure is used widely.
@tylerkhudson
@tylerkhudson Жыл бұрын
kzfaq.info/get/bejne/n7iRlMxirqjQcmQ.html
@NeverGonnaGiveYouUpp
@NeverGonnaGiveYouUpp 2 жыл бұрын
Fun Fact: if you write fun fact, people will read it
@ilovefoxes9987
@ilovefoxes9987 2 жыл бұрын
Well don't work anymore do another video on discord python bot
@ilovefoxes9987
@ilovefoxes9987 2 жыл бұрын
Because it's outdated
Linux Operating System - Crash Course for Beginners
2:47:56
freeCodeCamp.org
Рет қаралды 2,2 МЛН
Ouch.. 🤕
00:30
Celine & Michiel
Рет қаралды 48 МЛН
UNO!
00:18
БРУНО
Рет қаралды 4,9 МЛН
managed to catch #tiktok
00:16
Анастасия Тарасова
Рет қаралды 40 МЛН
Happy birthday to you by Tsuriki Show
00:12
Tsuriki Show
Рет қаралды 10 МЛН
Terraform Course - Automate your AWS cloud infrastructure
2:20:58
freeCodeCamp.org
Рет қаралды 1,9 МЛН
Why You NEED To Learn Terraform | Practical Tutorial
27:33
Travis Media
Рет қаралды 111 М.
Docker Crash Course for Absolute Beginners [NEW]
1:07:39
TechWorld with Nana
Рет қаралды 1,6 МЛН
Terraform Explained
8:44
IBM Technology
Рет қаралды 273 М.
8 Terraform Best Practices that will improve your TF workflow immediately
8:57
It’s time to move on from Agile Software Development (It's not working)
11:07
Building a Health Application with React Native: Step Counter
3:57:53
notJust․dev
Рет қаралды 341 М.
Azure DevOps Step by Step Tutorial for Beginners | DevOps Tutorial
1:42:07
Using Terraform with Azure
45:00
John Savill's Technical Training
Рет қаралды 115 М.
Ouch.. 🤕
00:30
Celine & Michiel
Рет қаралды 48 МЛН