[Music]
hi there my name is Gabriella a cloud
support engineer he added obvious office
in Cape Town
sometimes customer asked me how do I
create an attached and igw to my newly
created VP see I tell them this can be
done in a few steps let me walk you
through the process as you can see I'm
already logged on to the AWS management
console first let's create the new VP C
without using a PPC wizard to do this
I'll click on services and scroll down
to networking and content delivery
and VPC
because we will not be using the BBC
with that I'm going to click on your VP
C's
choose decreed VPC button
outside the VPC
test VPC
a side up block wide enough for VPC
would not be using ipv6 in this test VPC
so I'll go ahead and click on the ask
red button
now we create a subnet from the V PC
side up to do this I'll click on the
subnets and click on create subnet you
also need to tag our subnet
Saida block within the BBC Saida block
I'll click on yes create to create this
BBC subnet
now we create the fun part the internet
getaway for the BBC to do this I'll
click on the Internet gateways
create Internet gateway
gives me
three tests IDW
yes create
as you can see the newly-created gear 2
is not attached any VPC now we need to
attack this with nearly created V PC so
we can route our traffic to the Internet
to do this choose attached V PC we see
our V PC without the internet gateway
because you can only attach one get
republic PC and only will be seen
without an interrogation show up in this
section so I click on the yes attached
after this is done we need to update the
routing table for the subnetting VPC to
do this we click on root tables and
choose the default route table for the
BBC we scroll down and click on routes
until edit
to add another route to the igw
this is going to be a default route
choose the IDW attach the VPC
click on the Save button
the root to all definition not
explicitly known to the Routh table for
example in default route 0.0.0.0 slash
zero for ipv4 or default route for ipv6
or you can scoop the route to a smaller
range of IP addresses for example you
can use the public ipv4 address of your
company's public endpoint I set up a
table or the elastic IP addresses of
other Amazon ec2 instances outside your
vbc if your subnets are seated with a
root table that has a route to an
Internet gateway it is known as a public
subnet in this test case we are routing
all destination not actually known to
the root cable here we add the default
route there is a preserve slash zero to
target the Gateway a point to note in
our documentation any submit that other
Internet get to is called a public
subnet the instance in the subnet to be
connected mossad either a public IP
address on attacks elastic IP address
you launch an instance in a public
subnets check the security group and a
network is here to allow access on 422
for Lana's instances or two three eight
nine for Windows instances if everything
checks out here
I still cannot connect to your instance
there are other things you may want to
check that are likely the issue first
ensure your subnet suitable points to
the Internet gateway
ensure the instance in your subnet have
a global unique IP address public ipv4
address
elastic IP address or ipv6 address
ensure that your network access control
and security group rules allow the
relevant traffic to flow to and from
your instance ensure you have downloaded
the right access key for your instance
thanks for watching and happy cloud
computing from all of us here
[Music]