π 30+ AWS Lab Challenge β Part 1: Hosting with Elastic Beanstalk
After earning my AWS Certified Developer β Associate certification π, I wanted to push myself beyond just theory.
Thatβs why I started a personal challenge: 30+ AWS Labs β one service at a time, hands-on, step by step.
This is Part 1 of that challenge: AWS Elastic Beanstalk.
π± What is AWS Elastic Beanstalk?
Think of Elastic Beanstalk as a gardener for your app.
- You bring your app (like seeds π±).
- Beanstalk plants it, waters it, and makes sure it grows in healthy soil (servers, scaling, monitoring).
- You donβt need to worry about the hard stuff like EC2 setup, load balancers, or scaling. AWS does that for you.
Itβs one of the easiest ways to deploy apps on AWS without being a DevOps expert.
π οΈ Step-by-Step Lab
1οΈβ£ Create a React app
For this lab, I used Lovable.dev (a no-code AI tool) to generate a sample project: a luxury tennis club app where users can book courts.
Then I refined the project locally with VS Code + GitHub.
2οΈβ£ Prepare the project
- Build your app with
npm run build
. - Add a Procfile that tells Beanstalk how to run the app.
- Zip your
dist
,package.json
,Procfile
, and configs.
3οΈβ£ Create an environment in Elastic Beanstalk
- Choose Web Server (for websites) or Worker (for background jobs).
- Elastic Beanstalk will handle EC2, load balancers, and scaling for you.
4οΈβ£ Configure service access
Elastic Beanstalk runs on EC2 behind the scenes, so:
- Service Role β allows Beanstalk to manage AWS resources.
- Instance Profile β gives EC2 instances permissions (like pulling logs or accessing S3).
- Optional: Add an SSH Key if you want to log in to your EC2 instance later.
5οΈβ£ Extra configuration (optional for beginners)
- VPC β choose a private network.
- Scaling β set how many instances should run.
- Monitoring β keep track of health/logs.
6οΈβ£ Deploy π
Upload your zip β Elastic Beanstalk provisions everything β you get a live URL!
7οΈβ£ Celebrate π
Your React app is now live on AWS!
(For budget reasons, Iβll keep it up only until a spending alert is triggered.)
π Whatβs Next?
β¨ This is just Part 1 of my 30+ AWS Lab Challenge.
Iβll be posting every lab breakdown here on DEV.to and also on LinkedIn.
π Follow along on my journey:
- π My LinkedIn Profile
Stay tuned β next up, Iβll dive into another AWS service, explained step by step in simple English.
β Source of inspiration: AWS Elastic Beanstalk Documentation
Top comments (0)