Time
2 hours 48 minutes
Difficulty
Intermediate
CEU/CPE
3

Video Transcription

00:00
congratulations you made through the fundamentals of terra form. I hope you learned a lot. We're going to spend the next few minutes summarizing everything that you've learned.
00:09
We started out talking about the right tool for the right job. History of Terra Form started in 2014. We talked about cloud infrastructure using cloud proprietary technologies to define and provisioned infrastructure such as cloud formation or
00:28
a zero resource templates.
00:31
We took a look at the complimentary configuration management tools, tools that work well with terra form and do not really overlap, such as answerable such as Packer for defining virtual images. Such a CZ chef such as Puppet we even touched on Kubernetes.
00:51
He's all being cloud technologies that you might get a little confused about. But
00:55
there is a good place for terra form, and it complements these technologies. And then we described how tear forms that declared of language versus a procedural language.
01:06
Once we discussed the basics of terror form and where it fits into the cloud tooling ecosystem, we jumped into some hands on work to really learn terra form.
01:15
Here we have the getup site that was the basis for those materials. It's here for your reference, moving forward as well so you can look at these videos or you could just look at the code that's been posted here and hopefully that will refresh you.
01:29
I'm going to navigate through the different modules that just kind of highlight what we talked about to start things off. We talked about the basics.
01:36
We put together the simplest terra form file that we could establish. We learned about providers, cloud providers. We explored the reference materials posted by Terra Form and all the different providers that are available and supported by the product. We explored the command line interface. The different innit
01:55
plan apply
01:56
and, more importantly, looking at the help option so that we could learn and understand. Morris Terra form continues to grow and develop, and when we wrapped up the basics, we continue to move forward into some more advanced topics of terra form variables. Specifically input variables,
02:14
overriding input variables, Visa VI environment variables,
02:17
these of E T F bars files.
02:21
We talked about output variables to pass information from one terra form module to the next to pass information to the screen. Two scripts that are calling tear for models, and finally we talked about local variables and their use in the terra form files.
02:40
Then we proceeded to talk about terra form modules themselves. We started out looking at creating our own local modules and custom models for a team.
02:50
And we also explored the community modules in the module registry that's hosted on terra form to see what other community members have found our good patterns to take the various building blocks and resource is and structure in a certain way
03:07
so that we could reuse them and simplify the amount of terra form code that we needed to create ourselves
03:12
and take advantage of using these positive patterns and reusing the positive patterns that terra form modules created, making it just easier for us to construct our terra form files. And then finally we had a lab activity where we searched the modules in the community,
03:30
all to put together in a tzar container instance which deployed a very simplistic web application
03:38
Moving forward from that point, we talked about provisions, er's
03:43
and really being a last resort to the way once you have your base virtual machine deployed and defined and then gets deployed toe come back after the fact and run a variety of automation to further install additional applications and configure that virtual machine in other ways.
04:02
You wouldn't use his approach so much
04:04
if you were applying Packer and pre creating your virtual machines will say the pre baked virtual machines. But the reality is there will be circumstances where you want to just make some small tunings may be installed something very simplistic, not a virtual machine.
04:19
And you don't want to go through creating an actual custom image of that virtual machine.
04:26
And of course, in this lesson, we also spent some time looking at the graph biz online, specifically examining the terra form graph output so that we could explore the relationships in our terra form files. Between all the different resource is allowing us to better understand
04:44
how terra form is seeing things,
04:46
how it's constructing and visualize ing our infrastructure.
04:51
From there, we progress to talk about the terra form state file.
04:55
We looked at the Terra form state file itself locally, but more importantly, we went through the activity of having that state file hosted remotely in this case on a deserve storage account, which is a very valuable way to do things when you have a team all working on similar infrastructure so that we can share that state file.
05:16
Wrapping things up, we talked about terra form conditional Sze.
05:20
Here we explored the four each loop we talked about looping through maps with You have key value pairs. We went through the four loop looping through cult collections. And then finally we touched on conditional Sze, which was a good strategy to use. The count attributes around
05:39
when you may want to create a particular resource under certain conditions.
05:43
But you may not want to create that same resource under other conditions, such as the value of other variables and so forth that really rounds out a summary of all the different lessons on terra form who went through a lot of ground was covered. There's some additional resource is that I want oh,
06:00
leave you with before closing out this lesson.
06:03
Of course, the terra form documentation can't stress how important that is. Then there is the gift hub site where terra form is being created and you can look at the go language that's being used to implement terra form itself. It's also a good place to reference and search bugs. Maybe you do find a defect or some misbehavior with terra form.
06:24
There's a lot of expertise,
06:25
a lot of contributors on that site.
06:28
Grunt work is a great blawg for terra form information. It's it's constantly being updated with new strategies, tips and tricks. And then, of course, when new revisions of Terra form come out, this is a good resource to get highlights on what's new. What are the capabilities?
06:44
Terra form up and running is an O'Reilly book was actually written by the primary contributor to the grunt work Blawg. It goes deeper into a lot of the topics that we talked about and even touches on some things we really didn't have time to that are going more into advanced tear form areas in arenas.
07:03
But before we close out,
07:04
I have to give a special thanks to a few folks. The teaching assistants. Robin Steven did a great job assembling the environment, set up documents for your Mac. You're Lennox and your windows environments to make sure you knew how to get the I D. Installed. Getting terra form installed the different modules. Um,
07:25
they also did a great job reviewing my videos, giving me feedback on the course content,
07:30
improving areas, focusing on certain aspects to make sure that it was explained as best as possible. And then, of course, I have to give special thanks to the cyber ery team, supporting in so many different respects from helping identify the content. We want to talk about to working on the structure of the slides, the videos
07:49
and all sorts of guidance.
07:51
So that really wraps up this course. I hope you had a good experience, positive experience. I hope the hands on nature really gives you that confidence to go forward and start using terra form for defining your cloud infrastructure and being quite successful with it. Thanks for taking the time.
08:11
I look forward to future training sessions with you.
08:13
Take care.

Fundamentals of Terraform

In this Terraform training course, students will learn the basics of the tool through hands-on labs, become comfortable with its core language features, learn how Terraform fits into the cloud tooling landscape.

Instructed By

Instructor Profile Image
James Leone
Cloud, IoT & DevSecOps at Abbott
Instructor