1. Packages
  2. AWS
  3. How-to Guides
  4. Example Code to deploy LocalAI, Flowise, and Pulumi on AWS EKS
AWS v6.71.0 published on Friday, Mar 7, 2025 by Pulumi

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

View Code

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
Copy

Step 2 - Install the dependencies

pulumi install
Copy

Step 3 - Login to AWS

aws configure
Copy

Step 4 - Deploy the infrastructure

pulumi up
Copy

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
Copy

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
Copy