Ceph-related CLI's cheatsheet

  • Posted: October 11, 2025
  • Updated: October 11, 2025

The CLI’s around ceph are confuse. So, this page is for ceph-related commands that I often use/search for.

# To list buckets:
radosgw-admin bucket list

# To list objects inside a bucket:
radosgw-admin bucket list --bucket $BUCKET_NAME
aws s3api list-objects --bucket=$BUCKET_NAME

# To create a bucket:
aws s3api create-bucket --bucket $BUCKET_NAME --region $REGION

# To delete a bucket:
aws s3api delete-bucket --bucket $BUCKET_NAME

# To copy an object from a bucket to somewhere else:
aws s3 cp s3://$BUCKET_NAME/$OBJECT_NAME $DESTINATION_PATH

# To create an user:
radosgw-admin user create --uid=$USER_NAME --display-name=$USER_NAME [--email=$USER_EMAIL]

# To get user info:
radosgw-admin user info --uid=$USER_NAME

# To list users:
radosgw-admin user list

# To configure the aws CLI:
aws configure