Skip to content

Instantly share code, notes, and snippets.

View arun-gupta's full-sized avatar

Arun Gupta arun-gupta

View GitHub Profile
@arun-gupta
arun-gupta / readme.md
Last active September 14, 2024 21:22
OPEA on Google Cloud using Docker Compose

OPEA on Google Cloud using Docker Compose

Create your instance

Ubuntu 22.04

@arun-gupta
arun-gupta / readme.md
Last active October 14, 2024 23:44
OPEA on Oracle Cloud using Docker Compose

OPEA on Oracle Cloud using Docker Compose

Create your instance

Ubuntu 24.04

@arun-gupta
arun-gupta / readme.md
Last active September 18, 2024 04:10
OPEA on AWS using Docker Compose

OPEA on AWS using Docker Compose

Pick your AMI

Ubuntu

  • Launch an Ubuntu 24.04, m7i.4xlarge instance (16 vCPU, 64 GB memory). Change storage to 500GB.
  • Install Docker:
@arun-gupta
arun-gupta / readme.md
Last active September 5, 2024 01:24
OPEA on Amazon EKS

OPEA on Amazon EKS

  • Create EKS cluster as explained at https://www.eksworkshop.com/docs/introduction/setup/your-account/ using VSCode option. m7i.4xlarge and m5.4xlarge is causing this issue. Use this command instead to create the cluster:
    export EKS_CLUSTER_NAME=eks-workshop
    #curl -fsSL https://raw.githubusercontent.com/aws-samples/eks-workshop-v2/stable/cluster/eksctl/cluster.yaml | sed -e 's/m5.large/m7i.4xlarge/g' -e 's/: 3/: 1/g' | \
    curl -fsSL https://raw.githubusercontent.com/aws-samples/eks-workshop-v2/stable/cluster/eksctl/cluster.yaml | sed -e 's/m5.large/m5.4xlarge/g' | \
    envsubst | eksctl create cluster -f -
    
    This will create a three-node EKS cluster using m5.4xlarge instead of the default m5.large instance type. Here is the final output:
https://teams.microsoft.com/l/meetup-join/19:meeting_ZWQ5NWY3ZjgtNGY4NS00MTg0LThmZmYtMjY2ZDU5OTkwZmUx@thread.v2/0?context=%7B%22Tid%22:%220f9e35db-544f-4f60-bdcc-5ea416e6dc70%22,%22Oid%22:%22d4362d76-0393-4c11-8e67-c5d1d25cb3bc%22%7D
@arun-gupta
arun-gupta / readme.md
Created March 5, 2024 02:05
Llama with JupyterLab

Download Llama

git clone https://github.com/arun-gupta/llama
cd llama
./download.sh

Install JupyterLab

@arun-gupta
arun-gupta / readme.md
Last active November 7, 2023 02:41
Building first LLM using LangChain
@arun-gupta
arun-gupta / readme.md
Last active June 29, 2023 03:21
Java, Web Assembly, Docker, Kubernetes, and oh my!

Java and Web Assembly Web Application

  • This sample will use TeaVM transpiler to convert Java code into WebAssembly. Create a new TeaVM project using Maven:
    mvn -DarchetypeCatalog=local \
    -DarchetypeGroupId=org.teavm \
    -DarchetypeArtifactId=teavm-maven-webapp \
    -DarchetypeVersion=0.8.1 archetype:generate
    
  • Package the .war file:
@arun-gupta
arun-gupta / readme.md
Last active June 15, 2023 11:18
Create a Rust-based Web Assembly application
  • Install rustup and the latest version of Rust
    arungupt@Aruns-MBP-52212 ~ % curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
    info: downloading installer
    
    Welcome to Rust!
    
    This will download and install the official compiler for the Rust
    programming language, and its package manager, Cargo.
    
@arun-gupta
arun-gupta / intel-developer-cloud.md
Last active January 25, 2023 17:56
Intel Developer Cloud Blog
  • Talk about Intel Developer Cloud? (2-3 slides?)
    • What is the service?
    • Audience (why would they come here)
    • What is offered today?
    • How is it different or aligned with other CSPs?
  • Walk them through cloud.intel.com
  • Sign up and login
  • Walk through the UI
    • Show different instances and explain their meaning/purpose
  • How do you spin up a SPR instance?