AWS Beanstalk

Credits Educative.io course.

Elastic Beanstalk is designed to host web apps by creating the whole stack various resources for us such as, an EC2 instance, an EC2 security group, an S3 bucket, CloudWatch alarms, and CloudFormation stack. Elastic Beanstalk also provides us with a domain name for our application. It is also auto-scalable. It works well with Flask, Django, Node.js, PHP, Python, Ruby, Tomcat, and .NET.

Take home messages: - Create IAM role that allows BeanStack to access EC2, policy: AWSElasticBeanstalkWebTier - Elastic Beanstalk looks for zip file, that has requirements.txt, and it looks for our code in the application.py file (in case of Flask app).