to get the most out of this video you
should have an interest in backing up
your on-premises data to the AWS cloud
you should already have an AWS account
and know how to sign up for AWS services
so just what is AWS Storage Gateway the
AWS Storage Gateway is a service
connecting and on-premises software
appliance with cloud-based storage to
provide seamless and secure integration
between an organization's on-premises IT
environment and AWS is storage
infrastructure you can backup snapshots
of your on-premises application data to
Amazon s3 you can also easily mirror
data from your on-premises locations to
your applications running on Amazon ec2
for this exercise we will walk through a
simple example to back up data to Amazon
s3 we will start by setting up and
activating a gateway will then create an
on-premises gateway storage volume and
not this volume as a nice cozy device
from a client running in your data
center finally we'll test our setup by
saving sample data to this volume and
storing a snapshot of this data in
Amazon s3 this exercise assumes that
you've already provisioned a host in
your data center running VMware ESXi
hypervisor please consult our technical
documentation for detailed host
requirements we will be using a Windows
client to mount our gateway storage
volume we will also be using VMware
vSphere client to configure our storage
gateway VM so how does the AWS Storage
Gateway work the AWS Storage Gateway is
developed as a virtual machine that you
install on a host in your data center
you can create storage volumes on your
gateway which you mount to your
on-premises application servers as ice
cozy devices as your applications write
data to a gateway storage volume over I
scuzzy this data is stored on an
on-premises disk that you assigned to
your volume you can use either new disks
or disks already holding data your
gateway also stores incoming writes in a
staging area referred to as working
storage this working storage space is
used by your gateway to prepare and
buffer data for upload to AWS your
gateway then uploads this data over an
encrypted SSL connection to
the AWS Storage Gateway service running
in the AWS cloud the service then stores
the data encrypted in Amazon s3 this
data is stored in the form of Amazon EBS
snapshots you can restore these
snapshots locally or use them as a
starting point for new Amazon EBS
volumes enabling access from your Amazon
ec2 based applications setting up and
activating a gateway you will need to
download the Gateway virtual machine by
navigating to the AWS Storage Gateway
console this VM comes in the form of an
OVA file you'll now deploy the OVA file
to your on-premises host running the
VMware ESXi hypervisor using your VMware
vSphere client connect to this host from
the file menu click deploy OVF template
provide the path to your downloaded AWS
Storage Gateway OVA package and click
Next click Next again the name shown
appears in your vSphere client but is
not used anywhere by the AWS Storage
Gateway you can click Next again select
thick provisioned format and click Next
thick provisioning provides your gateway
with better performance now you can
click finish it may take a few minutes
for the deployment to complete
synchronize the time on the storage
gateway VM with the time on the host
you've provisioned in the vSphere client
right-click the name of your gateway VM
and select edit settings in the options
tab of the virtual machine properties
dialog box select VMware tools from the
options list check the synchronize guest
time with host option and click OK
you'll now need to allocate local disks
to your deployed gateway VM to store
your application data each disk that you
allocate to your VM will be used by one
of your gateway I scuzzy storage volumes
these disks can be allocated as virtual
disks from either San or direct-attached
disks we will allocate a one gigabyte
virtual disk to the VM for storing
application data from a direct attached
disk using the vSphere client right
click the name of your gateway VM and
click Edit settings click Add to add a
device click hard disk to add a disk and
click Next select create a new virtual
disk and click Next
specify the size of the disk as one
gigabyte and click Next click Next again
now you can click finish for your
gateway to function properly you must
configure your VM to use paravirtualized
controllers this is a very important
step within the Edit settings screen of
your vSphere console select skuzzy
controller 0 and click Change type
select the VMware a pair of virtual
scuzzy controller type and click OK
click OK again at this point we'll want
to allocate disks to our VM for our
gateway to use as working storage
working storage is used to temporarily
buffer your rights prior to uploading
your data to AWS for our exercise we
will allocate a one gigabyte virtual
disk to the VM for working storage
following the same steps we took to
allocate a disk for storing our
application data you are now ready to
activate your gateway the activation
process associates your gateway with
your AWS account
first we will power on the gateway VM
using the vSphere console within the
summary tab of the VM we will see the IP
address of our VM note that after
powering on the VM it might take a few
minutes for the IP address to appear in
the AWS Storage Gateway console in the
setup and activate gateway wizard
navigate to the activate gateway step
enter the IP address of your Gateway and
click proceed to activation page in
order to proceed to the activation page
successfully your browser must be
running on a machine with network
connectivity to your local gateway host
on the activation page provide the AWS
region where you want your snapshots
stored it is advisable to select the
region closest to your gateway host
specify a time zone and name for your
gateway and click the activate button
congratulations your gateway is now
activated creating and mounting and I
scuzzy gateway storage volume using the
AWS Storage Gateway console click the
create volume button specify the virtual
disk on your VM that you allocated in a
previous step to store your application
data enter a nice cozy target name for
your volume you will later mount this
volume from your application server
using this target
click create volume AWS Storage Gateway
will also create a default snapshot
schedule for your volume your gateway
will take daily snapshots of the data
written to your volume and store this
data in Amazon s3
this schedule is configurable you will
now configure working storage on your
gateway selecting the disk that you
allocated to your VM for this purpose in
a previous step working storage is used
to buffer your rights to Amazon s3 you
can always add more working storage as
you need it we can now connect to our
storage volume using our Windows client
copy the IP address of your gateway
storage volume start the I scuzzy
initiator on your Windows client click
discover portal and paste your volumes
IP address you will see the I scuzzy
target you created appear select this
target and click connect
you can now initialize and format this
storage volume for Windows so you can
begin writing data to it in the Start
menu type Disk Management MSc to open
the disk management console your storage
volume will appear as a mounted disc
create a simple volume from this disk
you can now access this volume from
Windows Explorer using our gateway let's
test our setup by copying a sample file
over to our mounted volume now let's
take a snapshot of this data by going to
the storage gateway console and
selecting the create snapshot button we
can now track and manage the snapshot
using the console we've now successfully
connected to our storage volume over I
scuzzy written data and uploaded a
backup snapshot of this data to Amazon
s3 in the event one of our local disks
fails we can restore the snapshot
locally by creating a new storage volume
from a new disk and specifying our
backup snapshot we can also create an
Amazon EBS volume from this snapshot and
access its contents from Amazon ec2 now
that you've seen how to do it try it
yourself by visiting consult a WSU
Amazon comm forward slash storage
gateway to read more about AWS Storage
Gateway visit aws.amazon.com forward
slash storage gateway