Skip to content

Latest commit

 

History

History
 
 

aws-ts-localai-flowise

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Example Code to deploy LocalAI, Flowise, and Pulumi on AWS EKS

Prerequisites

How to deploy?

If you run Pulumi for the first time, you will be asked to log in. Follow the instructions on the screen to login. You may need to create an account first, don't worry it is free.

Step 1 - Clone the repository

git clone https://github.com/pulumi/examples.git
cd examples/aws-ts-localai-flowise

Step 2 - Install the dependencies

pulumi install

Step 3 - Login to AWS

aws configure

Step 4 - Deploy the infrastructure

pulumi up

Step 5 - Port forward the Flowise UI

To retrieve the kubeconfig file, you can use the following command:

pulumi stack output kubeconfig --show-secrets > kubeconfig.yaml

As the program does not deploy a LoadBalancer, you need to port forward the UI to your local machine:

kubectl port-forward svc/flowise-ui 3000:3000