WEBVTT
Kind: captions
Language: en

00:00:00.030 --> 00:00:06.990
Next we're going to create an ec2 server
instance to run our project open up the

00:00:06.990 --> 00:00:14.099
AWS console and select services and EC2 underneath the compute option this is

00:00:14.099 --> 00:00:18.760
where all of our ec2 server instances
are in AWS

00:00:18.760 --> 00:00:20.490
an ec2 server instance is

00:00:20.490 --> 00:00:25.230
simply just a virtual machine that you
can spin up and connect to to deploy our

00:00:25.230 --> 00:00:31.170
application once you're on the ec2 page
click on launch instance to create a new

00:00:31.170 --> 00:00:33.080
instance

00:00:33.080 --> 00:00:37.230
if you're in the 12 month free tier period then you shouldn't be

00:00:37.230 --> 00:00:40.649
charged for following the steps in this
course as long as you choose all of the

00:00:40.649 --> 00:00:45.539
options for the free tier so what we're
going to do is we're going to use the

00:00:45.539 --> 00:00:50.550
Ubuntu operating system with the ami
version that I put in the resources of

00:00:50.550 --> 00:00:54.870
this video so if you click the link in
the resources and then copy the ami ID

00:00:54.870 --> 00:00:59.370
just to make sure we get the specific
version that I did for the steps in this

00:00:59.370 --> 00:01:01.020
course

00:01:01.020 --> 00:01:05.339
copy the ami and then head back
to the choose an Amazon machine image

00:01:05.339 --> 00:01:12.510
page and enter the ami into the search
box here and hit enter so we're going to

00:01:12.510 --> 00:01:19.350
be using this Ubuntu 18.04 LTS SSD
volume type image as you can see here it's

00:01:19.350 --> 00:01:23.040
eligible for the free tier so if you're
in the 12-month free tier period then

00:01:23.040 --> 00:01:25.660
you shouldn't be charged

00:01:25.660 --> 00:01:28.200
Once you've found this click on select to select

00:01:28.200 --> 00:01:32.490
this as our server instance and then
we're going to choose the micro instance

00:01:32.490 --> 00:01:37.829
which is the second one down and is also
in the free tier then click on configure

00:01:37.829 --> 00:01:42.780
instance details and we're going to make
some changes to the instance and the

00:01:42.780 --> 00:01:47.220
changes that we're going to make is
we're going to add a or allow HTTP

00:01:47.220 --> 00:01:53.310
access to the instance by default when
AWS creates an instance the only port

00:01:53.310 --> 00:01:59.850
that's open is port 22 for SSH access we
also want to open port 80 so that we can

00:01:59.850 --> 00:02:03.660
connect to our web server once we create
it

00:02:03.660 --> 00:02:06.149
so click on this option 6 here which

00:02:06.149 --> 00:02:11.520
is configure security group and then
we're going to add a new rule and we're

00:02:11.520 --> 00:02:15.440
going to choose HTTP

00:02:15.440 --> 00:02:17.730
and then we're going to click review and

00:02:17.730 --> 00:02:24.390
launch this will let us review the
settings of our instance so just have a

00:02:24.390 --> 00:02:28.080
check here make sure it matches or is
similar to what I have on the screen and

00:02:28.080 --> 00:02:30.940
then click on launch

00:02:30.940 --> 00:02:33.930
next you're going to be prompted to choose the SSH key

00:02:33.930 --> 00:02:38.010
that you want to set up on the server
the SSH key is what we're going to use

00:02:38.010 --> 00:02:41.910
to connect to the server once it's
created so make sure you choose the

00:02:41.910 --> 00:02:46.860
right one so I'm going to select the key
pair for mark desktop and then check the

00:02:46.860 --> 00:02:52.799
box that acknowledges you have access to
this key then click Launch instance and

00:02:52.799 --> 00:02:57.680
your instance will be created in AWS

