In this video, we continue the tutorials on the Jets Ruby Serverless Framework that adds Ruby support to AWS Lambda. We talk about a Jets concept called extra environments. With one environment variable JETS_ENV_EXTRA, we can create as many additional instances of environments as we wish. This helps when multiple people are asking to use the development, staging, or uat environment but cannot because it is currently used by someone else or another feature. Usually, you end up having to wait until the environment free. With this Jets concept you can create as many environments as required.

It is also interesting that AWS Lambda pricing is based on a usage, the extra environments pretty much are free. Usually, development environments get much less traffic or requests.

Summary of What We’ll Cover

  • Explain JETS_ENV_EXTRA concept
  • Provide a demo

Cleanup

To delete the extra environment:

JETS_ENV_EXTRA=2 jets delete

More info

Jets Tutorial Series

Also, here’s source code from tutorial: tongueroo/jets-tutorial-crud