View a markdown version of this page

在 Snowball Edge 裝置上使用AWS CLI和 API 操作 - AWS Snowball 邊緣開發人員指南

AWS Snowball 邊緣不再提供給新客戶。新客戶應探索AWS DataSync線上傳輸、用於安全實體傳輸的AWS資料傳輸終端機,或AWS合作夥伴解決方案。對於邊緣運算,請探索 AWS Outpost。

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

在 Snowball Edge 裝置上使用AWS CLI和 API 操作

使用AWS Command Line Interface(AWS CLI) 或 API 操作在 Snowball Edge 上發出 IAM、Amazon S3 和 Amazon EC2 命令時,您必須將 指定region為「」snow。 您可以使用 AWS configure 或在命令本身內執行此操作,如下列範例所示。

aws configure --profile ProfileName AWS Access Key ID [None]: defgh AWS Secret Access Key [None]: 1234567 Default region name [None]: snow Default output format [None]: json

aws s3 ls --endpoint http://192.0.2.0:8080 --region snow --profile ProfileName