UPDATED to account for the EC2 instance profile (if yours wasn’t automatically created)
Elastic Beanstalk is Amazon’s “platform as a service” solution, allowing you to “just write code,” and then Elastic Beanstalk does all the work of setting up and maintaining the underlying infrastructures (EC2 instances, load balancers, auto-scaling groups and more).
In this hands-on tutorial, we’ll deploy a sample Python web application (built-in with Elastic Beanstalk), setting up an application and an environment (and first of all, what’s the difference?). After deployment is complete, we’ll take a look at our masterpiece of an app, see what happened behind the scenes, and then finally, we’ll delete the application and environment.
🌟 ***OTHER VIDEOS YOU MIGHT ENJOY*** 🌟
-Load balancing basics:
https://youtu.be/ZGGpEwThhrM
-Auto scaling groups:
https://youtu.be/KNr3Kq7cah8
-Security groups:
https://youtu.be/uYDT2SsHImQ
🌟 ***MY AWS COURSES*** 🌟
If you’re interested in getting AWS certifications, check out these full courses. They include lots of hands-on demos, quizzes and full practice exams. Use FRIENDS10 for a 10% discount!
- AWS Certified Cloud Practitioner: https://academy.zerotomastery.io/a/aff_n20ghyn4/external?affcode=441520_lm7gzk-d
- AWS Certified Solutions Architect Associate: https://academy.zerotomastery.io/a/aff_464yrtnn/external?affcode=441520_lm7gzk-d
🌟 ***TIMESTAMPS*** 🌟
00:00 – Getting started with Elastic Beanstalk by creating a new application
00:16 – The difference between an application and environment in Elastic Beanstalk
02:00 – Creating a new application in Elastic Beanstalk
02:29 – Creating and configuring a new environment (with sample code) in Elastic Beanstalk
03:21 – Service role vs. EC2 instance profile
04:26 – Creating a new service role in Elastic Beanstalk
05:00 – Creating a new EC2 instance profile for an instance in Elastic Beanstalk, no more "instance profile does not exist" errors
07:28 – Selecting an existing EC2 instance profile from Elastic Beanstalk
08:04 - Setting up network and database for Elastic Beanstalk
08:34 - Configuring instances in Elastic Beanstalk
09:43 – Watching deployment progress with Elastic Beanstalk
10:06 - Viewing the application and behind-the-scenes with Elastic Beanstalk after deployment
11:52 – IMPORTANT! Deleting the application and environment in Elastic Beanstalk