CoreWeave AI Object Storage requires virtual-hosted style URLs. Path-style addressing is not supported, so you must configure your client accordingly. This guide explains how to set the virtual-hosted addressing style and set a valid AI Object Storage endpoint URL in your S3 configuration. In virtual-hosted style, the bucket name is part of the domain, likeDocumentation Index
Fetch the complete documentation index at: https://docs.coreweave.com/llms.txt
Use this file to discover all available pages before exploring further.
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 is not using path-style addressing (for example, https://cwobject.com/[BUCKET-NAME]/file). This format is unsupported and will result in errors.
Use the CoreWeave fork of s5cmd with AI Object StorageThe upstream s5cmd uses path-style addressing with custom endpoint URLs. AI Object Storage does not 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. See Migrate data to AI Object Storage for setup and usage.
Configure CoreWeave credentials
Using a separate profile for CoreWeave AI Object Storage is recommended to avoid conflicts with your other AWS profiles and S3-compatible services; if you do not set up this configuration, you may 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 for information, 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, refer to the 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 when running outside of a CoreWeave cluster. - The LOTA endpoint,
http://cwlota.com, for use when running 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
Set virtual addressing style
Using the AWS CLI, you can set the virtual addressing style for your CoreWeave profile, and then verify the setting:Configure the virtual addressing style
Verify the setting
Config object or the environment. This Boto example shows where to modify the S3 config within the Boto config:
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 best 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 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-SOUTH
US-CENTRAL-05AUS-CENTRAL-06AUS-CENTRAL-07AUS-CENTRAL-08AUS-CENTRAL-08B
- AWS CLI
- Boto3
- Multi-Storage Client
- s3cmd
If you are using an S3 client that uses the AWS config file (
~/.aws/config), such as the AWS CLI, the S3 SDKs, or s3cmd,
you can add it directly to your CoreWeave configuration file:Named profile: