Previous Lecture Complete and continue  

  Launching AWS EC2 Instance Demo 1 💻

Welcome to the demo. In this demo, we will launch an EC2 instance. First of all, let's switch our regions because we will be using Northern California for all the labs. So, let's make it consistent, okay. So, we switched to the Northern California. It's from the top-right menu, right next to your name. And it says California, which is good.

Now, you see a lot of services. You see a lot of services. Most of them are very important, but not all of them are equally important. The most important ones are compute, because that's what you will be using to create your compute instances. So, let's click on the EC2. You can find it under the compute category. If you have trouble finding it, you can just type EC2, and it will be in the dropdown as well. So, I clicked on the EC2, and now I am in the EC2 dashboard.

The middle part of the dashboard shows you the current status. It shows you how many instances do you have. How many other resources related to the elastic compute cloud you have. It also shows you the health of this region. On the right side, you would see some relevant news, such as AWS Marketplace. You would see your default VPC, and then on the left side, you would have lots and lots of options to pick from. So, most of them, they are resources.

They're resources, such as images, volumes, security groups, load balancers, etc. So, we are mostly interested in the instances, that's what we will be creating. So, if you go to instances, right now I don't have any instances in this particular region. So, if you don't have any instances, you would not see them either, but you would see this button, it says, "Launch Instance". So, you can click on this button or from the dashboard, from the homepage of the dashboard. You can also click on the "Launch Instance", and you will be taken to a wizard.

The wizard has seven steps. They're listed in the top. The first step is picking an image. In the Quick Start, you would have the list of the most popular images, such as Amazon Linux, Red Hat, Ubuntu and also Microsoft Servers. We're going to go with the Amazon Linux, the latest one as of this recording would have the date as of 2017.03.0. It says HVM. HVM, it's a special hardware type. It's the most recent one and it says, SSD Volume Type. So, you must use an SSD volume type with this particular image. And then you can read the description, it will tell you what it has. It has some repositories, which is good. And it says, the root device is EBS. So keep that in mind, EBS, that's what we want. And then it also says, Free Tier Eligible. So, that's important if you're on the free tier. I'm not. I am past my free tier long, long time ago. But if you're eligible for a free tier, if you use this image and if you don't use any large type, you should be good. You shouldn't be charged for extra.

And on the left side, you can also click on My AMIs, most likely you're not going to have anything. I already have my own image there. On the Marketplace, I can pick from the images that are...most likely they would be extra, they would have some software, but not all of them. There is a lot of free images as well from the community. So, this is where you would search for the WordPress when you're going to do your lab. So, you would just type WordPress from the Marketplace and you would pick this image, which says, "WordPress Powered by Bitnami". And it says, "$0 per hour for software", but then, AWS usages fees, that's extra. But as long as you are under your free tier usages, you wouldn't be charged for AWS either. So, that should be completely free, just don't forget to terminate it once you're done with the lab.

So, let's go back to the quick start. We're not doing the lab yet. So, we will just use the plain Amazon Linux Image. We'll click select and the next step in this wizard, the next step is choosing an instance type. So, we would pick "t2.micro". Just to show you all the different types, so, the lower you go, the larger the instances become. So, for example, t2X to XL, to X-large, then M4, they're specially optimized for certain type of tasks. You can also get the compute optimized, GPU optimized, memory optimized.

What I love about the web console, the AWS web console, the one that you see, is that they have a lot of those tool-tips, a lot of those pop-ups. So, you don't have to keep in mind all the different types, all the different configurations. Most of the times, just hover on...as long as you see the data line, and you would see the explanation. For example, "10Gigabit". Oh, okay. That's the bandwidth. Right? So that makes sense. For now, we're just keeping the default choice, which is the general purpose t2.micro. It will be EBS backed and it will have just a single CPU and the memory of 1 gigabyte. Then we click on the next. As you can see, you can skip right to the launch. You would be using the default options but, we want to see all the options, so we will click on next.

0 comments