Deploying Bun Websocket Server
After watching Theo’s latest video about Bun, I was inspired to play around with it and wanted to test deploying a Bun Websocket server. Does anyone have recommendations on deploying and hosting a server like this? I was investigating Fly.io but I’m interested to hear recommendations. Also, if Theo has any relevant affiliate links or promos, I’d be open to check them out. Thanks in advance!
1 Reply
fly.io would be good. another option is if you're ok with it not being up all the time, you can just spin up a local server and share them through cloudflare tunnels https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/get-started/create-local-tunnel/
Cloudflare Docs
Create a locally-managed tunnel (CLI) · Cloudflare Zero Trust docs
Follow this step-by-step guide to get your first tunnel up and running using the CLI.