http://siwei.me/blog/posts/aws-aws-cli-s3

1. 安装

pip install awscli

2. 登录

aws configure

添加对应的pub key, private key

3. 上传文件到远程

aws s3 cp --acl public-read-write hihihi s3://your-bucket-site/data/hihihi