Skip to content

Add an object to a bucket

Add an object to a bucket¤

Objects are uploaded with an S3 client. See Accessing Object Storage for how to configure a client with the https://s3.aucyber.com.au endpoint and your access keys.

Using the AWS CLI, upload with s3 cp:

# upload a single file
aws --profile=aucloud --endpoint-url=https://s3.aucyber.com.au s3 cp myfile.txt s3://mybucket/

# upload a whole directory
aws --profile=aucloud --endpoint-url=https://s3.aucyber.com.au s3 cp ./mydir s3://mybucket/mydir/ --recursive

Note

Other S3 clients work equally well - see Accessing Object Storage for s5cmd, Cyberduck and S3 Browser. On Linux, rclone and the MinIO client are also good options.