Skip to main content

CDK construct for creating an analysis environment using DuckDB for S3 data

Project description

CloudDuck Icon

CloudDuck is a simple and easy-to-use analysis environment for S3 data, featuring DuckDB with built-in authentication.

CloudDuck Display Image

Architecture

Architecture

Installation

npm i cloud-duck

Usage

Deploy

import { CloudDuck } from 'cloud-duck';

declare const logBucket: s3.IBucket;

new CloudDuck(this, 'CloudDuck', {
  // The S3 bucket to analyze
  // CloudDuck can access to all of the buckets in the account by default.
  // If you want to restrict the access, you can use the targetBuckets property.
  targetBuckets: [logBucket],
});

Add user to the Cognito User Pool

Add user to the Cognito User Pool to access the CloudDuck.

Access

Access to the CloudDuck with the cloudfront URL.

 npx cdk deploy
...
AwsStack.CloudDuckDistributionUrl84FC8296 = https://dosjykpv096qr.cloudfront.net
Stack ARN:
arn:aws:cloudformation:us-east-1:123456789012:stack/AwsStack/dd0960c0-b3d5-11ef-bcfc-12cf7722116f

✨  Total time: 73.59s

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cloud_duck-0.0.1.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cloud_duck-0.0.1-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

Details for the file cloud_duck-0.0.1.tar.gz.

File metadata

  • Download URL: cloud_duck-0.0.1.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for cloud_duck-0.0.1.tar.gz
Algorithm Hash digest
SHA256 23771ebeedac7726327927f4adeedad8c07ca66a7d3f8746b3a2404b4567986e
MD5 dfecee635217d64f36f914871def1691
BLAKE2b-256 c214d3476eec0009179c5c7ac262d380c0007b1b2c9dda5697ddabdbf90fabd2

See more details on using hashes here.

File details

Details for the file cloud_duck-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: cloud_duck-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for cloud_duck-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 32bb12e09a70e72aad51edffac0a6b1fa7c34a8d8870c8ff5a3d8fe15a2525c5
MD5 958b0272bd63f11e32c905df03d846da
BLAKE2b-256 75dba75ac3d1847bdcfcfce901f656dab77c778dc66db4c58d9f349bb126f30d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page