2 hours 49 minutes

Video Transcription

Hello, everybody. And welcome to this lecture and this lecture we're gonna be covering how to spin up. In easy to instance, this is following our lecture on Introduction to Compute Service is that we just went over and the previous lecture. If you're not already, go ahead and log into your eight of us, Consul, as you could see them on the management council
and let's go ahead and get started. I'm gonna navigate up here to the service's menu. And as you can see within the first category, we have computes and there's E C two. Let's go in and open that up.
So this is gonna be your easy to dashboard. As you can see, it kind of gives you an overview of what you already have. Running a CZ, you can see I have no running instances, no dedicated host or volumes. I do have a couple of security groups and keep hair said this kind of summarize things up for you very nicely. Ah, One thing I wanted to note for you is that
right now we're in the Northern Virginia region. If I wanted to change my region, I could do that
and that is because easy to is not global, though it is available and many of the certain many of the region's across the world. So keep in mind if you do get that question, it is not global center global service.
You can change your region.
And one thing I want to note is that you can actually check on the service status of availability zones for that region. So within Virginia, these air all the daisies that are available. But if I change my region to, let's say, East Ohio
ah, significantly less amount of availability zone. So just keep that in mind. We're gonna move back to Northern Virginia
and let's begin working on are easy to instance. So right here is the Amazon Machine Image marketplace. These are all the free tier and non free Tear a mice, which are based basically virtual images that you're using to boot up with them within the server environment that used to to server environment.
This is what's gonna be reflected within your little slice of the cloud. So
if you spend up an Amazon Lennox to am I, that is your operating system. That's what you'll be using. But obviously you know, you could spend up windows If you go over here to the marketplace, there's a lot more vendor associated operating systems and applications that you can spend up.
Um, if we navigated Thio,
uh, business applications or here we go. If we never get thio
all categories, you can actually see some Microsoft Windows server stuff. So for those you Microsoft guys, there you go. That's how you do that. Keep in mind that not all of them are free tears. Some of them do a crude costs. Even if they are free to you're eligible. What? That means that you are going to be charged a little bit of money per hour.
So I just keep that in mind When you are spinning up in environments, Let's go ahead. And now we get back to the quick start. We're gonna use a Lennox to am I?
That's looks good. Gonna select it. So if you remember in the last lecture we covered a charts that covers all of the easy to instance types,
and there's a new monarch that helps you remember them.
This is what that is referencing. So if you look at the charts, there's ah t type Instance that would be right here. Your tea to nano t to my Gertie. Too small, extra large, etcetera. And then you also have t three as well.
Uh, if I move along, you can see that that begins to change. And also,
the name changes. So these air general purpose
as the scale up, so do the instances. They also skill up because the virtual cp use increase the memory storage types,
even the network performance. These all scale up. So if you're looking for really high performance, you know, maybe general purpose Ah, this this m five A, which is a 24 extra large, has a 20 gigabits
network performance and that is going to be much better than a tea to micro. But of course, the costs associated with that go up a swell. So keep that in mind. If you're looking for more information on the pricing, you can check out Ah Amazons documentation on Easter to instance, types and the costs associated with that they have that all documented on the web.
So let's go ahead and select this cause this is free to eligible. Analysts began configuring our instance so here is the configure instance Details page of step three. In the process, we're only gonna be configuring one instance. So we're not gonna change that If you wanted to request a spot. Instance, this is where you could do that at
gives either going rate for the A C two instances based on availability zone.
We're not gonna do that in this lecture
for networking. You can change your V p. C. You can't change the information. I do have another vpc here, but this is actually beyond the scope of the certified cloud practitioner. So we're not gonna create a new V p. C or something that we're just gonna leave everything to default.
If you wanted to change Placement Group's capacity reservation, you can do that A sign and I am Roll. We're not gonna do that, though, and then you can add some more information. But all of this is not really relevant if you are taking the certified clock practitioner exam.
if you did happen to want to, you know, automatically and run a script or install applications in your instance as soon as as soon as your server spends up, you can drop in the Bash script right within here. But for the certified cloud practitioner, that is not within the scope. So we're not gonna have to worry about that. We'll go out and close that.
Let's go to move on to storage.
So in the previous lecture, we covered TVs, volumes basically stating that devious volumes air like the hard drive that runs on your local machine. Um,
basically, this is the storage. This is the hard drive that's going to be running in the cloud. This is what your operating system will be running on.
Right now. We have a root TVs volume. We're starting off with eight gigabytes and we can choose between general purpose SST provisions, psyops, SST or magnetic.
It tells you the eye ops of the through puts the action. When you terminate, you were easy to instance, this devious willing will be deleted, and it does give you the option to encrypt. If I wanted to add additional EBS volumes, I could do that.
You can see right here. It's, you know, Aiken,
choose the device. I can also change the volume type. And I wanted to take a moment to note this If I am selecting
the Rue TVs flying. I'm only given general purpose provisions and magnetic to choose from as the route. However, if I'm adding additional, I can choose cold, hard drive and throughput optimized to make sure you remember that because that may appear on your exam, they may ask you it. Wish the following options may not be available
to you when spinning up a route. TBS volume.
And you know, if you see cold, hard drive or through optimized, make sure that you select one of those because those will not be available to you on the roots, as you can see right here. So
moving forward, we're gonna go ahead and delete. These were just going to stick with the roots
and when we want to adding tanks.
So here, adding tags helps you organize your
helps you organize your East two instances when you have many Easter two instances, this is going to help you narrow down which easy to instances might be applicable to your working group or your division. It does apply. You can apply to the instances and the volume, so just keep that in mind
and then moving on to the configuration of security groups. So
I do have some security groups already existing, but we're gonna create a new one,
and we're gonna call this one Defaults
And under the description, I'm going to say the fall three again
just for simplicity. But you can add a description that's a little bit more elaborate.
And basically, what you can do with in here is you can add the different protocols you want to use to access or send outbound communication from the server. So let's say I wanted to set up a Web server.
I can set up http and https
and basically what this is doing. It's the security group is protecting the server, allowing us on lee certain particles to access the easy to instant so we can access it through Sshh http or https, If I wanted to explicitly protect where I'm able to say shh
into my Easter to instance, I can do that by changing to my I p. This will propagate with my i p. But I'm not gonna do that for security reasons. But if you did that, you would see that your local I P address would be changed. This would restrict you from accessing the easy to instance from another part of the country that you're in.
So moving along, let's go ahead and remove thes.
We're just gonna stick with S H. Because I just wanted to explain that to you and we'll review what we're about to set up. So here you can see the review details were using Lennox to am I. This is a T to micro.
We're using Default three security group. Here's the particles that are accessible
on their storage. You can see that we're using a GP to which is your general purpose?
Ah, with eight gigs and then your instance, details gives you that's right there
and let's go ahead and launch. That looks good. We want to set up a key pair. As you can see, I have one already existing here, but I'm gonna set up a new one,
and we're going to call this,
uh, several so you can download your keep here. You I encourage you to do that because this keeper is gonna be needed in order to access the easy twin since V A. S s h um,
and we'll go ahead and launch the instance
and as you can see now it's launching. Let's go ahead and watch it do that. I do encourage you to stretch your legs, go ahead and get a cup of coffee and pause the video. All right, Welcome back. As you can see, our instance is back up and running. I'm gonna go ahead and open the subsidy can see the details.
So we do have its Here's the essence I d. We see the state is running. This is the instance type
Ah, you can see they keep their name that's associated with it. You can see the public i p the public D. N s and a bunch of other valuable information.
Let's move over to status checks. So this status checked is still initializing, but it will eventually say that it is in good health because it is running.
Ah, if the instance was running into trouble, it would be monitored and say, Oh, no, this isn't working anymore. So
just keep that in mind. We move or to monitoring. We don't have any stats on this right now, but as you are using it, you would actually be able to see ah, information and data being shown here on the graphs. This is going to happen every five minutes using cloudwatch
and then the tags associated with it. So congratulations on spinning up your very first cloud instance and eight of us
A. So you can see it's very easy. Thio actually set up a server within eight of us. It takes only a couple minutes to configure, and it would be much simpler to go about this than setting up a rack and stack server. I know that's, uh, in my previous days, working an I. T. I worked as a system administrator
and we would be setting up a lot of server environments.
And not only is it a pain because the hardware is extremely heavy, but there are so many cables associated with that, there's just so many applications you have to put in into the servers and configuring it with the existing network. It's just it's really hard, and here you can do everything right within your chair because AWS handles the heavy lifting for you. All you do is
spin it up and configure the settings to
run within your environment or whatever applications you need.
And yeah, if you have any questions, please feel free to reach out to me. If not, I will see you and the next lecture.

Up Next

AWS Certified Cloud Practitioner

The AWS Certified Cloud Practitioner training course will prepare students to pass the related certification exam. In this course, students will learn the foundational principles of the AWS cloud platform to develop a solid understanding of the AWS cloud.

Instructed By

Instructor Profile Image
Nicolas Moy
Senior Cloud Security Engineer