连接存储池
from boto3.session import Session
import boto3
from botocore.client import Config
session = Session(aws_access_key_id="xxxxx-xxxxxx-xxxxxx", aws_secret_access_key="xxxx-xxxxx-xxxxxxx-xxxxxxxxxxxxxxx")
s3_client = session.client('s3', endpoint_url="xxxxx-xxxxx", config=Config(signature_version='s3'))
创建bucket
user0_bucket = s3_client.create_bucket(Bucket="user0-bucket")

向bucket中写入file object
f = open("/root/platform/public/test.zip","rb")
s3_client.put_object(Body=f,Bucket="user0-bucket",Key="/root/platform/public/test.zip")

向bucket中写入string object
s3_client.put_object(Body="good job haha",Bucket="user0-bucket",Key="good1")
