Let's go ahead and create are easy to instance.
So it will do.
It will create a new folder and will cool is easy to inside.
We're going to create a new file.
And that's going to be named Dot T.F..
So inside what we can do is add our provider, inside provider in quotes a W.S..
Now we had our brackets and we set region equal to and in my case I'm in London, so it's going to be
EU dash w dash two.
Excellent.
Now onto the resource block.
So we type in resource and as we saw with documentation, it's a W.S. on the school instance.
Then we give it a name.
I'm just gonna go.
It's easy too.
Next we set the aim.
And that goes inside quotes and we'll paste in the amite we copied earlier.
Next, we're going to set the instance type.
And as you can see here with a plugin is telling me that this is a required field and it's quite useful,
especially when you're going ahead and creating complex infrastructure, as well as also the predictive
element of what attributes of options you would like to use when creating your resource.
So go ahead and click on that.
And when you see instance type equal to and in quotes T two dot micro.
Now this is free to eligible.
And I'll also include a link so you can see the other instance types you can create.
And if we're happy with that, we can go ahead and save it.
And that's done.
We can go ahead and create it.
So we gave it to our terminal.
It's a view terminal looking to minimize explore c.D into E.S. two.
And first, come on, we need to run is terrible in its.
And next, let's run tearful apply.
Excellent.
As you can see here, we're going to go ahead and create one easy to instance and there are a lot of
fields we can add.
So now let's go ahead and enter.
Yes.
And this is going to take a couple of minutes to go ahead and create.
Excellent.
That was a bit quicker than expected.
Well, we can do is get back to the council and see Area C two instance.
Now, back in our council, let's go to easy to catch you running instances.
And you can see this is the easy two instance we created.
Now, just take a while to fully spin up.
As you can see here, by initializing the very go, you've now set up your first easy two instance.
So now let's go ahead and tear it down.
Let's go back over to the U.S. code and type in tearful destroy.
Into.
Yes.
This can take a couple of minutes to fully terminate.
Excellent.
That wraps up this video.
I'll look forward to seeing you in the next will.