Elastic Beanstalk 🔗

Elastic Beanstalk 🔗


In this scenario Elastic Beanstalk has been used for two purposes. Firstly to take control of the instrastructue aspects. Secondly to manage the versioning and deployment of a simple demo web application (node.js backend).

  1. Infrastructure
  • S3 storage for the code distributions
  • Security groups for appropriate communication between services
  • Elastic IP for public access
  • EC2 instances to host and run the application code
  • Auto scaling group for scale-out (and used for deployments)
  1. Versioning and deployment
  • For an application nigelaukland-eb-1, two enironments:

  • New application versions have been deployed using traffic splitting to direct a proportion of traffic to newly instantiated hosts running the new version. Then terminating the original instances once the health checks are passed.