AWS Elastic Beanstalk


  • Most web apps have the same architecture (ALB + ASG)
  • EB is a managed service
    • Automatically handles capacity provisioning, load balancing, scaling, application health monitoring, instance configuration, โ€ฆ
    • Just the application code is the responsibility of the developer
  • EB is free but needs to pay for the underlying instances
  • AWS CloudFormation provisions components
  • Lightsail, Elastic Beanstalk, EC2, On-premise ์ˆœ์œผ๋กœ ์ปดํ“จํŒ… ์„ค์ • ๋ณต์žก๋„๊ฐ€ ๋†’์Œ

Components

  • Application
    • Collection of EB components (environments, versions, configurations, โ€ฆ)
  • Application Version
    • An iteration of your application code
  • Environment
    • Collection of AWS resources running an application version (only one application version at a time)
    • Can create multiple environments (dev, test, prod, โ€ฆ)
    • Tiers
      • Web Server Environment
      • Worker Environment

Web Server Tier vs Worker Tier

References