Skip to Content

Deploying EC2 Instance

This guide helps you set up an Amazon EC2 instance for running cognee.

Step 1: Create the EC2 Instance

Use your Amazon AWS account to create an EC2 Instance with the following settings:

  • Image: Ubuntu
  • Instance Type: t3.medium
  • Storage: 20 GB

Step 2: Access Your Instance

Save your key pair file (*.pem) to an appropriate location on your local machine (PATH_TO_KEY). Retrieve the “Public IPv4 DNS” from the Instance Summary and run:

ssh -i PATH_TO_KEY ubuntu@IPv4ADDRESS

Step 3: Clone Cognee repository

Clone the repo on the EC2 instance

git clone https://github.com/topoteretes/cognee.git

Step 4: Setting Up the Instance

Navigate into the extracted directory and set up the environment:
cd cognee source deployment/setup_ubuntu_instance.sh

Join the Conversation!

Have questions about Kubernetes deployment? Join our community to connect with professionals, share insights, and get your questions answered!