In this video, we continue the tutorials on the Jets Ruby Serverless Framework that adds Ruby support to AWS Lambda. We talk about the difference between Jets extra vs different environments. Different environments refer to development, staging, uat, production environments. Extra environments refer to instances of each of those environments. For example, development-1, development-2, development-3, etc.
- Extra environments are controlled with the environment variable
- Different environments are controlled with the environment variable
Summary of What We’ll Cover
- Explain JETS_ENV
- Provide a demo
To delete the newly created production environment:
JETS_ENV=production jets delete
Note, you’ll be prompted with an ‘Are you sure?’ message.
- For an Jets Introduction: Introducing Jets: A Ruby Serverless Framework.
- Also more info at: Jets documentation site.
Jets Tutorial Series
- Toronto Serverless Presentation: Jets Framework
- An Introductory CRUD App Part 1
- Deploy to AWS Lambda Part 2
- Debugging Logs Part 3
- Background Jobs Part 4
- IAM Policies Part 5
- Function Properties Part 6
- Extra Environments Part 7
- Different Environments Part 8
- Polymorphic Support Part 9
Also, here’s source code from tutorial: tongueroo/jets-tutorial-crud