Skip to main content

Extra Environments Part 7

Less than 1 minuteRubycrashcourserubyjetsawsaws-lambdacloudwatch

Extra Environments Part 7 ๊ด€๋ จ


Extra Environments Part 7

...

In this video, we continue the tutorials on the Jets Ruby Serverless Frameworkopen in new window 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.


์ด์ฐฌํฌ (MarkiiimarK)
Never Stop Learning.