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.0.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.0-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cloud_duck-0.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 2a82127780ae48bc2319fa44a609c046abee2a46c1df6d53620f94f3b4e84e7d
MD5 73839d8fa272b9dea062a8a3923ee0d6
BLAKE2b-256 17f2694167913c5b8f2cb9bb67618443dca7f9b8897f8e8e09af14afcda1d9a1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cloud_duck-0.0.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fb43b49266130b51a67bc860b0a23dd946f7cd0a549fe1225798053146cf5528
MD5 c7ead820fc6f281e3419c073d9e9dec5
BLAKE2b-256 4e42a6f71e83ff9a02c9ebc11ea95e65f6069a61bcd157b46caee64696936583

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