View a markdown version of this page

使用AWS CLI以及 Snowball Edge 设备上的 API 操作 - AWS Snowball Edge开发人员指南

AWS Snowball Edge不再向新客户提供。新客户应探索AWS DataSync在线传输、用于安全物理传输AWS的数据传输终端或AWS合作伙伴解决方案。对于边缘计算,请浏览 AWS Out posts。

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

使用AWS CLI以及 Snowball Edge 设备上的 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

Or

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