Deploy Ruby on Jets app to multiple regions

Hello! I created REST API in Ruby On Jets, and it works great.
Right now my app is deployed using Edge optimized API Gateway.
I’m wondering is there any way of deploying Ruby on Jets app to multiple regions?

Thanks in advance for help
Mat.

To deploy to multiple regions, use AWS_REGION. Example:

AWS_REGION=us-east-1 jets deploy
AWS_REGION=us-west-2 jets deploy

Somewhat related: https://github.com/tongueroo/jets/issues/403 It doesn’t work unless you have the aws cli installed. Docs here:

https://rubyonjets.com/docs/deploy/

Hope that helps.

1 Like