[英]Environment vs. application in Elastic Beanstalk AWS
I recently started using AWS EBS and was confused as to what environment and application is and what is the difference?我最近开始使用 AWS EBS,对什么是环境和应用程序以及有什么区别感到困惑?
Could I use environment to have a development
testing
and production
environment and then have several applications in each environment?我可以使用 environment 来拥有一个
development
testing
和production
环境,然后在每个环境中都有几个应用程序吗?
Thanks!谢谢!
Application: An Elastic Beanstalk application is a logical collection of Elastic Beanstalk components, including environments, versions, and environment configurations.应用程序:Elastic Beanstalk 应用程序是 Elastic Beanstalk 组件的逻辑集合,包括环境、版本和环境配置。 In Elastic Beanstalk an application is conceptually similar to a folder .
在 Elastic Beanstalk 中,应用程序在概念上类似于文件夹。
Environment: An environment is a collection of AWS resources running an application version.环境:环境是运行应用程序版本的 AWS 资源的集合。 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?
我可以使用 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
,那么您可以在其中拥有三个独立的环境:
my-first-web-application
code base. my-first-web-application
代码库。my-first-web-application
code base. my-first-web-application
代码库时的开发环境。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.