Reputation:
I recently started using AWS EBS and was confused as to what environment and application is and what is the difference?
Could I use environment to have a development
testing
and production
environment and then have several applications in each environment?
Thanks!
Upvotes: 16
Views: 2233
Reputation: 238051
Quoting the docs:
Application: An Elastic Beanstalk application is a logical collection of Elastic Beanstalk components, including environments, versions, and environment configurations. In Elastic Beanstalk an application is conceptually similar to a folder.
Environment: An environment is a collection of AWS resources running an application version. Each environment runs only one application version at a time, however, you can run the same application version or different application versions in many environments simultaneously.
Back to your question:
Could I use environment to have a development testing and production environment and then have several applications in each environment?
No. Its the other way around. One application can have multiple environments.
For example. If you application is called: my-first-web-application
, then you could have three independent environments in it:
my-first-web-application
code base.my-first-web-application
code base.Upvotes: 15