乐趣区

关于linux:AWS-S3

======= 装置 was api=======

https://docs.aws.amazon.com/zh_cn/cli/latest/userguide/installing.html

yum install python3-pip
pip3 install awscli  (pip uninstall awscli)

============ 获取 aws 账号的账号 ID 和密钥 ========
IAM-> 策略 -> 创立策略 -> 可视化编辑器
IAM-> 用户 -> 增加用户 -> 用户名 -> 编程拜访 -> 间接附加现有策略
https://docs.aws.amazon.com/zh_cn/cli/latest/userguide/cli-chap-getting-started.html


aws configure  


配置信息在
~/.aws/config
~/.aws/credentials

============ 操作 S3 桶 =====================
https://docs.aws.amazon.com/zh_cn/cli/latest/userguide/using-s3-commands.html



upload file to S3

======= 装置 was api=======
https://docs.aws.amazon.com/zh_cn/cli/latest/userguide/installing.html
yum install python-pip
pip install awscli  (pip uninstall awscli)

============ 获取 aws 账号的账号 ID 和密钥 ========
IAM-> 策略 -> 创立策略 -> 可视化编辑器
IAM-> 用户 -> 增加用户 -> 用户名 -> 编程拜访 -> 间接附加现有策略
https://docs.aws.amazon.com/zh_cn/cli/latest/userguide/cli-chap-getting-started.html
aws configure

============ 操作 S3 桶 =====================
https://docs.aws.amazon.com/zh_cn/cli/latest/userguide/using-s3-commands.html
退出移动版