Configure your own buckets
Last updated
Last updated
For every CARTO Self-Hosted installation, we need some configured buckets to store resources that will be used by the platform. These storage buckets are part of the required infrastructure for importing and exporting data, map thumbnails, customization assets (custom logos and markers) and other internal data.
You can create and use your own storage buckets in any of the following supported storage providers:
Select your preferred storage provider:
Once you've made your selection, please proceed to configure your storage preferences by completing the necessary fields below:
When configuring Google Cloud Storage as your storage provider, you'll have to:
Create 3 buckets in GCS:
Assets Bucket
Temp Bucket
Data export Bucket (optional in case you'd like to allow exporting data from your data warehouse)
Custom markers won't work unless the assets bucket is public.
Configure CORS: Temp and Assets buckets require having the following CORS headers configured:
How do I setup CORS configuration? Check the provider docs.
Ensure that the identity used to access your GCS buckets has read/write permissions on all of them. It should have the over the buckets that will be used.
Provide the Project ID of the Google Cloud Platform (GCP) project where your GCS buckets are located.
Specify the names of the GCS buckets that your application will be using. This allows your application to target the specific buckets for storing and retrieving data.
When configuring AWS S3 as your storage provider, you'll have to:
Create 3 buckets in AWS S3 account:
Assets Bucket
Temp Bucket
Data export Bucket (optional in case you'd like to allow exporting data from your data warehouse)
Custom markers won't work unless the assets bucket is public.
When creating your buckets, please check that:
ACLs should be allowed.
If server-side encryption is enabled, the user must be granted with permissions over the KMS key following the AWS documentation
Configure CORS: Temp and Assets buckets require having the following CORS headers configured:
How do I setup CORS configuration? Check the provider docs.
Provide an Access Key ID and Secret Access Key that will be used to access your S3 buckets. You can generate these credentials through the AWS Management Console by creating an IAM user with appropriate permissions for accessing S3 resources.
Configure the region in which these buckets are located. All the buckets must be created in the same AWS region.
Specify the names of the AWS buckets that your application will be using. This allows your application to target the specific buckets for storing and retrieving data.
Create an AWS IAM role with the following settings:
Trusted entity type: Custom trust policy
Custom trust policy: Make sure to replace <your_aws_user_arn>
with the ARN of the user which Access Key has been configured on CARTO deployment configuration
Add permissions: Create a new permissions' policy. Please, take into account that you can omit the export bucket permissions if you wouldn't like to enable exporting data from CARTO platform.
This role has permissions to use both the exports bucket and the temp bucket to store that will be imported into Redshift. In order to enable exporting data from Redshift you'll have to specify the ARN of the role and the name of the exports bucket in the CARTO Self-Hosted configuration.
In case you'd like to enable importing data to Redshift, then it's not mandatory to provide the exports bucket's name, but you'll have to follow these instructions once the CARTO Self-Hosted deployment is ready.
Create an AWS IAM role with the following settings:
Trusted entity type: Custom trust policy
Custom trust policy: Make sure to replace <your_aws_user_arn>
with the ARN of the user which Access Key has been configured on CARTO deployment configuration
Add permissions: Create a new permissions' policy. Please, take into account that you can omit the export bucket permissions if you wouldn't like to enable exporting data from CARTO platform.
This role has permissions to use the exports bucket to store the data exported from Snowflake. In order to enable exporting data from Snowflake you'll have to specify the ARN of the role and the name of the data export bucket in the CARTO Self-Hosted configuration.
When configuring Azure Blob as your storage provider, you'll have to:
Create 3 containers in your Azure Blob storage account:
Assets Bucket
Temp Bucket
Data export Bucket (optional in case you'd like to allow exporting data from your data warehouse)
Custom markers won't work unless the assets bucket is public.
Configure CORS: Temp and Assets buckets require having the following CORS headers configured:
How do I setup CORS configuration? Check the provider docs.
Provide an Access Key that will be used to access your containers.
Specify the names of the buckets that your application will be using. This allows your application to target the specific buckets for storing and retrieving data.