• 沒有找到結果。

AWS Storage Gateway

N/A
N/A
Protected

Academic year: 2022

Share "AWS Storage Gateway"

Copied!
249
0
0

加載中.... (立即查看全文)

全文

(1)

AWS Storage Gateway

User Guide

API Version 2013-06-30

(2)

AWS Storage Gateway: User Guide

Copyright © Amazon Web Services, Inc. and/or its affiliates. All rights reserved.

Amazon's trademarks and trade dress may not be used in connection with any product or service that is not Amazon's, in any manner that is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by Amazon.

(3)

Table of Contents

What is Amazon S3 File Gateway ... 1

Amazon S3 File Gateway ... 1

How Storage Gateway works ... 3

Amazon S3 File Gateways ... 3

Setting up ... 5

Sign up for Amazon Web Services ... 5

Create an IAM user ... 5

Requirements ... 6

Required prerequisites ... 6

Hardware and storage requirements ... 7

Network and firewall requirements ... 8

Supported hypervisors and host requirements ... 16

Supported NFS clients for a file gateway ... 16

Supported SMB clients for a file gateway ... 17

Supported file system operations ... 17

Accessing AWS Storage Gateway ... 17

Supported AWS Regions ... 17

Using the hardware appliance ... 18

Supported AWS Regions ... 19

Setting up your hardware appliance ... 19

Rack-mounting and connecting the hardware appliance to power ... 20

Hardware appliance dimensions ... 20

Configuring network parameters ... 23

Activating your hardware appliance ... 25

Launching a gateway ... 27

Configuring an IP address for the gateway ... 27

Configuring your gateway ... 28

Removing a gateway ... 28

Deleting your hardware appliance ... 29

Getting started ... 30

Create an S3 File Gateway ... 30

Set up an Amazon S3 File Gateway ... 30

Connect your Amazon S3 File Gateway to AWS ... 31

Review settings and activate your Amazon S3 File Gateway ... 32

Configure your Amazon S3 File Gateway ... 32

Create a file share ... 34

Create an NFS file share ... 35

Create an SMB file share ... 39

Creating an SMB file share ... 40

Mount and use your file share ... 45

Mount your NFS file share on your client ... 45

Mount your SMB file share on your client ... 46

Working with file shares on a bucket with pre-exisiting objects ... 49

Test your S3 File Gateway ... 49

Where do I go from here? ... 50

Cleaning up resources you don't need ... 50

Activating a gateway in a VPC ... 51

Creating a VPC endpoint for Storage Gateway ... 51

Setting up and configuring an HTTP proxy ... 52

Allowing traffic to required ports in your HTTP proxy ... 54

Managing your Amazon S3 File Gateway ... 56

Adding a file share ... 56

Granting access to an S3 bucket ... 56

Cross-service confused deputy prevention ... 58

(4)

Using a file share for cross-account access ... 59

Deleting a file share ... 60

Editing settings for your NFS file share ... 61

Editing metadata defaults for your NFS file share ... 63

Editing access settings for your NFS file share ... 64

Editing SMB settings for a gateway ... 64

Setting a security level for your gateway ... 65

Using Active Directory to authenticate users ... 65

Providing guest access to your file share ... 66

Configure Local Groups for your gateway ... 67

Setting file share visibility ... 67

Editing settings for your SMB file share ... 67

Refresh Amazon S3 bucket objects ... 70

Configure an automated cache refresh schedule using the Storage Gateway console ... 70

Configure an automated cache refresh schedule using AWS Lambda with an Amazon CloudWatch rule ... 70

Perform a manual cache refresh using the Storage Gateway console ... 72

Perform a manual cache refresh using the Storage Gateway API ... 73

Using S3 Object Lock with an Amazon S3 File Gateway ... 73

Understanding file share status ... 73

File share best practices ... 74

Working with multiple file shares and Amazon S3 buckets ... 74

Allowing specific NFS clients to mount your file share ... 75

Monitoring your file gateway ... 76

Getting file gateway health logs ... 76

Configuring a CloudWatch log group for your gateway ... 77

Using Amazon CloudWatch metrics ... 78

Getting notified about file operations ... 79

Getting file upload notification ... 80

Getting working file set upload notification ... 81

Getting refresh cache notification ... 83

Understanding gateway metrics ... 84

Understanding file share metrics ... 87

Understanding file gateway audit logs ... 89

Maintaining your gateway ... 93

Shutting down your gateway VM ... 93

Managing local disks ... 93

Deciding the amount of local disk storage ... 93

Sizing cache storage ... 94

Configuring cache storage ... 94

Using ephemeral storage with EC2 gateways ... 95

Managing Bandwidth ... 96

Edit bandwidth-rate-limit schedule ... 96

Using the AWS SDK for Java ... 97

Using the AWS SDK for .NET ... 98

Using the AWS Tools for Windows PowerShell ... 100

Managing Gateway Updates ... 101

Performing Maintenance Tasks on the Local Console ... 102

Performing tasks on the VM local console (file gateway) ... 102

Performing tasks on the EC2 local console (file gateway) ... 112

Accessing the Gateway Local Console ... 115

Configuring Network Adapters for Your Gateway ... 120

Deleting Your Gateway and Removing Resources ... 125

Deleting Your Gateway by Using the Storage Gateway Console ... 125

Removing Resources from a Gateway Deployed On-Premises ... 126

Removing Resources from a Gateway Deployed on an Amazon EC2 Instance ... 126

Replacing your existing File Gateway with a new instance ... 128

(5)

Method 1: Migrate cache disk and Gateway ID to replacement instance ... 129

Method 2: Replacement instance with empty cache disk and new Gateway ID ... 130

Performance ... 132

Performance guidance for file gateways ... 132

S3 File Gateway performance on Linux clients ... 132

File gateway performance on Windows clients ... 133

Optimizing Gateway Performance ... 134

Add Resources to Your Gateway ... 135

Add Resources to Your Application Environment ... 136

Using VMware High Availability with Storage Gateway ... 136

Configure Your vSphere VMware HA Cluster ... 137

Download the .ova Image for Your Gateway Type ... 138

Deploy the Gateway ... 138

(Optional) Add Override Options for Other VMs on Your Cluster ... 138

Activate Your Gateway ... 139

Test Your VMware High Availability Configuration ... 139

Security ... 140

Data protection ... 140

Data encryption ... 141

Authentication and access control ... 142

Authentication ... 142

Access control ... 143

Overview of managing access ... 144

Using identity-based policies (IAM policies) ... 147

Using tags to control access to resources ... 153

Using ACLs for SMB file share access ... 155

Storage Gateway API permissions reference ... 157

Using service-linked roles ... 163

Logging and monitoring ... 165

Storage Gateway information in CloudTrail ... 165

Understanding Storage Gateway log file entries ... 166

Compliance validation ... 167

Resilience ... 168

Infrastructure security ... 168

AWS Security Best Practices ... 168

Troubleshooting and best practices ... 170

Troubleshooting: on-premises gateway issues ... 170

Enabling AWS Support to help troubleshoot your gateway ... 172

Troubleshooting: Microsoft Hyper-V setup issues ... 174

Troubleshooting: Amazon EC2 gateway issues ... 176

Gateway activation hasn't occurred after a few moments ... 177

Can't find the EC2 gateway instance in the instance list ... 177

Enabling AWS Support to help troubleshoot the gateway ... 177

Troubleshooting: hardware appliance issues ... 178

How to determine service IP address ... 178

How to perform a factory reset ... 178

How to obtain Dell iDRAC support ... 179

How to find the hardware appliance serial number ... 179

How to get hardware appliance support ... 179

Troubleshooting: file gateway issues ... 180

Error: InaccessibleStorageClass ... 180

Error: S3AccessDenied ... 180

Error: InvalidObjectState ... 181

Error: ObjectMissing ... 181

Notification: Reboot ... 181

Notification: HardReboot ... 182

Notification: HealthCheckFailure ... 182

(6)

Notification: AvailabilityMonitorTest ... 182

Error: RoleTrustRelationshipInvalid ... 182

Troubleshooting with CloudWatch metrics ... 182

Troubleshooting: file share issues ... 184

File share is stuck in CREATING status ... 185

Can't create a file share ... 185

SMB file shares don't allow multiple different access methods ... 185

Multiple file shares can't write to the mapped S3 bucket ... 185

Can't upload files into S3 bucket ... 186

Can't change default encryption to SSE-KMS ... 186

Changes made directly in an S3 bucket with object versioning enabled may affect what you see in your file share ... 186

When writing to an S3 bucket with object versioning enabled, the file gateway may create multiple versions of an S3 object ... 187

Changes to an S3 bucket are not reflected in Storage Gateway ... 188

ACL permissions aren't working as expected ... 188

Gateway performance declined after a recursive operation ... 188

High Availability Health Notifications ... 189

Troubleshooting: high availability issues ... 189

Health notifications ... 189

Metrics ... 190

Best practices: recovering data ... 190

Recovering from an unexpected VM shutdown ... 190

Recovering data from a malfunctioning cache disk ... 191

Recovering data from an inaccessible data center ... 191

Additional Resources ... 192

Host setup ... 192

Configuring VMware for Storage Gateway ... 192

Synchronizing Your Gateway VM Time ... 196

File gateway on EC2 host ... 197

Getting Activation Key ... 199

AWS CLI ... 200

Linux (bash/zsh) ... 200

Microsoft Windows PowerShell ... 200

Using AWS Direct Connect with Storage Gateway ... 201

Port Requirements ... 201

Connecting to Your Gateway ... 206

Getting an IP Address from an Amazon EC2 Host ... 206

Understanding Resources and Resource IDs ... 207

Working with Resource IDs ... 207

Tagging Your Resources ... 208

Working with tags ... 208

See also ... 209

Open-source components ... 209

Open-source components for Storage Gateway ... 210

Open-source components for Amazon S3 File Gateway ... 210

Quotas ... 210

Quotas for file shares ... 210

Recommended local disk sizes for your gateway ... 211

Using storage classes ... 211

Using storage classes with a file gateway ... 211

Using the GLACIER storage class with file gateway ... 214

API Reference ... 215

Required Request Headers ... 215

Signing Requests ... 217

Example Signature Calculation ... 217

Error Responses ... 218

(7)

Exceptions ... 219

Operation Error Codes ... 220

Error Responses ... 232

Operations ... 234

Document history ... 235

Earlier updates ... 241

(8)

Amazon S3 File Gateway

What is Amazon S3 File Gateway

AWS Storage Gateway connects an on-premises software appliance with cloud-based storage to provide seamless integration with data security features between your on-premises IT environment and the AWS storage infrastructure. You can use the service to store data in the AWS Cloud for scalable and cost- effective storage that helps maintain data security. AWS Storage Gateway offers file-based, volume- based, and tape-based storage solutions.

Topics

• Amazon S3 File Gateway (p. 1)

Amazon S3 File Gateway

Amazon S3 File Gateway –Amazon S3 File Gateway supports a file interface into Amazon Simple Storage Service (Amazon S3) and combines a service and a virtual software appliance. By using this combination, you can store and retrieve objects in Amazon S3 using industry-standard file protocols such as Network File System (NFS) and Server Message Block (SMB). The software appliance, or gateway, is deployed into your on-premises environment as a virtual machine (VM) running on VMware ESXi, Microsoft Hyper-V, or Linux Kernel-based Virtual Machine (KVM) hypervisor. The gateway provides access to objects in S3 as files or file share mount points. With a S3 File Gateway, you can do the following:

• You can store and retrieve files directly using the NFS version 3 or 4.1 protocol.

• You can store and retrieve files directly using the SMB file system version, 2 and 3 protocol.

• You can access your data directly in Amazon S3 from any AWS Cloud application or service.

• You can manage your S3 data using lifecycle policies, cross-region replication, and versioning. You can think of a S3 File Gateway as a file system mount on Amazon S3.

A S3 File Gateway simplifies file storage in Amazon S3, integrates to existing applications through industry-standard file system protocols, and provides a cost-effective alternative to on-premises storage.

It also provides low-latency access to data through transparent local caching. A S3 File Gateway manages data transfer to and from AWS, buffers applications from network congestion, optimizes and streams data in parallel, and manages bandwidth consumption. S3 File Gateway integrate with AWS services, for example with the following:

• Common access management using AWS Identity and Access Management (IAM)

• Encryption using AWS Key Management Service (AWS KMS)

• Monitoring using Amazon CloudWatch (CloudWatch)

• Audit using AWS CloudTrail (CloudTrail)

• Operations using the AWS Management Console and AWS Command Line Interface (AWS CLI)

• Billing and cost management

In the following documentation, you can find a Getting Started section that covers setup information common to all gateways and also gateway-specific setup sections. The Getting Started section shows you how to deploy, activate, and configure storage for a gateway. The management section shows you how to manage your gateway and resources:

• provides instructions on how to create and use a S3 File Gateway. It shows you how to create a file share, map your drive to an Amazon S3 bucket, and upload files and folders to Amazon S3.

(9)

Amazon S3 File Gateway

• describes how to perform management tasks for all gateway types and resources.

In this guide, you can primarily find how to work with gateway operations by using the AWS

Management Console. If you want to perform these operations programmatically, see the AWS Storage Gateway API Reference.

(10)

Amazon S3 File Gateways

How Storage Gateway works (architecture)

Following, you can find an architectural overview of the available Storage Gateway solutions.

Topics

• Amazon S3 File Gateways (p. 3)

Amazon S3 File Gateways

To use an S3 File Gateway, you start by downloading a VM image for the gateway. You then activate the gateway from the AWS Management Console or through the Storage Gateway API. You can also create an S3 File Gateway using an Amazon EC2 image.

After the S3 File Gateway is activated, you create and configure your file share and associate that share with your Amazon Simple Storage Service (Amazon S3) bucket. Doing this makes the share accessible by clients using either the Network File System (NFS) or Server Message Block (SMB) protocol. Files written to a file share become objects in Amazon S3, with the path as the key. There is a one-to-one mapping between files and objects, and the gateway asynchronously updates the objects in Amazon S3 as you change the files. Existing objects in the Amazon S3 bucket appear as files in the file system, and the key becomes the path. Objects are encrypted with Amazon S3–server-side encryption keys (SSE-S3). All data transfer is done through HTTPS.

The service optimizes data transfer between the gateway and AWS using multipart parallel uploads or byte-range downloads, to better use the available bandwidth. Local cache is maintained to provide low latency access to the recently accessed data and reduce data egress charges. CloudWatch metrics provide insight into resource use on the VM and data transfer to and from AWS. CloudTrail tracks all API calls.

With S3 File Gateway storage, you can do such tasks as ingesting cloud workloads to Amazon S3, performing backups and archiving, tiering, and migrating storage data to the AWS Cloud. The following diagram provides an overview of file storage deployment for Storage Gateway.

S3 File Gateway converts files to S3 objects when uploading files to Amazon S3. The interaction between file operations performed against files shares on S3 File Gateway and S3 objects requires certain

operations to be carefully considered when converting between files and objects.

Common file operations change file metadata, which results in the deletion of the current S3 object and the creation of a new S3 object. The following table shows example file operations and the impact on S3 objects.

File operation S3 object impact Storage class implication

Rename file Replaces existing S3 object and

creates a new S3 object for each file

Early deletion fees and retrieval fees may apply

(11)

Amazon S3 File Gateways

File operation S3 object impact Storage class implication

Rename folder Replaces all existing S3 objects and creates new S3 objects for each folder and files in the folder structure

Early deletion fees and retrieval fees may apply

Change file/folder permissions Replaces existing S3 object and creates a new S3 object for each file or folder

Early deletion fees and retrieval fees may apply

Change file/folder ownership Replaces existing S3 object and creates a new S3 object for each file or folder

Early deletion fees and retrieval fees may apply

Append to a file Replaces existing S3 object and creates a new S3 object for each file

Early deletion fees and retrieval fees may apply

When a file is written to the S3 File Gateway by an NFS or SMB client, the file gateway uploads the file's data to Amazon S3 followed by its metadata, (ownerships, timestamps, etc.). Uploading the file data creates an S3 object, and uploading the metadata for the file updates the metadata for the S3 object.

This process creates another version of the object, resulting in two versions of an object. If S3 Versioning is enabled, both versions will be stored.

When a file is modified in the S3 File Gateway by an NFS or SMB client after it has been uploaded to Amazon S3, the S3 File Gateway uploads the new or modified data instead of uploading the whole file.

The file modification results in a new version of the S3 object being created.

When the S3 File Gateway uploads larger files, it might need to upload smaller chunks of the file before the client is done writing to the S3 File Gateway. Some reasons for this include freeing up cache space or a high rate of writes to a file share. This can result in multiple versions of an object in the S3 bucket.

You should monitor your S3 bucket to determine how many versions of an object exist before setting up lifecycle policies to move objects to different storage classes. You should configure lifecycle expiration for previous versions to minimize the number of versions you have for an object in your S3 bucket. The use of Same-Region replication (SRR) or Cross-Region replication (CRR) between S3 buckets will increase the storage used.

(12)

Sign up for Amazon Web Services

Setting up for Amazon S3 File Gateway

This section provides instructions for getting started with Amazon S3 File Gateway. To get started, you first sign up for AWS. If you are a first-time user, we recommend that you read the Regions and Requirements sections.

Topics

• Sign up for Amazon Web Services (p. 5)

• Create an IAM user (p. 5)

• File gateway setup requirements (p. 6)

• Accessing AWS Storage Gateway (p. 17)

• Supported AWS Regions (p. 17)

Sign up for Amazon Web Services

If you do not have an AWS account, complete the following steps to create one.

To sign up for an AWS account

1. Open https://portal.aws.amazon.com/billing/signup.

2. Follow the online instructions.

Part of the sign-up procedure involves receiving a phone call and entering a verification code on the phone keypad.

Create an IAM user

After you create your AWS account, use the following steps to create an AWS Identity and Access Management (IAM) user for yourself. Then you add that user to a group that has administrative permissions.

To create an administrator user for yourself and add the user to an administrators group (console)

1. Sign in to the IAM console as the account owner by choosing Root user and entering your AWS account email address. On the next page, enter your password.

Note

We strongly recommend that you adhere to the best practice of using the Administrator IAM user that follows and securely lock away the root user credentials. Sign in as the root user only to perform a few account and service management tasks.

2. In the navigation pane, choose Users and then choose Add user.

3. For User name, enter Administrator.

4. Select the check box next to AWS Management Console access. Then select Custom password, and then enter your new password in the text box.

(13)

Requirements

5. (Optional) By default, AWS requires the new user to create a new password when first signing in. You can clear the check box next to User must create a new password at next sign-in to allow the new user to reset their password after they sign in.

6. Choose Next: Permissions.

7. Under Set permissions, choose Add user to group.

8. Choose Create group.

9. In the Create group dialog box, for Group name enter Administrators.

10. Choose Filter policies, and then select AWS managed - job function to filter the table contents.

11. In the policy list, select the check box for AdministratorAccess. Then choose Create group.

Note

You must activate IAM user and role access to Billing before you can use the

AdministratorAccess permissions to access the AWS Billing and Cost Management console. To do this, follow the instructions in step 1 of the tutorial about delegating access to the billing console.

12. Back in the list of groups, select the check box for your new group. Choose Refresh if necessary to see the group in the list.

13. Choose Next: Tags.

14. (Optional) Add metadata to the user by attaching tags as key-value pairs. For more information about using tags in IAM, see Tagging IAM entities in the IAM User Guide.

15. Choose Next: Review to see the list of group memberships to be added to the new user. When you are ready to proceed, choose Create user.

You can use this same process to create more groups and users and to give your users access to your AWS account resources. To learn about using policies that restrict user permissions to specific AWS resources, see Access management and Example policies.

File gateway setup requirements

Unless otherwise noted, the following requirements are common to all file gateway types in AWS Storage Gateway. Your setup must meet the requirements in this section. Review the requirements that apply to your gateway setup before you deploy your gateway.

Topics

• Required prerequisites (p. 6)

• Hardware and storage requirements (p. 7)

• Network and firewall requirements (p. 8)

• Supported hypervisors and host requirements (p. 16)

• Supported NFS clients for a file gateway (p. 16)

• Supported SMB clients for a file gateway (p. 17)

• Supported file system operations for a file gateway (p. 17)

Required prerequisites

Before you use an Amazon S3 File Gateway (S3 File Gateway), you must meet the following requirements:

• Configure Microsoft Active Directory (AD).

• Ensure that there is sufficient network bandwidth between the gateway and AWS. A minimum of 100 Mbps is required to successfully download, activate, and update the gateway.

(14)

Hardware and storage requirements

• Configure your private networking, VPN, or AWS Direct Connect between your Amazon Virtual Private Cloud (Amazon VPC) and the on-premises environment where you are deploying your gateway.

• Make sure your gateway can resolve the name of your Active Directory Domain Controller. You can use DHCP in your Active Directory domain to handle resolution, or specify a DNS server manually from the Network Configuration settings menu in the gateway local console.

Hardware and storage requirements

The following sections provide information about the minimum required hardware and settings for your gateway, and the minimum amount of disk space to allocate for the required storage.

For information about best practices for file gateway performance, see Performance guidance for file gateways (p. 132).

Hardware requirements for on-premises VMs

When deploying your gateway on-premises, ensure that the underlying hardware on which you deploy the gateway virtual machine (VM) can dedicate the following minimum resources:

• Four virtual processors assigned to the VM

• 16 GiB of reserved RAM for file gateways

• 80 GiB of disk space for installation of VM image and system data

For more information, see Optimizing Gateway Performance (p. 134). For information about how your hardware affects the performance of the gateway VM, see Quotas for file shares (p. 210).

Requirements for Amazon EC2 instance types

When deploying your gateway on Amazon Elastic Compute Cloud (Amazon EC2), the instance size must be at least xlarge for your gateway to function. However, for the compute-optimized instance family the size must be at least 2xlarge. Use one of the following instance types recommended for your gateway type.

Recommended for file gateway types

• General-purpose instance family – m4 or m5 instance type.

• Compute-optimized instance family – c4 or c5 instance types. Choose the 2xlarge instance size or higher to meet the required RAM requirements.

• Memory-optimized instance family – r3 instance types.

• Storage-optimized instance family – i3 instance types.

Note

When you launch your gateway in Amazon EC2 and the instance type you choose supports ephemeral storage, the disks are listed automatically. For more information about Amazon EC2 instance storage, see Instance storage in the Amazon EC2 User Guide.

Application writes are stored in the cache synchronously, and then asynchronously uploaded to durable storage in Amazon S3. If the ephemeral storage is lost because an instance stops before the upload is complete, the data that still resides in the cache and has not yet written to Amazon Simple Storage Service (Amazon S3) can be lost. Before you stop the instance that hosts the gateway, make sure that the CachePercentDirty CloudWatch metric is 0. For information about ephemeral storage, see Using ephemeral storage with EC2 gateways (p. 95). For information about monitoring metrics for your storage gateway, see Monitoring your file gateway (p. 76).

If you have more than 5 million objects in your S3 bucket and you are using a General Purposes SSD volume, a minimum root EBS volume of 350 GiB is needed for acceptable

(15)

Network and firewall requirements

performance of your gateway during startup. For information about how to increase the volume size, see Modifying an EBS volume using elastic volumes (console).

Storage requirements

In addition to 80 GiB of disk space for the VM, you also need additional disks for your gateway.

Gateway type Cache

(minimum) Cache (maximum) File gateway 150 GiB 64 TiB

Note

You can configure one or more local drives for your cache, up to the maximum capacity.

When adding cache to an existing gateway, it's important to create new disks in your host (hypervisor or Amazon EC2 instance). Don't change the size of existing disks if the disks have been previously allocated as a cache.

For information about gateway quotas, see Quotas for file shares (p. 210).

Network and firewall requirements

Your gateway requires access to the internet, local networks, Domain Name Service (DNS) servers, firewalls, routers, and so on.

Network bandwidth requirements vary based on the quantity of data that is uploaded and downloaded by the gateway. A minimum of 100Mbps is required to successfully download, activate, and update the gateway. Your data transfer patterns will determine the bandwidth necessary to support your workload.

Following, you can find information about required ports and how to allow access through firewalls and routers.

Note

In some cases, you might deploy your gateway on Amazon EC2 or use other types of

deployment (including on-premises) with network security policies that restrict AWS IP address ranges. In these cases, your gateway might experience service connectivity issues when the AWS IP range values changes. The AWS IP address range values that you need to use are in the Amazon service subset for the AWS Region that you activate your gateway in. For the current IP range values, see AWS IP address ranges in the AWS General Reference.

Topics

• Port requirements (p. 8)

• Networking and firewall requirements for the Storage Gateway Hardware Appliance (p. 12)

• Allowing AWS Storage Gateway access through firewalls and routers (p. 14)

• Configuring security groups for your Amazon EC2 gateway instance (p. 15)

Port requirements

Storage Gateway requires certain ports to be allowed for its operation. The following illustrations show the required ports that you must allow for each type of gateway. Some ports are required by all gateway types, and others are required by specific gateway types. For more information about port requirements, see Port Requirements (p. 201).

(16)

Network and firewall requirements

Common ports for all gateway types

The following ports are common to all gateway types and are required by all gateway types.

Protocol Port Direction Source Destination How used

TCP 443 (HTTPS) Outbound Storage

Gateway AWS For

communication from Storage Gateway to the AWS service endpoint. For information about service endpoints, see Allowing AWS Storage Gateway access through firewalls and routers (p. 14).

TCP 80 (HTTP) Inbound The host

from which you connect to the AWS Management Console.

Storage

Gateway By local

systems to obtain the storage gateway activation key.

Port 80 is only used during activation of the Storage Gateway appliance.

Storage Gateway does not require port 80 to be publicly accessible.

The required level of access to port 80 depends on your network configuration.

If you activate your gateway from the Storage Gateway console, the host from which you connect to the console must

(17)

Network and firewall requirements

Protocol Port Direction Source Destination How used

have access to your gateway’s port 80.

UDP/UDP 53 (DNS) Outbound Storage

Gateway DNS server For

communication between Storage Gateway and the DNS server.

TCP 22 (Support

channel) Outbound Storage

Gateway AWS Support Allows AWS Support to access your gateway to help you with troubleshooting gateway issues.

You don't need this port open for the normal operation of your gateway, but it is required for troubleshooting.

UDP 123 (NTP) Outbound NTP client NTP server Used by local

systems to synchronize VM time to the host time.

Ports for file gateways

The following illustration shows the ports to open for an S3 File Gateway.

(18)

Network and firewall requirements

Note

For specific port requirements, see Port Requirements (p. 201).

For S3 File Gateway, you only need to use Microsoft Active Directory when you want to allow domain users to access a Server Message Block (SMB) file share. You can join your file gateway to any valid Microsoft Windows domain (resolvable by DNS).

You can also use the AWS Directory Service to create an AWS Managed Microsoft AD in the Amazon Web Services Cloud. For most AWS Managed Microsoft AD deployments, you need to configure the Dynamic Host Configuration Protocol (DHCP) service for your VPC. For information about creating a DHCP options set, see Create a DHCP options set in the AWS Directory Service Administration Guide.

In addition to the common ports, Amazon S3 File Gateway requires the following ports.

Protocol Port Direction Source Destination How used

TCP/UDP 2049 (NFS) Inbound NFS clients Storage

Gateway For local systems to connect to NFS shares that your gateway exposes.

TCP/UDP 111 (NFSv3) Inbound NFSv3 client Storage

Gateway For local systems to connect to

(19)

Network and firewall requirements

Protocol Port Direction Source Destination How used

the port mapper that your gateway exposes.

Note

This port is needed onlyfor NFSv3.

TCP/UDP 20048 (NFSv3) Inbound NFSv3 client Storage

Gateway For local systems to connect to mounts that your gateway exposes.

Note

This port is needed only forNFSv3.

Networking and firewall requirements for the Storage Gateway Hardware Appliance

Each Storage Gateway Hardware Appliance requires the following network services:

Internet access – an always-on network connection to the internet through any network interface on the server.

DNS services – DNS services for communication between the hardware appliance and DNS server.

Time synchronization – an automatically configured Amazon NTP time service must be reachable.

IP address – A DHCP or static IPv4 address assigned. You cannot assign an IPv6 address.

There are five physical network ports at the rear of the Dell PowerEdge R640 server. From left to right (facing the back of the server) these ports are as follows:

1. iDRAC 2. em1 3. em2 4. em3 5. em4

You can use the iDRAC port for remote server management.

(20)

Network and firewall requirements

A hardware appliance requires the following ports to operate.

Protocol Port Direction Source Destination How used

SSH 22 Outbound Hardware

appliance 54.201.223.107 Support channel

DNS 53 Outbound Hardware

appliance DNS servers Name

resolution

UDP/NTP 123 Outbound Hardware

appliance *.amazon.pool.ntp.orgTime

synchronization

HTTPS 443 Outbound Hardware

appliance *.amazonaws.com Data transfer

HTTP 8080 Inbound AWS Hardware

appliance Activation

(only briefly)

To perform as designed, a hardware appliance requires network and firewall settings as follows:

• Configure all connected network interfaces in the hardware console.

• Make sure that each network interface is on a unique subnet.

• Provide all connected network interfaces with outbound access to the endpoints listed in the diagram preceding.

• Configure at least one network interface to support the hardware appliance. For more information, see Configuring network parameters (p. 23).

Note

For an illustration showing the back of the server with its ports, see Rack-mounting your hardware appliance and connecting it to power (p. 20).

All IP addresses on the same network interface (NIC), whether for a gateway or a host, must be on the same subnet. The following illustration shows the addressing scheme.

(21)

Network and firewall requirements

For more information about activating and configuring a hardware appliance, see Using the Storage Gateway Hardware Appliance (p. 18).

Allowing AWS Storage Gateway access through firewalls and routers

Your gateway requires access to the following service endpoints to communicate with AWS. If you use a firewall or router to filter or limit network traffic, you must configure your firewall and router to allow these service endpoints for outbound communication to AWS.

Important

Depending on your gateway's AWS Region, replace region in the service endpoint with the correct Region string.

The following service endpoint is required by all gateways for head-bucket operations.

s3.amazonaws.com:443

The following service endpoints are required by all gateways for control path (anon-cp, client-cp, proxy-app) and data path (dp-1) operations.

anon-cp.storagegateway.region.amazonaws.com:443 client-cp.storagegateway.region.amazonaws.com:443 proxy-app.storagegateway.region.amazonaws.com:443 dp-1.storagegateway.region.amazonaws.com:443

The following gateway service endpoint is required to make API calls.

storagegateway.region.amazonaws.com:443

The following example is a gateway service endpoint in the US West (Oregon) Region (us-west-2).

storagegateway.us-west-2.amazonaws.com:443

The Amazon S3 service endpoint, shown following, is used by file gateways only. A file gateway requires this endpoint to access the Amazon S3 bucket that a file share maps to.

s3.region.amazonaws.com

The following example is an Amazon S3 service endpoint in the US East (Ohio) Region (us-east-2).

s3.us-east-2.amazonaws.com

Note

If your gateway can't determine the AWS Region where your S3 bucket is located, this service endpoint defaults to s3.us-east-1.amazonaws.com. We recommend that you allow access to the US East (N. Virginia) Region (us-east-1) in addition to Regions where your gateway is activated, and where your S3 bucket is located.

The following are Amazon S3 service endpoints for AWS GovCloud (US) Regions.

s3-fips-us-gov-west-1.amazonaws.com (AWS GovCloud (US-West) Region (FIPS)) s3-fips.us-gov-east-1.amazonaws.com (AWS GovCloud (US-East) Region (FIPS))

(22)

Network and firewall requirements

s3.us-gov-west-1.amazonaws.com (AWS GovCloud (US-West) Region (Standard)) s3.us-gov-east-1.amazonaws.com (AWS GovCloud (US-East) Region (Standard))

The following example is a FIPS service endpoint for an S3 bucket in the AWS GovCloud (US-West) Region.

bucket-name.s3-fips-us-gov-west-1.amazonaws.com

The Amazon CloudFront endpoint following is required for Storage Gateway to get the list of available AWS Regions.

https://d4kdq0yaxexbo.cloudfront.net/

A Storage Gateway VM is configured to use the following NTP servers.

0.amazon.pool.ntp.org 1.amazon.pool.ntp.org 2.amazon.pool.ntp.org 3.amazon.pool.ntp.org

• Storage Gateway—For supported AWS Regions and a list of AWS service endpoints that you can use with Storage Gateway, see AWS Storage Gateway endpoints and quotas in the AWS General Reference.

• Storage Gateway Hardware Appliance—For supported AWS Regions that you can use with the hardware appliance, see Storage Gateway hardware appliance Regions in the AWS General Reference.

Configuring security groups for your Amazon EC2 gateway instance

In AWS Storage Gateway, a security group controls traffic to your Amazon EC2 gateway instance. When you configure a security group, we recommend the following:

• The security group should not allow incoming connections from the outside internet. It should allow only instances within the gateway security group to communicate with the gateway.

If you need to allow instances to connect to the gateway from outside its security group, we recommend that you allow connections only on ports 3260 (for iSCSI connections) and 80 (for activation).

• If you want to activate your gateway from an Amazon EC2 host outside the gateway security group, allow incoming connections on port 80 from the IP address of that host. If you cannot determine the activating host's IP address, you can open port 80, activate your gateway, and then close access on port 80 after completing activation.

• Allow port 22 access only if you are using AWS Support for troubleshooting purposes. For more information, see You want AWS Support to help troubleshoot your EC2 gateway (p. 177).

In some cases, you might use an Amazon EC2 instance as an initiator (that is, to connect to iSCSI targets on a gateway that you deployed on Amazon EC2. In such a case, we recommend a two-step approach:

1. You should launch the initiator instance in the same security group as your gateway.

2. You should configure access so the initiator can communicate with your gateway.

For information about the ports to open for your gateway, see Port Requirements (p. 201).

(23)

Supported hypervisors and host requirements

Supported hypervisors and host requirements

You can run Storage Gateway on-premises as either a virtual machine (VM) appliance or a physical hardware appliance, or in AWS as an Amazon EC2 instance.

Storage Gateway supports the following hypervisor versions and hosts:

• VMware ESXi Hypervisor (version 6.0, 6.5 or 6.7) – A free version of VMware is available on the VMware website. For this setup, you also need a VMware vSphere client to connect to the host.

• Microsoft Hyper-V Hypervisor (version 2012 R2 or 2016) – A free, standalone version of Hyper-V is available at the Microsoft Download Center. For this setup, you need a Microsoft Hyper-V Manager on a Microsoft Windows client computer to connect to the host.

• Linux Kernel-based Virtual Machine (KVM) – A free, open-source virtualization technology. KVM is included in all versions of Linux version 2.6.20 and newer. Storage Gateway is tested and supported for the CentOS/RHEL 7.7, Ubuntu 16.04 LTS, and Ubuntu 18.04 LTS distributions. Any other modern Linux distribution may work, but function or performance is not guaranteed. We recommend this option if you already have a KVM environment up and running and you are already familiar with how KVM works.

• Amazon EC2 instance – Storage Gateway provides an Amazon Machine Image (AMI) that contains the gateway VM image. For information about how to deploy a gateway on Amazon EC2, see Deploying a file gateway on an Amazon EC2 host (p. 197).

• Storage Gateway Hardware Appliance – Storage Gateway provides a physical hardware appliance as an on-premises deployment option for locations with limited virtual machine infrastructure.

Note

Storage Gateway doesn’t support recovering a gateway from a VM that was created from a snapshot or clone of another gateway VM or from your Amazon EC2 AMI. If your gateway VM malfunctions, activate a new gateway and recover your data to that gateway. For more information, see Recovering from an unexpected virtual machine shutdown (p. 190).

Storage Gateway doesn’t support dynamic memory and virtual memory ballooning.

Supported NFS clients for a file gateway

File gateways support the following Network File System (NFS) clients:

• Amazon Linux

• Mac OS X

Note

We recommend setting the rsize and wsize mount options to 64KB to improve performance when mounting NFS file shares on Mac OS X.

• RHEL 7

• SUSE Linux Enterprise Server 11 and SUSE Linux Enterprise Server 12

• Ubuntu 14.04

• Microsoft Windows 10 Enterprise, Windows Server 2012, and Windows Server 2016. Native clients only support NFS version 3.

• Windows 7 Enterprise and Windows Server 2008.

Native clients only support NFS v3. The maximum supported NFS I/O size is 32 KB, so you might experience degraded performance on these versions of Windows.

Note

You can now use SMB file shares when access is required through Windows (SMB) clients instead of using Windows NFS clients.

(24)

Supported SMB clients for a file gateway

Supported SMB clients for a file gateway

File gateways support the following Service Message Block (SMB) clients:

• Microsoft Windows Server 2008 and later

• Windows desktop versions: 10, 8, and 7.

• Windows Terminal Server running on Windows Server 2008 and later

Note

Server Message Block encryption requires clients that support SMB v2.1.

Supported file system operations for a file gateway

Your NFS or SMB client can write, read, delete, and truncate files. When clients send writes to AWS Storage Gateway, it writes to local cache synchronously. Then it writes to Amazon S3 asynchronously through optimized transfers. Reads are first served through the local cache. If data is not available, it's fetched through S3 as a read-through cache.

Writes and reads are optimized in that only the parts that are changed or requested are transferred through your gateway. Deletes remove objects from Amazon S3. Directories are managed as folder objects in S3, using the same syntax as in the Amazon S3 console.

HTTP operations such as GET, PUT, UPDATE, and DELETE can modify files in a file share. These operations conform to the atomic create, read, update, and delete (CRUD) functions.

Accessing AWS Storage Gateway

You can use the AWS Storage Gateway console to perform various gateway configuration and

management tasks. The Getting Started section and various other sections of this guide use the console to illustrate gateway functionality.

Additionally, you can use the AWS Storage Gateway API to programmatically configure and manage your gateways. For more information about the API, see API Reference for Storage Gateway (p. 215).

You can also use the AWS SDKs to develop applications that interact with Storage Gateway. The AWS SDKs for Java, .NET, and PHP wrap the underlying Storage Gateway API to simplify your programming tasks. For information about downloading the SDK libraries, see the AWS Developer Center.

For information about pricing, see AWS Storage Gateway pricing.

Supported AWS Regions

• Storage Gateway — For supported AWS Regions and a list of AWS service endpoints that you can use with Storage Gateway, see AWS Storage Gateway endpoints and quotas in the AWS General Reference.

• Storage Gateway Hardware Appliance — For supported Regions that you can use with the hardware appliance, see AWS Storage Gateway Hardware Appliance Regions in the AWS General Reference.

(25)

Using the Storage Gateway Hardware Appliance

The Storage Gateway Hardware Appliance is a physical hardware appliance with the Storage Gateway software preinstalled on a validated server configuration. You can manage your hardware appliance from the Hardware page on the AWS Storage Gateway console.

The hardware appliance is a high-performance 1U server that you can deploy in your data center, or on-premises inside your corporate firewall. When you buy and activate your hardware appliance, the activation process associates your hardware appliance with your AWS account. After activation, your hardware appliance appears in the console as a gateway on the Hardware page. You can configure your hardware appliance as a file gateway, tape gateway, or volume gateway type. The procedure that you use to deploy and activate these gateway types on a hardware appliance is same as on a virtual platform.

The Storage Gateway Hardware Appliance can be ordered directly from the AWS Storage Gateway console.

To order a hardware appliance

1. Open the Storage Gateway console at https://console.aws.amazon.com/storagegateway/home and choose the AWS Region that you want your appliance in.

2. Choose Hardware from the navigation pane.

3. Choose Order appliance, and then choose Proceed. You are redirected to the AWS Elemental Appliances and Software Management Console to request a sales quote.

4. Fill out the necessary information and choose Submit.

Once the information has been reviewed, a sale quote is generated and you are able to proceed with the ordering process and submit a Purchase Order, or arrange for pre-payment.

To view a sales quote or order history for the hardware appliance

1. Open the Storage Gateway console at https://console.aws.amazon.com/storagegateway/home.

2. Choose Hardware from the navigation pane.

3. Choose Quotes and orders, and then choose Proceed. You are redirected to the AWS Elemental Appliances and Software Management Console to review sales quotes and order history.

In the sections that follow, you can find instructions about how to set up, configure, activate, launch, and use an Storage Gateway Hardware Appliance.

Topics

• Supported AWS Regions (p. 19)

• Setting up your hardware appliance (p. 19)

• Rack-mounting your hardware appliance and connecting it to power (p. 20)

• Configuring network parameters (p. 23)

(26)

Supported AWS Regions

• Activating your hardware appliance (p. 25)

• Launching a gateway (p. 27)

• Configuring an IP address for the gateway (p. 27)

• Configuring your gateway (p. 28)

• Removing a gateway from the hardware appliance (p. 28)

• Deleting your hardware appliance (p. 29)

Supported AWS Regions

Storage Gateway Hardware Appliance is available for shipping worldwide where it is legally allowed and permitted for exporting by the US government. For information about supported AWS Regions, see Storage Gateway Hardware Appliance Regions in the AWS General Reference.

Setting up your hardware appliance

After you receive your Storage Gateway Hardware Appliance, you use the hardware appliance console to configure networking to provide an always-on connection to AWS and activate your appliance. Activation associates your appliance with the AWS account that is used during the activation process. After the appliance is activated, you can launch a file, volume, or tape gateway from the Storage Gateway console.

To install and configure your hardware appliance

1. Rack-mount the appliance, and plug in power and network connections. For more information, see Rack-mounting your hardware appliance and connecting it to power (p. 20).

2. Set the Internet Protocol version 4 (IPv4) addresses for both the hardware appliance (the host) and Storage Gateway (the service). For more information, see Configuring network parameters (p. 23).

3. Activate the hardware appliance on the console Hardware page in the AWS Region of your choice.

For more information, see Activating your hardware appliance (p. 25).

4. Install the Storage Gateway on your hardware appliance. For more information, see Configuring your gateway (p. 28).

You set up gateways on your hardware appliance the same way that you set up gateways on VMware ESXi, Microsoft Hyper-V, Linux Kernel-based Virtual Machine (KVM), or Amazon EC2.

Increasing the usable cache storage

You can increase the usable storage on the hardware appliance from 5 TB to 12 TB. Doing this provides a larger cache for low latency access to data in AWS. If you ordered the 5 TB model, you can increase the usable storage to 12 TB by buying five 1.92 TB SSDs (solid state drives), which are available for ordering on the console Hardware page. You can order the additional SSDs by following the same ordering process as ordering a hardware appliance and requesting a sales quote from the Storage Gateway console.

You can then add them to the hardware appliance before you activate it. If you have already activated the hardware appliance and want to increase the usable storage on the appliance to 12 TB, do the following:

1. Reset the hardware appliance to its factory settings. Contact AWS Support for instructions on how to do this.

(27)

Rack-mounting and connecting the hardware appliance to power 2. Add five 1.92 TB SSDs to the appliance.

Network interface card options

Depending on the model of appliance you ordered, it may come with a 10G-Base-T copper network card or a 10G DA/SFP+ network card.

• 10G-Base-T NIC configuration:

• Use CAT6 cables for 10G or CAT5(e) for 1G

• 10G DA/SFP+ NIC configuration:

• Use Twinax copper Direct Attach Cables up to 5 meters

• Dell/Intel compatible SFP+ optical modules (SR or LR)

• SFP/SFP+ copper transceiver for 1G-Base-T or 10G-Base-T

Rack-mounting your hardware appliance and connecting it to power

After you unbox your Storage Gateway Hardware Appliance, follow the instructions contained in the box to rack-mount the server. Your appliance has a 1U form factor and fits in a standard International Electrotechnical Commission (IEC) compliant 19-inch rack.

To install your hardware appliance, you need the following components:

• Power cables: one required, two recommended.

• Supported network cabling (depending on which Network Interface Card (NIC) is included in the hardware appliance). Twinax Copper DAC, SFP+ optical module (Intel compatible) or SFP to Base-T copper transceiver.

• Keyboard and monitor, or a keyboard, video, and mouse (KVM) switch solution.

Hardware appliance dimensions

(28)

Hardware appliance dimensions

To connect the hardware appliance to power

Note

Before you perform the following procedure, make sure that you meet all of the requirements for the Storage Gateway Hardware Appliance as described in Networking and firewall

requirements for the Storage Gateway Hardware Appliance (p. 12).

1. Plug in a power connection to each of the two power supplies. It's possible to plug in to only one power connection, but we recommend power connections to both power supplies.

(29)

Hardware appliance dimensions

In the following image, you can see the hardware appliance with the different connections.

2. Plug an Ethernet cable into the em1 port to provide an always-on internet connection. The em1 port is the first of the four physical network ports on the rear, from left to right.

Note

The hardware appliance doesn't support VLAN trunking. Set up the switch port to which you are connecting the hardware appliance as a non-trunked VLAN port.

3. Plug in the keyboard and monitor.

4. Power on the server by pressing the Power button on the front panel, as shown in the following image.

After the server boots up, the hardware console appears on the monitor. The hardware console presents a user interface specific to AWS that you can use to configure initial network parameters. You configure these parameters to connect the appliance to AWS and open up a support channel for troubleshooting by AWS Support.

To work with the hardware console, enter text from the keyboard and use the Up, Down, Right, and Left Arrow keys to move about the screen in the indicated direction. Use the Tab key to move forward in order through items on-screen. On some setups, you can use the Shift+Tab keystroke to move sequentially backward. Use the Enter key to save selections, or to choose a button on the screen.

To set a password for the first time

1. For Set Password, enter a password, and then press Down arrow.

2. For Confirm, re-enter your password, and then choose Save Password.

(30)

Configuring network parameters

At this point, you are in the hardware console, shown following.

Next step

Configuring network parameters (p. 23)

Configuring network parameters

After the server boots up, you can enter your first password in the hardware console as described in Rack-mounting your hardware appliance and connecting it to power (p. 20).

Next, on the hardware console take the following steps to configure network parameters so your hardware appliance can connect to AWS.

(31)

Configuring network parameters

To set a network address

1. Choose Configure Network and press the Enter key. The Configure Network screen shown following appears.

2. For IP Address, enter a valid IPv4 address from one of the following sources:

• Use the IPv4 address assigned by your Dynamic Host Configuration Protocol (DHCP) server to your physical network port.

If you do so, note this IPv4 address for later use in the activation step.

• Assign a static IPv4 address. To do so, choose Static in the em1 section and press Enter to view the Configure Static IP screen shown following.

The em1 section is at upper left section in the group of port settings.

After you have entered a valid IPv4 address, press the Down arrow or Tab.

Note

If you configure any other interface, it must provide the same always-on connection to the AWS endpoints listed in the requirements.

(32)

Activating your hardware appliance

3. For Subnet, enter a valid subnet mask, and then press Down arrow.

4. For Gateway, enter your network gateway’s IPv4 address, and then press Down arrow.

5. For DNS1, enter the IPv4 address for your Domain Name Service (DNS) server, and then press Down arrow.

6. (Optional) For DNS2, enter a second IPv4 address, and then press Down arrow. A second DNS server assignment would provide additional redundancy should the first DNS server become unavailable.

7. Choose Save and then press Enter to save your static IPv4 address setting for the appliance.

To log out of the hardware console

1. Choose Back to return to the Main screen.

2. Choose Logout to return to the Login screen.

Next step

Activating your hardware appliance (p. 25)

Activating your hardware appliance

After configuring your IP address, you enter this IP address in the console on the Hardware page, as described following. The activation process validates that your hardware appliance has the appropriate security credentials and registers the appliance to your AWS account.

You can choose to activate your hardware appliance in any of the supported AWS Regions. For a list of supported AWS Regions, see Storage Gateway Hardware Appliance Regions in the AWS General Reference.

To activate your appliance for the first time or in an AWS Region where you have no gateways deployed

1. Sign in to the AWS Management Console and open the Storage Gateway console at AWS Storage Gateway Management Console with the account credentials to use to activate your hardware.

(33)

Activating your hardware appliance

If this is your first gateway in an AWS Region, you see a splash screen. After you create a gateway in this AWS Region, the screen no longer displays.

Note

For activation only, the following must be true:

• Your browser must be on the same network as your hardware appliance.

• Your firewall must allow HTTP access on port 8080 to the appliance for inbound traffic.

2. Choose Get started to view the Create gateway wizard, and then choose Hardware Appliance on the Select host platform page, as shown following.

3. Choose Next to view the Connect to hardware screen shown following.

4. For IP Address in the Connect to hardware appliance section, enter the IPv4 address of your appliance, and then choose Connect to go to the Activate Hardware screen shown following.

5. For Hardware name, enter a name for your appliance. Names can be up to 255 characters long and can't include a slash character.

6. For Hardware time zone, enter your local settings.

The time zone controls when hardware updates take place, with 2 a.m. local time used as the time for updates.

Note

We recommend setting the time zone for your appliance as this determines a standard update time that is out of the usual working day window.

7. (Optional) Keep the RAID Volume Manager set to ZFS.

ZFS is used as the RAID volume manager on the hardware appliance to provide better performance and data protection. ZFS is a software-based, open-source file system and logical volume manager.

The hardware appliance is specifically tuned for ZFS RAID. For more information on ZFS RAID, see the ZFS Wikipedia page.

8. Choose Next to finish activation.

A console banner appears on the Hardware page indicating that the hardware appliance has been successfully activated, as shown following.

At this point, the appliance is associated with your account. The next step is to launch a file, tape, or cached volume gateway on your appliance.

Next step

Launching a gateway (p. 27)

(34)

Launching a gateway

Launching a gateway

You can launch any of the three storage gateways on the appliance—file gateway, volume gateway (cached), or tape gateway.

To launch a gateway on your hardware appliance

1. Sign in to the AWS Management Console and open the Storage Gateway console at https://

console.aws.amazon.com/storagegateway/home.

2. Choose Hardware.

3. For Actions, choose Launch Gateway.

4. For Gateway Type, choose File Gateway, Tape Gateway, or Volume Gateway (Cached).

5. For Gateway name, enter a name for your gateway. Names can be 255 characters long and can't include a slash character.

6. Choose Launch gateway.

The Storage Gateway software for your chosen gateway type installs on the appliance. It can take up to 5–10 minutes for a gateway to show up as online in the console.

To assign a static IP address to your installed gateway, you next configure the gateway's network interfaces so your applications can use it.

Next step

Configuring an IP address for the gateway (p. 27)

Configuring an IP address for the gateway

Before you activated your hardware appliance, you assigned an IP address to its physical network interface. Now that you have activated the appliance and launched your Storage Gateway on it, you need to assign another IP address to the Storage Gateway virtual machine that runs on the hardware appliance. To assign a static IP address to a gateway installed on your hardware appliance, configure the IP address from the local console for that gateway. Your applications (such as your NFS or SMB client, your iSCSI initiator, and so on) connect to this IP address. You can access the gateway local console from the hardware appliance console.

To configure an IP address on your appliance to work with applications

1. On the hardware console, choose Open Service Console to open a login screen for the gateway local console.

2. Enter the localhost login password, and then press Enter.

The default account is admin and the default password is password.

3. Change the default password. Choose Actions then Set Local Password and enter your new credentials in the Set Local Password dialog box.

4. (Optional) Configure your proxy settings. See Rack-mounting your hardware appliance and connecting it to power (p. 20) for instructions.

5. Navigate to the Network Settings page of the gateway local console as shown following.

(35)

Configuring your gateway

6. Type 2 to go to the Network Configuration page shown following.

7. Configure a static or DHCP IP address for the network port on your hardware appliance to present a file, volume, and tape gateway for applications. This IP address must be on the same subnet as the IP address used during hardware appliance activation.

To exit the gateway local console

• Press the Crtl+] (close bracket) keystroke. The hardware console appears.

Note

The keystroke preceding is the only way to exit the gateway local console.

Next step

Configuring your gateway (p. 28)

Configuring your gateway

After your hardware appliance has been activated and configured, your appliance appears in the console.

Now you can create the type of gateway that you want. Continue the installation for your gateway type.

For instructions, see Configure your Amazon S3 File Gateway (p. 32).

Removing a gateway from the hardware appliance

To remove gateway software from your hardware appliance, use the following procedure. After you do so, the gateway software is uninstalled from your hardware appliance.

To remove a gateway from a hardware appliance

1. Choose the check box for the gateway.

2. For Actions, choose Remove Gateway.

3. In the Remove gateway from hardware appliance dialog box, choose Confirm.

(36)

Deleting your hardware appliance

Note

When you delete a gateway, you can't undo the action. For certain gateway types, you can lose data on deletion, particularly cached data. For more information on deleting a gateway, see Deleting Your Gateway by Using the AWS Storage Gateway Console and Removing Associated Resources (p. 125).

Deleting a gateway doesn't delete the hardware appliance from the console. The hardware appliance remains for future gateway deployments.

Deleting your hardware appliance

After you activate your hardware appliance in your AWS account, you might have a need to move and activate it in a different AWS account. In this case, you first delete the appliance from the AWS account and activate it in another AWS account. You might also want to delete the appliance completely from your AWS account because you no longer need it. Follow these instructions to delete your hardware appliance.

To delete your hardware appliance

1. If you have installed a gateway on the hardware appliance, you must first remove the gateway before you can delete the appliance. For instructions on how to remove a gateway from your hardware appliance, see Removing a gateway from the hardware appliance (p. 28).

2. On the Hardware page, choose the hardware appliance you want to delete.

3. For Actions, choose Delete Appliance.

4. In the Confirm deletion of resource(s) dialog box, choose the confirmation check box and choose Delete. A message indicating successful deletion is displayed.

When you delete the hardware appliance, all the resources associated with the gateway that is installed on the appliance are delete also, but the data on the hardware appliance itself is not deleted.

(37)

Create an S3 File Gateway

Getting started with AWS Storage Gateway

In this section, you can find instructions about how to create and activate a file gateway in AWS Storage Gateway. Before you get started, make sure that your setup meets the required prerequisites and other requirements described in Setting up for Amazon S3 File Gateway (p. 5).

Topics

• Create and activate an Amazon S3 File Gateway (p. 30)

Create and activate an Amazon S3 File Gateway

In this section, you can find instructions on how to create, deploy, and activate a file gateway in AWS Storage Gateway.

Topics

• Set up an Amazon S3 File Gateway (p. 30)

• Connect your Amazon S3 File Gateway to AWS (p. 31)

• Review settings and activate your Amazon S3 File Gateway (p. 32)

• Configure your Amazon S3 File Gateway (p. 32)

Set up an Amazon S3 File Gateway

To set up a new S3 File Gateway

1. Open the AWS Management Console at https://console.aws.amazon.com/storagegateway/home/, and choose the AWS Region where you want to create your gateway.

2. Choose Create gateway to open the Set up gateway page.

3. In the Gateway settings section, do the following:

a. For Gateway name, enter a name for your gateway. After your gateway is created, you can search for this name to find your gateway on the list pages in the AWS Storage Gateway console.

b. For Gateway time zone, choose the local time zone for the part of the world where you want to deploy your gateway.

4. In the Gateway options section, for Gateway type, choose Amazon S3 File Gateway.

5. In the Platform options section, do the following:

a. For Host platform, choose the platform on which you want to deploy your gateway. Then follow the platform-specific instructions displayed on the Storage Gateway console page to set up your host platform. You can choose from the following options:

VMware ESXi – Download, deploy, and configure the gateway virtual machine using VMware ESXi.

參考文獻

相關文件

Thank you for your advice.The detail information is below.This study suspended on 22Sep2017 and receive sponsor letter to re-open for enrollment on 20Oct20176. After received

Once you get down to a purely business level, your influence is gone and the true light of your life isdimmed. You must work in the missionary spirit, with a breadth of charity

 Following these simple rules will ensure you gain the confidence and respect of your trip ( including host family) , and help to ensure a pleasant and rewarding experience...

Your problem may be modest, but if it challenges your curiosity and brings into play your inventive faculties, and if you solve it by your own means, you may experience the tension

If w e sell you land, you m ust rem em ber that it is sacred, and you m ust teach your children that it is sacred and that each ghostly reflection in the clear w ater of the lakes tells

Unless prior permission in writing is given by the Commissioner of Police, you may not use the materials other than for your personal learning and in the course of your official

Unless prior permission in writing is given by the Commissioner of Police, you may not use the materials other than for your personal learning and in the course of your official

„ However, NTP SIPv6 UA cannot communicate with CISCO PSTN gateway, and CCL PCA (IPv6 SIP UA) cannot communicate with CISCO PSTN gateway and Pingtel hardware-based SIP phone. „