How to Host Your Data on AWS S3¶
Hosting your data on AWS S3 provides high performance and reliability for CartoScope. Users could open their own S3 bucket and upload their data to it.
While users could set up their own S3 bucket and upload their data to it manually, CartLoader provides a more automated way to upload your data to AWS S3.
This is guide shows how to use CartLoader to upload your data to your AWS S3 bucket in a more automated way. Then it could be loaded and used in CartoScope.
1. Set up AWS S3 Bucket¶
Follow the AWS S3 Official Documentation:
2. Set Up AWS CLI¶
- 1) Install AWS CLI.
- 2) Configure AWS CLI.
3. Configure CORS for CartoScope?¶
placeholder
4. Upload Data¶
Below is an example showing how to use CartLoader to efficiently upload one dataset to your AWS S3 bucket.
1 2 3 4 5 6 7 | |
5. Get the Dataset URL¶
Your dataset's entry point is the YAML file that contains metadata about your dataset, which typically has the name catalog.yaml. The URL format is:
1 2 | |
Tips
If your metadata file is catalog.yaml, you can also use the URL of the S3 folder for your dataset as entry point. For example:
1 | |
Next¶
To load your data in CartoScope, use this URL in CartoScope's Load External Data dialog.