--- layout: docu redirect_from: - /docs/2.0/aws_extensions/overview - /docs/2.0/core_extensions/aws/overview - /docs/2.0/aws_extensions/aws_service_repository - /docs/2.0/core_extensions/aws/aws_service_repository - /docs/current/core_extensions/aws/overview - /docs/lts/core_extensions/aws/overview - /docs/preview/core_extensions/aws/overview - /docs/stable/core_extensions/aws/overview - /docs/current/extensions/thirdparty_extensions/aws/overview - /docs/lts/extensions/thirdparty_extensions/aws/overview - /docs/preview/extensions/thirdparty_extensions/aws/overview - /docs/stable/extensions/thirdparty_extensions/aws/overview title: AWS Service Extensions --- > Warning The AWS service extensions are not DuckDB core extensions. They are developed and maintained by AWS and distributed via the [AWS service repository](#aws-service-repository). > Tip New to DuckDB on AWS? The [Getting Started with DuckDB on AWS guide]({% link docs/2.0/guides/network_cloud_storage/aws_getting_started.md %}) walks through reading and writing S3, authentication, AWS Glue, Athena, and Redshift. AWS develops extensions that connect DuckDB to [Amazon Web Services (AWS)](https://aws.amazon.com/) services: * The [Athena extension]({% link docs/2.0/extensions/thirdparty_extensions/aws/athena/overview.md %}) connects DuckDB to [Amazon Athena](https://aws.amazon.com/athena/). * The [Redshift extension]({% link docs/2.0/extensions/thirdparty_extensions/aws/redshift/overview.md %}) runs queries on [Amazon Redshift](https://aws.amazon.com/redshift/) and returns the results to DuckDB. ## AWS Service Repository The AWS service extensions are not available from DuckDB's built-in repositories. Instead, AWS publishes them in its own [extension repository]({% link docs/2.0/extensions/extension_repositories.md %}), hosted at `aws.amazon.com`. Before you can install or load any of these extensions, register the repository by naming its host: ```sql CREATE EXTENSION REPOSITORY aws.amazon.com; ``` DuckDB fetches the repository's signing keys from the host and pins them. The statement returns the repository's name, its prefix, and the SHA-256 fingerprint of each pinned key. Registering a repository by its host requires DuckDB v2.0.1 or later. Repository definitions are stored locally in `~/.duckdb/extension_repositories`, so you only have to register the repository once on each machine or container image. To check that the repository is registered, run: ```sql SELECT repository_name, host, prefix, key_fingerprints FROM duckdb_extension_repositories(); ``` Once the repository is registered, install and load extensions from it by referring to it by name: ```sql INSTALL AND LOAD redshift FROM aws.amazon.com; ``` Extensions installed from a custom repository are never autoloaded, and a plain `LOAD redshift;` does not find them. In later sessions, load the extension from the repository: ```sql LOAD redshift FROM aws.amazon.com; ``` [`UPDATE EXTENSIONS`]({% link docs/2.0/sql/statements/update_extensions.md %}) skips extensions installed from custom repositories. To upgrade one, reinstall it: ```sql FORCE INSTALL redshift FROM aws.amazon.com; ``` ## Related Core Extensions DuckDB also has two AWS-related core extensions, maintained by the DuckDB team: * The [`aws` extension]({% link docs/2.0/core_extensions/aws.md %}) provides AWS authentication (via the AWS SDK credential chain) on top of the [`httpfs` extension]({% link docs/2.0/core_extensions/httpfs/overview.md %})'s S3 support. * The [`glue` extension]({% link docs/2.0/core_extensions/glue.md %}) attaches an [AWS Glue Data Catalog](https://docs.aws.amazon.com/glue/latest/dg/catalog-and-crawler.html) as a DuckDB database. For an overview of authentication methods, see the [S3 and AWS Authentication]({% link docs/2.0/core_extensions/httpfs/authentication.md %}) page.