Copy object or file to S3 bucket.
aws s3 cp filename.ext s3://bucketname/ --profile your-profile |
To make it publicly available, run this command.
aws s3api put-object-acl \ --bucket bucket-name \ --key filename.ext \ --acl public-read \ --profile your-profile |