Moving your Rails app from Google App Engine Flex to Standard environment

01-Sep-2019 1983

tl;dr Default GAE config for Standard Environment prevents Rails apps from running. It's because skip_files is preventing a key file from being uploaded.

Google App Engine currently has two environments: Standard and Flex. Without going into too much detail, the Flex environment is more flexible and can run anything that runs in a docker container. The Standard environment is more restrictive (restricting you to specific languages), but it has other benefits such as much faster deploy times (~4mins instead of ~15mins), faster scaling, and it can even scale to zero.

Until recently, the standard environment hasn't been available to Rubyists, but in June 2019, Google announced that a Ruby 2.5 runtime is available.

Use coupon code:

RUBYONRAILS

to get 30% discount on our bundle!
Prepare for your next tech interview with our comprehensive collection of programming interview guides. Covering JavaScript, Ruby on Rails, React, and Python, these highly-rated books offer thousands of essential questions and answers to boost your interview success. Buy our 'Ultimate Job Interview Preparation eBook Bundle' featuring 2200+ questions across multiple languages. Ultimate Job Interview Preparation eBook Bundle