Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我必须编写一个 python 脚本,它将 s3 中的一个文件复制到我的 EBS 目录,这里的问题是我正在从我的本地机器上运行这个 python 脚本。是否有任何 boto 函数可以从 s3 复制到 EBS 而无需存储在本地?
不可以。EBS 卷只能在它们所挂载的 EC2 实例上访问。如果您想将文件直接从 S3 下载到 EBS 卷,您需要在 EC2 实例上运行您的脚本。