# STEP-1
create an EC2 instance

# STEP-2 ( ssh into the machine )
ssh -i ~/.ssh/id_rsa_aws ubuntu@machine's_IP

STEP-3 : Install node

How to Install Node.js on Ubuntu | DigitalOcean

STEP-4: Install Docker

How To Install and Use Docker on Ubuntu | DigitalOcean

nvm install --lts

# For bun ( node manager )
npm install -g bun

# STEP 5 : clone the repo

# STEP 6 :
bun bin.ts

# STEP 7 :
npm install -g pm2

# STEP 8 :
which bun

# STEP 9 : to create bun app using pm2
pm2 start --interpreter bun_file_location bin.ts

 # bun_file_location : place where bun binary exists on ur machine get it from ( which bun )
 
 # STEP 10 :
 pm2 list
 
 # STEP 11 :
 pm2 logs