View a markdown version of this page

了解 Storage Gateway 資源和資源 ID - AWS Storage Gateway

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

了解 Storage Gateway 資源和資源 ID

在 Storage Gateway 中,主要資源是一種閘道,但其他資源類型包含:磁碟區虛擬磁帶iSCSI 目標VTL 裝置。它們稱為子資源,必須與閘道相關聯才能存在。

這些資源和子資源都有獨一無二的 Amazon Resource Name (ARN) 與其相關聯,如下表所示。

資源類型 ARN 格式

閘道 ARN

arn:aws:storagegateway:region:account-id:gateway/gateway-id

磁帶 ARN

arn:aws:storagegateway:region:account-id:tape/tapebarcode

目標 ARN (iSCSI 目標)

arn:aws:storagegateway:region:account-id:gateway/gateway-id/target/iSCSItarget

VTL 裝置 ARN

arn:aws:storagegateway:region:account-id:gateway/gateway-id/device/vtldevice

Storage Gateway 也支援使用 EC2 執行個體以及 EBS 磁碟區和快照。這些資源是 Storage Gateway 中所使用的 Amazon EC2 資源。

使用資源 ID

當您建立資源時,Storage Gateway 會將唯一資源 ID 指派給資源。此資源 ID 是資源 ARN 的一部分。資源 ID 採用資源識別符的形式,後面接著連字號,以及八個字母和數字的唯一組合。例如,閘道 ID 的格式為 ,sgw-12A3456B其中 sgw是閘道的資源識別符。

針對虛擬磁帶,您最多可以在條碼 ID 前面加上四個字元的字首,以協助組織磁帶。