aws cli 应该是用来新建服务资源的,不是这样用的,你看下 ec2 的 ip 地址,开个 22 端口给 ssh,终端连接上去,用 touch 命令新建文件:
touch file1.txt
谢谢 我试一下