Time
2 hours 49 minutes
Difficulty
Beginner
CEU/CPE
3

Video Transcription

00:00
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
00:19
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.
00:31
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
00:49
right now we're in the Northern Virginia region. If I wanted to change my region, I could do that
00:54
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.
01:07
You can change your region.
01:10
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
01:26
ah, significantly less amount of availability zone. So just keep that in mind. We're gonna move back to Northern Virginia
01:34
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.
01:53
This is what's gonna be reflected within your little slice of the cloud. So
01:59
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.
02:15
Um, if we navigated Thio,
02:17
uh, business applications or here we go. If we never get thio
02:23
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.
02:40
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?
02:47
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,
02:57
and there's a new monarch that helps you remember them.
03:00
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.
03:15
Uh, if I move along, you can see that that begins to change. And also,
03:20
the name changes. So these air general purpose
03:23
as the scale up, so do the instances. They also skill up because the virtual cp use increase the memory storage types,
03:31
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
03:46
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.
04:08
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
04:27
gives either going rate for the A C two instances based on availability zone.
04:32
We're not gonna do that in this lecture
04:34
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.
04:50
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.
05:03
Um,
05:04
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.
05:25
Let's go to move on to storage.
05:27
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,
05:36
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.
05:45
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.
05:56
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.
06:11
You can see right here. It's, you know, Aiken,
06:14
choose the device. I can also change the volume type. And I wanted to take a moment to note this If I am selecting
06:21
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
06:40
to you when spinning up a route. TBS volume.
06:43
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
06:53
moving forward, we're gonna go ahead and delete. These were just going to stick with the roots
06:58
and when we want to adding tanks.
07:00
So here, adding tags helps you organize your
07:05
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
07:24
and then moving on to the configuration of security groups. So
07:29
I do have some security groups already existing, but we're gonna create a new one,
07:33
and we're gonna call this one Defaults
07:38
three.
07:39
And under the description, I'm going to say the fall three again
07:43
just for simplicity. But you can add a description that's a little bit more elaborate.
07:47
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.
08:00
I can set up http and https
08:03
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
08:24
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.
08:43
So moving along, let's go ahead and remove thes.
08:46
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.
09:01
We're using Default three security group. Here's the particles that are accessible
09:05
on their storage. You can see that we're using a GP to which is your general purpose?
09:09
Ah, with eight gigs and then your instance, details gives you that's right there
09:15
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,
09:24
and we're going to call this,
09:26
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,
09:39
and we'll go ahead and launch the instance
09:43
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.
09:58
So we do have its Here's the essence I d. We see the state is running. This is the instance type
10:05
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.
10:16
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.
10:26
Ah, if the instance was running into trouble, it would be monitored and say, Oh, no, this isn't working anymore. So
10:35
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
10:48
and then the tags associated with it. So congratulations on spinning up your very first cloud instance and eight of us
10:56
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
11:16
and we would be setting up a lot of server environments.
11:20
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
11:39
spin it up and configure the settings to
11:41
run within your environment or whatever applications you need.
11:46
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
Instructor