treeverse / lakeFS-samples

lakefs-samples repository
Apache License 2.0
71 stars 26 forks source link

lakefs-samples

Check notebooks

Incorporating the Docker Compose formally known as Everything Bagel.

lakeFS logo

This sample repository captures a collection of notebooks, dockerized applications and code snippets that demonstrate how to use lakeFS.

lakeFS is a popular open-source solution for managing data. It provides a consistent and scalable data management layer on top of cloud storage, such as Amazon S3, Azure Blob Storage, or Google Cloud Storage. It allows users to create and manage data in a version-controlled and immutable manner, and offers features such as data governance, data lineage, and data access controls. lakeFS is compatible with a wide range of data processing frameworks and tools.

Go to lakefs_enterprise folder if you want to use lakeFS Enterprise instead of lakeFS open source

Let's Get Started πŸ‘©πŸ»β€πŸ’»

Clone this repository

git clone https://github.com/treeverse/lakeFS-samples.git
cd lakeFS-samples

You now have two options:

Run a Notebook server with your existing lakeFS Server

If you have already installed lakeFS or are utilizing lakeFS cloud, all you need to run is the Jupyter notebook server:

docker compose up

Once the stack's up and running, open the Jupyter Notebook (http://localhost:8888) and check out the catalog of sample notebooks to explore lakeFS.

Once you've finished, run the following to remove all the containers:

docker compose down

Don't have a lakeFS Server or Object Store?

If you want to provision a lakeFS server as well as MinIO for your object store, plus Jupyter then bring up the full stack:

docker compose --profile local-lakefs up

As above, open the Jupyter Notebook (http://localhost:8888) peruse the catalog of sample notebooks to explore lakeFS.

Environment Details

Containers

URLs and login details

If you've brought up the full stack you'll also have:

Other Examples

Under the standalone_examples folder are a set of examples that need to be run on their own. Some use the repository's Docker Compose file and extend it, and others are self-contained and use their own Dockerfile.

Got Questions or Want to Chat?

πŸ‘‰πŸ» Join the lakeFS Slack group - https://lakefs.io/slack