Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

coderabbitai/lancedb-test-connection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

4 Commits

Repository files navigation

LanceDB AWS S3 Connection Test

This project demonstrates connecting to LanceDB using AWS S3 as the object store backend.

Prerequisites

  • Node.js (version 22 LTS preferred)
  • AWS credentials configured
  • Access to an S3 bucket

Setup

  1. Ensure Node.js is installed:

    Check if Node.js is installed:

    node --version

    If not installed, download and install from nodejs.org

  2. Install dependencies:

    npm install
  3. Update S3 bucket path:

    Edit aws.js and replace <BUCKET_NAME> with your actual S3 bucket name:

    const S3_PATH = "s3://your-bucket-name/test/coderabbit/data"

Required AWS Permissions

Your AWS credentials need the following S3 permissions for the specified bucket:

{
 "Version": "2012年10月17日",
 "Statement": [
 {
 "Effect": "Allow",
 "Action": [
 "s3:PutObject",
 "s3:GetObject",
 "s3:DeleteObject"
 ],
 "Resource": "arn:aws:s3:::<bucket>/<prefix>/*"
 },
 {
 "Effect": "Allow",
 "Action": [
 "s3:ListBucket",
 "s3:GetBucketLocation"
 ],
 "Resource": "arn:aws:s3:::<bucket>",
 "Condition": {
 "StringLike": {
 "s3:prefix": [
 "<prefix>/*"
 ]
 }
 }
 }
 ]
}

Running the Script

node aws.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /