Jets Tutorial Extra Environments Part 7: AWS Lambda Ruby

Tung Nguyen
BoltOps
2 min readSep 13, 2018

--

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

Note, you’ll be prompted with an ‘Are you sure?’ message.

More info

Thanks for reading this far. If you found this article useful, I’d really appreciate it if you share this article so others can find it too! Thanks 😁 Also follow me on Twitter.

Got questions? Check out BoltOps.

Originally published at https://blog.boltops.com on September 13, 2018.

--

--