• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

AWS S3 Make Object Public

October 21, 2020

Copy object or file to S3 bucket.

aws s3 cp filename.ext s3://bucketname/ --profile your-profile

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

aws s3api put-object-acl \ --bucket bucket-name \ --key filename.ext \ --acl public-read \ --profile your-profile

Filed Under: Cloud Tagged With: aws, cli, object, public, s3, s3api

Search This Website

Subscribe Via Email

  • Home
  • About
  • Archives

Copyright © 2023