Hybrid Storage and Data Migration with AWS Storage Gateway File Gateway

Open Console

Caution: When you are in the console, do not deviate from the lab instructions. Doing so may cause your account to be blocked. Learn more.

Download PEM Download PPK

Hybrid Storage and Data Migration with AWS Storage Gateway File Gateway

2 hours 8 Credits

SPL-223 - Version 1.0.0

© 2019 Amazon Web Services, Inc. and its affiliates. All rights reserved. This work may not be reproduced or redistributed, in whole or in part, without prior written permission from Amazon Web Services, Inc. Commercial copying, lending, or selling is prohibited.

Errors or corrections? Email us at

Other questions? Contact us at

Lab Overview

With AWS Storage Gateway, you can connect an on-premises software appliance with cloud-based storage. This provides a seamless and secure integration between your on-premises IT environment and AWS's storage infrastructure. For instance, you could securely upload data currently stored on-premises to the AWS cloud for cost effective backup and rapid disaster recovery.

The AWS Storage Gateway service is ideal for hybrid deployments and migration solutions looking to bridge traditional on-premises servers and storage protocols with cloud native services such as Amazon S3 and Amazon EBS. Customers can connect to AWS Storage Gateway in a number ways such as file-based access, block level access, and virtual tape access.

In this lab, we will use the File Gateway service to attach an NFS mount to an on-premises data store and replicate that data to an S3 bucket in AWS. Additionally, this lab will also step you though configuring advanced S3 features: S3 Lifecycle Policies and Cross-Region Replication (CRR).

This lab will be spread over three regions representing the on-premises data center, the backup region where the File Gateway runs, and a third region that will be used for S3 CRR allowing the data stored in the backup region to be replicated securely to a region closer to another set of customers.

Topics Covered

By the end of this lab, you will be able to:

  • Configure a File Gateway with an NFS file share and attach it to a Linux instance
  • Migrate a set of data from the Linux instance to an S3 bucket
  • Create and configure a primary S3 bucket to migrate on-premises server data to
  • Create and configure a secondary S3 bucket to use for Cross-Region Replication
  • Create an S3 lifecycle policy to automatically manage data in a bucket

Technical Knowledge Prerequisites

To successfully complete this lab, you should be familiar with basic navigation of the AWS Management Console and be comfortable with basic Linux CLI commands.

Start Lab

Notice the lab properties below the lab title:

  • setup - The estimated time to set up the lab environment
  • access - The time the lab will run before automatically shutting down
  • completion - The estimated time the lab should take to complete
  1. At the top of your screen, launch your lab by clicking Start Lab

If you are prompted for a token, use the one distributed to you (or credits you have purchased).

A status bar shows the progress of the lab environment creation process. The AWS Management Console is accessible during lab resource creation, but your AWS resources may not be fully available until the process is complete.

  1. Open your lab by clicking Open Console

This will automatically log you into the AWS Management Console.

Please do not change the Region unless instructed.

Common login errors

Error : Federated login credentials

If you see this message:

  • Close the browser tab to return to your initial lab window
  • Wait a few seconds
  • Click Open Console again

You should now be able to access the AWS Management Console.

Error: You must first log out

If you see the message, You must first log out before logging into a different AWS account:

  • Click click here
  • Close your browser tab to return to your initial Qwiklabs window
  • Click Open Console again

Join Qwiklabs to read the rest of this lab...and more!

  • Get temporary access to the Amazon Web Services Console.
  • Over 200 labs from beginner to advanced levels.
  • Bite-sized so you can learn at your own pace.
Join to Start This Lab