AWS Elastic Beanstalk: What is the Difference Between Environment and Application?

I have an application with two clients: web and mobile (both Android and iOS).

Should I create:

  • Two applications (web and mobile) with one environment each
  • One application with two environments (web and mobile).

What is the best option?

+5
source share
2 answers

Having been in this situation recently, I think that these are mostly personal preferences. I prefer to separate them as much as possible if the service affecting the service, which includes only one role, does not interfere with another role.

Example. If you need to perform maintenance as your web server, you don’t need to worry about your mobile application servers at all.

+1
source

It is assumed that one application will be placed on the elastic beanstalk (EB). Therefore, if different clients are two different applications (they have different codes, and not just different "historical" versions of the same code), they should be in two different EB applications, each of which has its own set of environments (you there may be a development, preliminary and production environment, for example).

+1
source

Source: https://habr.com/ru/post/1211936/


All Articles