AWS Storage Gateway
User Guide (API Version 2013-06-30)

Performing Tasks on the Amazon EC2 Local Console (File Gateway)

Some maintenance tasks require that you log in to the local console when running a gateway deployed on an Amazon EC2 instance. In this section, you can find information about how to log in to the local console and perform maintenance tasks.

Logging In to Your Amazon EC2 Gateway Local Console

You can connect to your Amazon EC2 instance by using a Secure Shell (SSH) client. For detailed information, see Connect to Your Instance in the Amazon EC2 User Guide. To connect this way, you need the SSH key pair that you specified when you launched your instance. For information about Amazon EC2 key pairs, see Amazon EC2 Key Pairs in the Amazon EC2 User Guide.

To log in to the gateway local console

  1. Log in to your local console. If you are connecting to your EC2 instance from a Windows computer, log in as admin.

  2. After you log in, you see the AWS Appliance Activation - Configuration main menu, as shown in the following screenshot.

    To Learn About This See This Topic
    Configure an HTTP proxy for your gateway Routing Your Gateway Deployed on EC2 Through an HTTP Proxy
    Configure network settings for your gateway Testing Your Gateway Connectivity to the Internet
    Test network connectivity Testing Your Gateway Connectivity to the Internet
    View a system resource check Logging In to Your Amazon EC2 Gateway Local Console.
    Run Storage Gateway console commands Running Storage Gateway Commands on the Local Console

To shut down the gateway, enter 0.

To exit the configuration session, enter x to exit the menu.

Routing Your Gateway Deployed on EC2 Through an HTTP Proxy

AWS Storage Gateway supports the configuration of a Socket Secure version 5 (SOCKS5) proxy between your gateway deployed on Amazon EC2 and AWS.

If your gateway must use a proxy server to communicate to the internet, then you need to configure the HTTP proxy settings for your gateway. You do this by specifying an IP address and port number for the host running your proxy. After you do so, AWS Storage Gateway routes all HTTPS traffic through your proxy server.

To route your gateway internet traffic through a local proxy server

  1. Log in to your gateway's local console. For instructions, see Logging In to Your Amazon EC2 Gateway Local Console.

  2. On the AWS Appliance Activation - Configuration main menu, enter 1 to begin configuring the HTTP proxy.

  3. Choose one of the following options in the AWS Appliance Activation - Configuration HTTP Proxy Configuration menu.

    To Do This
    Configure an HTTP proxy

    Enter 1.

    You need to supply a host name and port to complete configuration.

    View the current HTTP proxy configuration

    Enter 2.

    If an HTTP proxy is not configured, the message HTTP Proxy not configured is displayed. If an HTTP proxy is configured, the host name and port of the proxy are displayed.

    Remove an HTTP proxy configuration

    Enter 3.

    The message HTTP Proxy Configuration Removed is displayed.

Configuring Your Gateway Network Settings

You can view and configure your Domain Name Server (DNS) settings through the local console.

To configure your gateway to use static IP addresses

  1. Log in to your gateway's local console. For instructions, see Logging In to Your Amazon EC2 Gateway Local Console.

  2. On the AWS Appliance Activation - Configuration main menu, enter 2 to begin configuring your DNS server.

  3. On the Network Configuration menu, choose one of the following options.

    To Do This
    Edit your gateway's DNS configuration

    Enter 1.

    The available adapters of the primary and secondary DNS servers are displayed. You are prompted to provide the new IP address.

    View your gateway's DNS configuration

    Enter 2.

    The available adapters of the primary and secondary DNS servers are displayed.

Testing Your Gateway Connectivity to the Internet

You can use your gateway's local console to test your internet connection. This test can be useful when you are troubleshooting network issues with your gateway.

To test your gateway's connection to the internet

  1. Log in to your gateway's local console. For instructions, see Logging In to Your Amazon EC2 Gateway Local Console.

  2. In the AWS Storage Gateway Configuration main menu, enter 3 to begin testing network connectivity.

    The console displays the available AWS Regions.

  3. Choose option 1 for Storage Gateway.

    The console displays the available AWS Regions for Storage Gateway.

  4. Choose the AWS Region that you want to test. Following are the available AWS Regions for gateways deployed an EC2 instance.

    AWS Region Name AWS Region String File Gateway Volume Gateway Tape Gateway
    US East (Ohio) us-east-2

    yes

    yes

    yes

    US East (N. Virginia) us-east-1

    yes

    yes

    yes

    US West (N. California) us-west-1

    yes

    yes

    yes

    US West (Oregon) us-west-2

    yes

    yes

    yes

    Canada (Central) ca-central-1

    yes

    yes

    yes

    EU (Ireland) eu-west-1

    yes

    yes

    yes

    EU (Frankfurt) eu-central-1

    yes

    yes

    yes

    EU (London) eu-west-2

    yes

    yes

    yes

    EU (Paris) eu-west-3

    yes

    yes

    yes

    EU (Stockholm) eu-north-1

    yes

    yes

    yes

    Asia Pacific (Tokyo) ap-northeast-1

    yes

    yes

    yes

    Asia Pacific (Seoul) ap-northeast-2

    yes

    yes

    yes

    Asia Pacific (Singapore) ap-southeast-1

    yes

    yes

    yes

    Asia Pacific (Sydney) ap-southeast-2

    yes

    yes

    yes

    Asia Pacific (Mumbai) ap-south-1

    yes

    yes

    yes

    South America (São Paulo) sa-east-1

    yes

    yes

    no

    AWS GovCloud (US) us-gov-west-1

    yes

    yes

    yes

    Each endpoint in the AWS Region that you choose displays either a [PASSED] or [FAILED] message, as shown following.

    Message Description
    [PASSED] AWS Storage Gateway has internet connectivity.
    [FAILED] AWS Storage Gateway does not have internet connectivity.

Viewing Your Gateway System Resource Status

When your gateway starts, it checks its virtual CPU cores, root volume size, and RAM. It then determines whether these system resources are sufficient for your gateway to function properly. You can view the results of this check on the gateway's local console.

To view the status of a system resource check

  1. Log in to your gateway's local console. For instructions, see Logging In to Your Amazon EC2 Gateway Local Console.

  2. In the AWS Storage Gateway Configuration main menu, enter 4 to view the results of a system resource check.

    The console displays an [OK], [WARNING], or [FAIL] message for each resource as described in the table following.

    Message Description
    [OK] The resource has passed the system resource check.
    [WARNING] The resource doesn't meet the recommended requirements, but your gateway can continue to function. AWS Storage Gateway displays a message that describes the results of the resource check.
    [FAIL] The resource doesn't meet the minimum requirements. Your gateway might not function properly. AWS Storage Gateway displays a message that describes the results of the resource check.

    The console also displays the number of errors and warnings next to the resource check menu option.

Running Storage Gateway Commands on the Local Console

The AWS Storage Gateway console helps provide a secure environment for configuring and diagnosing issues with your gateway. Using the console commands, you can perform maintenance tasks such as saving routing tables or connecting to AWS Support.

To run a configuration or diagnostic command

  1. Log in to your gateway's local console. For instructions, see Logging In to Your Amazon EC2 Gateway Local Console.

  2. In the AWS Appliance Activation Configuration main menu, enter 5 for Gateway Console.

  3. In the command prompt, enter h, and then press the Return key.

    The console displays the AVAILABLE COMMANDS menu with the available commands. After the menu, a gateway console prompt appears, as shown in the following screenshot.

  4. At the command prompt, enter the command that you want to use and follow the instructions.

To learn about a command, enter the command name at the command prompt.