Copy object or file to S3 bucket.

<pre lang="bash">
aws s3 cp filename.ext s3://bucketname/ --profile your-profile

To make it publicly available, run this command.

<pre lang="bash">
aws s3api put-object-acl \
--bucket bucket-name \
--key filename.ext \
--acl public-read \
--profile your-profile