AWS › AWS Elastic Beanstalk

What is the difference between an Elastic Beanstalk application and an environment?

Beginner

Answer

An Elastic Beanstalk application is essentially a logical container representing your overall project, which can have multiple environments underneath it, such as separate development, testing, and production environments, each running its own independent set of resources and its own version of your application code, letting you manage completely separate deployment stages under one organized application umbrella.
eb create dev-environment
eb create prod-environment
Real-world example A development team creates two separate environments under the same Elastic Beanstalk application, a development environment for testing new features and a production environment serving real customer traffic, both independently managed but organized under a single application.

Common follow-ups: Can you promote a build from a development environment directly to production?;How many environments can a single application have?