Prerequisites
This guide presumes you have the following:- An active CoreWeave account.
- A valid API Access Key and Secret Token key pair.
- Adequate permissions to manage objects in CoreWeave AI Object Storage (for example,
s3:PutObjectands3:DeleteObject). For more information, see Object Storage S3 Permissions. - An organization access policy set.
- A properly configured SDK of your choosing.
- The primary endpoint,
https://cwobject.com, requires TLS v1.3. Ensure your S3-compatible tools and OpenSSL use TLS v1.3. - Make sure your S3 configuration uses the correct endpoint URL and has virtual-hosted addressing enabled.
Configure your endpoint
Configure your endpoint
Before running the commands in this guide, make sure your S3 client is configured with:
- Virtual-hosted addressing enabled (
s3.addressing_style = virtual). Path-style addressing is not supported. See Set virtual addressing style. - The correct endpoint URL:
http://cwlota.comwhen running inside a CoreWeave cluster (LOTA, best performance).https://cwobject.comwhen running outside a CoreWeave cluster.
Add objects
Upload objects to a bucket so your data is available for downstream applications, sharing, or processing. Choose the tab that matches the tool you use.- AWS CLI
- s3cmd
- Boto3
Ensure you have the AWS CLI installed and configured.Use the
s3 cp command to copy a file into a bucket addressed using the s3:// scheme.Example command
Example output
Verify object integrity
CoreWeave AI Object Storage supports checksum algorithms for verifying object integrity on upload and download. For the full list of supported algorithms, see Checksum algorithms.Quota limit errors
If you try to upload an object to a bucket in an Availability Zone where capacity quota limits have been reached, you receive an error message:<Message>The account is write suspended.</Message>
To resolve this, you can request a quota increase.
List buckets and their contents
Listing buckets and their contents helps you confirm which buckets exist in your account and verify which objects are stored in a given bucket. You can list buckets and their contents using S3-compatible tools such as the AWS CLI, s3cmd, or Boto3. If you’re working with versioned buckets, you can use rclone to list buckets and their contents, including delete markers.- AWS CLI
- s3cmd
- Boto3
If you want to see all of your available buckets, use the To list all the objects in a bucket, use the The terminal returns a listing for your selected bucket showing each object, its size, and its last modified date.
ls command:ls command to target a bucket path.Example file listing output
Delete an object from a bucket
Delete objects you no longer need to free up capacity and keep your buckets organized. Deletions are permanent on buckets that don’t have versioning enabled, so confirm the target object before you run these commands.- AWS CLI
- s3cmd
- Boto3
To delete specific objects from a bucket, use the When this succeeds, a confirmation message like this one is printed:
rm command with the AWS CLI.Example output
For more information about accessing and interacting with the contents of your buckets, see the official Amazon documentation for S3 buckets.
Rename an object
Rename an object to change its key without re-uploading the underlying data. This is useful when you need to correct a typo, restructure a key prefix, or align object names with a new naming convention. Make sure you have the following to rename an object:s3:PutObjectands3:DeleteObjectpermissions.- A bucket that does not have versioning enabled, now or in the past.
- A request scoped to renaming a single object within the same bucket. The source and destination keys must be in the same bucket.
- AWS CLI
- s3cmd
- Boto3
To rename an object, use the When this succeeds, a confirmation message is printed:
aws s3api rename-object command with the AWS CLI.Replace the following placeholders with the appropriate values for your request:[BUCKET-NAME]: The name of the bucket containing the object.[SOURCE-OBJECT-NAME]: The current name of the object.[DESTINATION-OBJECT-NAME]: The new name for the object.
Rename object
Example output