Setting up TLS before migrating?
grahamc
PROOP

2 years ago

Hi,

I have a project hosted on another PaaS. I'd like to try Railway, but I don't want to do a hard cutover. Is it possible to do a partial migration, where a percentage of my traffic goes to Railway?

This used to be possible when services primarily used A / AAAA records. Is there a tried-and-true approach for services which use CNAMEs?

Solved

1 Replies

2 years ago

If you're looking for a purely DNS-based solution, I think Cloudflare's load balancer [0] may work for this.

Otherwise, I'd look into spinning up a reverse proxy that your domain points to, and have that proxy traffic to your other PaaS + Railway (Caddy with a LB policy of random is the easiest to set-up [1])

[0] https://developers.cloudflare.com/load-balancing/get-started/quickstart/

[1] https://caddyserver.com/docs/caddyfile/directives/reverse_proxy#load-balancing


Railway
BOT

7 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 7 months ago


Loading...