且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

AWS CLI可以从S3复制到EC2吗?

更新时间:2022-05-26 21:34:18

否.

AWS CLI调用AWS API.Amazon S3的API无法与Amazon EC2实例上的操作系统进行交互.

The AWS CLI calls the AWS API. The APIs for Amazon S3 do not have the ability to interact with the operating system on an Amazon EC2 instance.

您使用AWS Systems Manager的想法是一个好主意.您可以将命令发送到实例本身,然后实例可以将对象上传/下载到Amazon S3.

Your idea of using AWS Systems Manager is a good idea. You can send the command to the instance itself, and the instance can then upload/download objects to Amazon S3.