https://[BUCKET-NAME].cwobject.com, instead of part of the path.
When you enable this, your S3 client prepends bucket names to the endpoint in the correct format for AI Object Storage: https://[BUCKET-NAME].cwobject.com.
Make sure your S3 client isn’t using path-style addressing (for example, https://cwobject.com/[BUCKET-NAME]/file). This format is unsupported and causes errors.
Use the CoreWeave fork of
s5cmd with AI Object StorageThe upstream s5cmd uses path-style addressing with custom endpoint URLs. AI Object Storage doesn’t support path-style addressing and requires virtual-hosted style URLs. Use the CoreWeave fork of s5cmd, which is compatible with AI Object Storage and can safely replace any existing s5cmd installation. For setup and usage, see Migrate data to AI Object Storage.Configure CoreWeave credentials
We recommend using a separate profile for CoreWeave AI Object Storage to avoid conflicts with your other AWS profiles and S3-compatible services. If you don’t set up this configuration, you might encounter errors when using AI Object Storage.Configure CoreWeave credentials
Configure CoreWeave credentials
-
Create a new credentials file and profile in your CoreWeave configuration directory.
Create a new credentials file and profile
-
When prompted, provide the following values:
- AWS Access Key ID: The Access Key ID of your CoreWeave AI Object Storage Access Key.
- AWS Secret Access Key: The Secret Key of your CoreWeave AI Object Storage Access Key.
- Default region name (Optional): To set a default region, see CoreWeave Availability Zones.
- Default output format: Use
jsonfor JSON output.
-
Set the default endpoint URL to the appropriate endpoint for your use case:
- The primary endpoint,
https://cwobject.com, for use outside a CoreWeave cluster. - The LOTA endpoint,
http://cwlota.com, for use inside a CoreWeave cluster. The LOTA endpoint routes to the LOTA path for best performance.
Set the primary endpoint for local development - The primary endpoint,
-
Set the S3
addressing_styletovirtual:Set virtual addressing style
endpoint_url and s3.addressing_style directly in your code (for example, in a Boto3 Config object), you can skip steps 3 and 4. The profile only needs the access key, secret key, and region.Set virtual addressing style
With the AWS CLI, set the virtual addressing style for your CoreWeave profile, then verify the setting:Configure the virtual addressing style
Verify the setting
Config object or the environment. This Boto3 example shows where to set the S3 addressing style within the Config object:
Set endpoint URL
Make sure you use valid AI Object Storage endpoint URLs:- Use the primary endpoint,
https://cwobject.com, when running outside of a CoreWeave cluster. - Use the LOTA endpoint,
http://cwlota.com, when running inside a CoreWeave cluster. The LOTA endpoint routes to the LOTA path for better performance.
Set the endpoint URL
Verify the endpoint URL
Full configuration examples
These configuration examples show how to set both the virtual-hosted addressing style and the AI Object Storage endpoint URL. Use one of these availability zones (AZs) for your region:Availability Zones that support AI Object Storage
Availability Zones that support AI Object Storage
- US-CENTRAL
- US-EAST
- US-WEST
- CA-EAST
- EU-NORTH
- EU-SOUTH
US-CENTRAL-05AUS-CENTRAL-06AUS-CENTRAL-07AUS-CENTRAL-08AUS-CENTRAL-08B
- AWS CLI
- Boto3
- Multi-Storage Client
- s3cmd
If you use an S3 client that reads the AWS config file (
~/.aws/config), such as the AWS CLI, the S3 SDKs, or s3cmd, you can add the configuration directly to your CoreWeave profile:Named profile: