[Music]
hi I'm dust a cloud Support Engineer
here at the Dallas AWS office customers
sometimes ask me how they can create a
storage gateway of Prayer our best
practices and then use that gate with
volume based interactions I tell them -
while there are many types of storage
gateways volume gate will let us save
data to volumes published out by the
Gateway over I scuzzy in this video
we'll walk through creating a volume
cached gateway on ec2 but the steps are
similar for an on-premises deployment it
will also point out some of our best
practices as we go through this process
let's get started ok from here we're
going to go ahead and sign in to the AWS
management console I've already done so
so I'm going to go ahead and go to
services and then select the storage
gateway service as I don't have any
gateways in this region it's gonna show
a get starting page it's going to get
started from here I'm gonna go ahead and
select volume gateway I'm gonna select
cached volumes that's what I'd like to
set up here just are gonna go ahead and
select next we're gonna select Amazon
ec2 because we'll be creating this with
ec2 next let's go ahead and launch with
the AWS marketplace this is a landing
page for the storage gateway it just
kind of goes over what the what the
service is from here we're just going to
click continue and then I'm gonna select
manual launch
then I'm going to scroll down and find
the region we want to create this end so
I can see Ohio here that's where I want
to go so I'm going to launch with the
ec2 console
and we can see here that it's marked off
a few instance types that we shouldn't
create with a storage gateway the in for
extra-large is actually what I want to
create with so I'm going to go ahead and
select that one as it has our required
four CPUs and 16gb of memory go ahead
and configure instance details this page
contains a list of the network options
for the instance okay we will need to
get out to the storage gateway endpoints
either over an IG W or an ATS in my case
I'm going to use an IG W so I'm gonna
select the subnet that is utilizing them
I've labeled it public here it's just so
I know what trying to does I can confirm
here that it's going to get a public IP
address so from here I'm gonna go ahead
and hit next add storage on here we have
an 80 GB volume that's used for the OS
but I'm gonna add two more let's go
ahead and choose add new volume this
volume will be used as a cache storage
volume for the Gateway the minimum for
this volume is 150 gigabytes
however a larger size will allow more
data to reside in the cache leading to
the potential for faster access times
for that data I'm going to go ahead and
use that minimum 150 we're also going to
add another volume here this flowing
will be used as the upload buffer for
the Gateway the minimum for this volume
is 150 however you can choose a larger
size to ensure that the upload buffer
doesn't become full during data upload
I'm gonna go ahead and use 150 next
let's go and add a tag I want to make
sure that I know which gateway this is
so I'm gonna go ahead and give it a name
I'm gonna call that volume gateway okay
let's go ahead and configure the
security group next we can see here on
this page so that's added port 8422 and
port 30 to 60 port 80 is used for
activation and isn't required after the
Gateway has been activated port 22 is
needed for SSH access to the instance
should that be needed and then port 3 2
6 0 is the port that the Ice goes the
initiator would connect to the Gateway
over right now the source IP is for
these are
open to everyone I'm going to reduce
that down let's do that I'm going to
need the IP addresses of both my
initiator and the instance I'm going to
use for activation let's start with
finding the IP address of the instance
to be used for activation I'm going to
go up to services I'm going to
right-click ec2 I'm going to open in a
new tab when I go to that tab I'm going
to change the region to North Virginia
because that's where I'm activating from
the Gateway is ultimately going to be in
the Ohio region though
from here I'm going to select running
instances I'm going to select the the
instance here that I use for activation
and then when I grab this public address
I need this public address because this
instance isn't in the same VPC as the
other instance so it's not going to be
able to access it over the private IP
address so from here let's go back to
the configuration page for the security
groups let's clear off this screen here
let's go ahead and put that address in
here as the source for port 80
now 232 I'm gonna also add it for SSH as
well just in case okay next I need the
initiator IP this is a different
instance from the one I'm gonna be
activating with so let's go back to Ohio
I'm going to select the region at the
top and then I'm going to select Ohio
from here I can see that I have this
Windows initiator I'm gonna go ahead and
grab the private IP of this as it's in
the V PC it'll be able to connect let me
go back to the storage gateway
configuration I'm gonna input that
address here for 30 to 60 so that the
initiator will be able to initiate okay
this looks good so I'm going to go ahead
and hit review and launch this page is
going to go over the details of the
Gateway that you're launching so it's
got the ami that's being used and as the
instance type that's being selected and
also has details on security group in
its configuration I'm going to go ahead
and select launch from here you'll
select a key pair to be used with the
Gateway if one doesn't exist you'll need
to create one in my case I already have
one so I'm going to acknowledge that I
have it this key is going to be used if
you were to need to SSH into the
instance next we're going to launch
instances
from here we can see that the instances
are launching in this case it's actually
one instance this process can take
anywhere from three to five minutes
typically okay it looks like the
instances created and available so we
can go ahead and try to activate it to
do that we'll need the public IP address
of the instance I'm gonna go ahead and
grab that here and I copy it I'm gonna
go back to the other page where we were
setting up the storage gateway so we've
already set up the the instance here so
let's go ahead and go next to the
activation screen from here I'm gonna
put the IP address in this IP address
must be reachable by the computer from
which the request is being made as we're
doing this over the public Internet and
we allowed it in the security group
everything should be good let's go ahead
and connect to Gateway
okay so from here I'm going to
give it a name and I call it volume
gaben this is the name that's seen from
the storage gateway console I'm also
going to give it a time zone here that
matches my own central time ok let's go
ahead and activate the Gateway
from here we see a list of the disks
that we allocated to the Gateway we also
need to allocate them as far as the
storage gateway is concerned so I'm
going to select upload buffer for the
first one and then cache for the second
let me go ahead and save and continue
okay so from here we can see that the
Gateway is running it doesn't have any
volumes yet so we're going to need to
create one of those
you could see here that it asked me for
the Gateway I'd like to create it under
I'm gonna select the volume gateway
because that's the one I'd like to
create it with I'm also going to give it
a capacity I'm gonna select 100 giv so I
won't be storing much on it I'm also
going to do a new empty volume as
opposed to an EBS snapshot since this
will just be a fresh gateway I'm just
ready to be used for this target name
this is this is the name you're going to
see whenever you're connecting to the
Gateway over I scuzzy I'm going to call
this line 1 let's go ahead and create
volume
next we have chap configuration this
kind of authentication is used if you
want to prevent certain initiators from
connecting to this volume or you want to
make sure that someone has access when
they should we use mutual chap so you'll
need to have a secret on both the volume
and the initiator and then those are
filled into these boxes here since I I
don't need that right now I'm going to
go ahead and hit skip a champ can be
configured at a later time if it's
needed from here we can see the the
gateway is running and we can see that
it has one volume attached to it I'm
gonna go ahead and select that volume
the volume is now available as a target
from the storage gateway in Windows who
we'll be seeing on the targets tab of
the ice cozy properties window after
discovery thanks for watching and happy
cloud computing from all of us here at
AWS
[Music]
you
[Music]