

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 入門 AWS Storage Gateway
<a name="GettingStarted"></a>

本節提供開始使用 的指示 AWS。您需要一個 AWS 帳戶，才能開始使用 AWS Storage Gateway。您可以使用現有的 AWS 帳戶，或註冊新的 帳戶。您也需要 AWS 帳戶中屬於具有執行 Storage Gateway 任務所需管理許可之群組的 IAM 使用者。具有適當權限的使用者可以存取 Storage Gateway 主控台和 Storage Gateway API，以執行閘道部署、組態和維護任務。如果您是第一次使用 ，建議您在使用 Storage Gateway 之前，先檢閱[支援的 AWS 區域](https://docs.aws.amazon.com/storagegateway/latest/tgw/available-regions-intro.html)和[磁帶閘道設定需求](https://docs.aws.amazon.com/storagegateway/latest/tgw/Requirements.html)區段。

本節包含下列主題，提供 入門的其他資訊 AWS Storage Gateway：

**主題**
+ [註冊 AWS Storage Gateway](GettingStartedSignUpStep1-common.md) - 了解如何註冊 AWS 和建立 AWS 帳戶。
+ [建立具有管理員權限的 IAM 使用者](setting-up-create-iam-user.md) - 了解如何為 AWS 您的帳戶建立具有管理權限的 IAM 使用者。
+ [存取 AWS Storage Gateway](WhatIsAPIIntro.md) - 了解如何 AWS Storage Gateway 透過 Storage Gateway 主控台或以程式設計方式使用 SDKs存取 AWS 。
+ [AWS 區域 支援 Storage Gateway](available-regions-intro.md) - 了解在 Storage Gateway 中啟用閘道時，您可以使用哪些 AWS 區域來存放資料。

# 註冊 AWS Storage Gateway
<a name="GettingStartedSignUpStep1-common"></a>

 AWS 帳戶 是存取 AWS 服務的基本需求。您的 AWS 帳戶 是您以 AWS 使用者身分建立之所有 AWS 資源的基本容器。您的 AWS 帳戶 也是 資源 AWS 的基本安全界限。您在帳戶中建立的任何資源都可供擁有帳戶登入資料的使用者使用。您必須先註冊 AWS Storage Gateway，才能開始使用 AWS 帳戶。

如果您沒有 AWS 帳戶，請完成以下步驟來建立一個。

**註冊 AWS 帳戶**

1. 開啟 [https://portal.aws.amazon.com/billing/signup](https://portal.aws.amazon.com/billing/signup)。

1. 請遵循線上指示進行。

   註冊程序的一部分包括接聽電話或文字訊息，並在電話鍵盤上輸入驗證碼。

   當您註冊 時 AWS 帳戶，*AWS 帳戶根使用者*會建立 。根使用者有權存取該帳戶中的所有 AWS 服務 和資源。作為安全最佳實務，請將管理存取權指派給使用者，並且僅使用根使用者來執行[需要根使用者存取權的任務](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_root-user.html#root-user-tasks)。

我們也建議您要求使用者在存取時使用臨時登入資料 AWS。若要提供臨時登入資料，您可以使用聯合身分和身分提供者，例如 AWS IAM Identity Center。如果您的公司已經使用身分提供者，您可以搭配聯合使用它，以簡化您提供 AWS 帳戶中資源存取權的方式。

# 建立具有管理員權限的 IAM 使用者
<a name="setting-up-create-iam-user"></a>

建立 AWS 帳戶後，請使用下列步驟為自己建立 AWS Identity and Access Management (IAM) 使用者，然後將該使用者新增至具有管理許可的群組。如需使用 AWS Identity and Access Management 服務控制 Storage Gateway 資源存取的詳細資訊，請參閱 [Identity and Access Management for AWS Storage Gateway](security-iam.md)。

若要建立管理員使用者，請選擇下列其中一個選項。


****  

| 選擇一種管理管理員的方式 | 到 | 根據 | 您也可以 | 
| --- | --- | --- | --- | 
| 在 IAM Identity Center (建議) | 使用短期憑證存取 AWS。這與安全性最佳實務一致。有關最佳實務的資訊，請參閱 *IAM 使用者指南*中的 [IAM 安全最佳實務](https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html#bp-users-federation-idp)。 | 請遵循 AWS IAM Identity Center 使用者指南的[入門](https://docs.aws.amazon.com//singlesignon/latest/userguide/getting-started.html)中的說明。 | 在 AWS Command Line Interface 使用者指南中設定 [AWS CLI 以使用 來設定 AWS IAM Identity Center](https://docs.aws.amazon.com//cli/latest/userguide/cli-configure-sso.html)程式設計存取。 | 
| 在 IAM 中 (不建議使用) | 使用長期憑證存取 AWS。 | 請遵循《IAM 使用者指南》中[建立 IAM 使用者以進行緊急存取](https://docs.aws.amazon.com/IAM/latest/UserGuide/getting-started-emergency-iam-user.html) 的指示。 | 請依照《IAM 使用者指南》中的[管理 IAM 使用者的存取金鑰](https://docs.aws.amazon.com//IAM/latest/UserGuide/id_credentials_access-keys.html)設定以程式設計方式存取。 | 

**警告**  
IAM 使用者具有存在安全風險的長期登入資料。為了協助降低此風險，建議您只為這些使用者提供執行任務所需的許可，並在不再需要這些使用者時將其移除。

# 存取 AWS Storage Gateway
<a name="WhatIsAPIIntro"></a>

您可以使用 [AWS Storage Gateway 主控台](https://console.aws.amazon.com/storagegateway/home)來執行各種閘道組態和維護任務，包括從部署中啟用或停用 Storage Gateway 硬體設備、建立、管理和刪除不同類型的閘道、建立、管理和刪除虛擬磁帶庫儲存磁碟區中的磁帶，以及監控 Storage Gateway 服務各種元素的運作狀態和狀態。為了簡單易用，本指南著重於使用 Storage Gateway 主控台 Web 介面執行任務。您可以透過 Web 瀏覽器存取 Storage Gateway 主控台，網址為：[https://console.aws.amazon.com/storagegateway/home/](https://console.aws.amazon.com/storagegateway/home/)。

如果您偏好程式設計方法，則可以使用 AWS Storage Gateway 應用程式設計界面 (API) 或命令列界面 (CLI) 來設定和管理 Storage Gateway 部署中的資源。如需 Storage Gateway API 的動作、資料類型和所需語法的詳細資訊，請參閱 [Storage Gateway API 參考](https://docs.aws.amazon.com/storagegateway/latest/APIReference/Welcome.html)。如需 Storage Gateway CLI 的詳細資訊，請參閱 [AWS CLI 命令參考](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/storagegateway/index.html)。

您也可以使用 AWS SDKs來開發與 Storage Gateway 互動的應用程式。適用於 Java、.NET 和 PHP AWS SDKs 會包裝基礎 Storage Gateway API，以簡化您的程式設計任務。如需下載 SDK 程式庫的資訊，請參閱 [AWS 開發人員中心](https://aws.amazon.com/code)。

如需定價的詳細資訊，請參閱 [AWS Storage Gateway 定價。](https://aws.amazon.com/storagegateway/pricing)

# AWS 區域 支援 Storage Gateway
<a name="available-regions-intro"></a>

 AWS 區域 是世界上的實體位置，其中 AWS 有多個可用區域。可用區域由一或多個離散 AWS 資料中心組成，每個資料中心都具有備援電源、聯網和連線能力，並存放在不同的設施中。這表示每個 AWS 區域 都是實體隔離的，且與其他區域無關。區域提供容錯能力、穩定性和恢復能力，也可降低延遲。除非您明確使用 AWS 服務提供的複寫功能，否則您在一個區域中建立的資源不存在於任何其他 區域。例如，Amazon S3 和 Amazon EC2 支援跨區域複寫。有些服務，例如 AWS Identity and Access Management，沒有區域資源。您可以在符合您業務需求的位置啟動 AWS 資源。例如，您可能想要啟動 Amazon EC2 執行個體，以 AWS 區域 在歐洲的 中託管您的 AWS Storage Gateway 設備，以便更接近您的歐洲使用者，或符合法律要求。您的 會 AWS 帳戶 決定特定服務支援哪些區域可供您使用。
+ Storage Gateway - 如需支援 AWS 的區域和服務 AWS 端點清單 Storage Gateway ，請參閱《[AWS Storage Gateway 》中的端點和配額](https://docs.aws.amazon.com/general/latest/gr/sg.html)*AWS 一般參考*。
+ Storage Gateway 硬體設備 - 如需可搭配硬體設備使用的支援 AWS 區域，請參閱《》中的[AWS Storage Gateway 硬體設備區域](https://docs.aws.amazon.com/general/latest/gr/sg.html#sg-hardware-appliance)*AWS 一般參考*。