Skip to content

Learn how to create an Anything LLM container on your AWS instance by following these simple steps. This tutorial guides you through creating a directory, setting up Docker Compose, and running the container. Additionally, you’ll learn how to access Anything LLM and configure the data volume.

Notifications You must be signed in to change notification settings

marcosaugustoldo/install-anythingllm-ec2-aws-freetier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

https://raw.githubusercontent.com/Mintplex-Labs/anything-llm/master/images/wordmark.png

Install an Anything LLM container on an AWS Free Tier EC2 Instance

Let's create a container for Anything LLM on the AWS instance you created based on this tutorial .

Here's a step-by-step tutorial:

Step 1: Create the anythingllm directory

Create a new directory called anythingllm in the home/ec2-user directory using the command:

mkdir ~/anythingllm

Then, navigate to the newly created directory:

cd ~/anythingllm

Step 2: Create the docker-compose.yml file

Create a new file called docker-compose.yml in the current directory with the following content:

version: '3'
services:
  anythingllm:
    image: mintplexlabs/anythingllm:master
    ports:
      - "3001:3001"
    volumes:
      - anythingllm-data:/app/data
    restart: always

volumes:
  anythingllm-data:

Step 3: Start the container

Run the command docker-compose up -d to start the container in the background:

docker-compose up -d

Step 4: Verify the container is running

Verify the container is running using the command docker-compose ps:

docker-compose ps

Step 5: Access Anything LLM

Access Anything LLM at http://your-ip-address:3001 (replace your-ip-address with the IP address of your AWS instance).

Additional Tips

  • Make sure port 3001 is open in the security group of your AWS instance.
  • If you need to store data for Anything LLM, ensure the anythingllm-data volume is configured correctly.
  • If you have a domain and want a subdomain to point to http://your-ip-address:3001, follow this tutorial by timothycarambat

About

Learn how to create an Anything LLM container on your AWS instance by following these simple steps. This tutorial guides you through creating a directory, setting up Docker Compose, and running the container. Additionally, you’ll learn how to access Anything LLM and configure the data volume.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published