Lightsail, EC2 and Beanstalk choices
Choose the level of control
A website needs a place to serve responses. A static site sends files prepared ahead of time; a dynamic application executes server code when requests arrive. Hosting choices differ in who maintains the operating system, deploys code, and scales capacity. A bakery with a menu page does not need the same architecture as a store that processes orders. Start with workload requirements, not a favorite AWS service.
Lightsail: a smaller operational surface
Lightsail provides packaged options for virtual servers, containers and related services. A small WordPress site with predictable demand may fit a virtual server bundle. Review included transfer, disk capacity, backups and add-ons; the package does not cover every possible charge. A virtual server still needs application and operating-system maintenance, access controls and tested backups. Choose a supported image and avoid public administrative ports.
EC2 and Elastic Beanstalk
EC2 gives you control over instances, software, networking and the deployment process. A service requiring a custom system daemon may benefit from that control, but you own patching, health checks and recovery design. Elastic Beanstalk coordinates application environments and underlying resources, such as EC2 instances and optional load balancers and scaling. It suits a supported application platform where the team prefers a managed deployment workflow. You still own application security, dependencies, configuration and platform-update decisions. Keep durable data outside replaceable instances.
Compare costs with explicit assumptions
Suppose a fictional monthly server package costs $12, backups $3 and excess transfer $2. Total: $17. A second fictional metered design uses 100 compute hours at $0.10, storage at $4, a load balancer at $8 and transfer at $2: $24. These are invented rates, not AWS quotes or an equivalent capacity comparison. Estimate the same workload, region, availability target, storage, request volume, transfer and recovery needs before deciding. A stopped service may leave billable resources.
Plan a safe release
For an application on Beanstalk, build an immutable release artifact, select a supported platform version, test in a separate environment, configure health checks and review scaling bounds. Store secrets outside the source bundle and use scoped roles. Record previous release, database migration compatibility and a rollback decision before switching traffic. A managed platform is not an automatic security or availability guarantee.
Practice
For a small blog, a custom daemon and a supported web runtime with automated deployment, choose one of Lightsail, EC2 and Beanstalk respectively and name a remaining responsibility. If the blog is only HTML, reconsider a static hosting service in the next lesson. Read the AWS decision guide linked in the evidence register before any real purchase.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Lightsail, EC2 and Beanstalk choices — knowledge check
Apply hosting choices to fictional workloads.
A bakery has a fixed-size WordPress site and prefers a packaged VM. Which option fits the stated goal?
A workload requires a custom OS daemon. Which gives direct OS control?
A team has a supported web runtime and wants managed deployment coordination. Which is a candidate?
A hypothetical package is $12, backups $3, extra transfer $2. Total?
What remains the application team’s responsibility on Beanstalk?