Modernization and Other Useful AWS Services: Elastic Beanstalk, Amplify, Lightsail, Batch, Containers Path and Service Selection Cheat Sheet

AWS Solutions Architect 45 min min read Updated: Nov 17, 2026 Intermediate
Modernization and Other Useful AWS Services: Elastic Beanstalk, Amplify, Lightsail, Batch, Containers Path and Service Selection Cheat Sheet
Intermediate Topic 3 of 3

Modernization Paths

text Monolith on servers β”œβ”€ Rehost β†’ same app on EC2 (fast, low gain) β”œβ”€ Replatformβ†’ Elastic Beanstalk / RDS / ElastiCache (moderate gain) β”œβ”€ Containerize β†’ ECS/EKS/Fargate (portable, scalable) └─ Refactor β†’ microservices + serverless + managed data stores (highest gain)

The Strangler Fig Pattern

Replace a big monolith piece by piece. Put a routing layer (API Gateway, ALB or CloudFront) in front. New features and migrated modules are served by new services, while the rest still goes to the old app. Over time the old system shrinks until it can be switched off.

text Users ─► ALB / API Gateway (router) β”œβ”€ /orders/* β†’ new Order service (Lambda/ECS + DynamoDB) β”œβ”€ /catalog/* β†’ new Catalog service └─ everything else β†’ legacy monolith on EC2 (shrinking)
  • Lower risk than a big-bang rewrite
  • Each step delivers value and can be rolled back by changing a route
  • Use events (EventBridge/SQS) and change data capture to keep old and new data in sync
  • AWS Migration Hub Refactor Spaces can help manage this routing

AWS Elastic Beanstalk

Elastic Beanstalk is a PaaS: upload your code (Java, .NET, Node.js, Python, PHP, Ruby, Go, Docker) and Beanstalk creates and manages EC2, ALB, Auto Scaling, health monitoring and deployments. You keep control of the underlying resources.

ConceptMeaning
Application, environment, versionAn application has environments (dev, prod) running chosen versions
Web server environmentServes HTTP requests behind an ELB
Worker environmentPulls jobs from an SQS queue
**.ebextensions / platform hooks**Customize packages, files and commands
Managed updatesPlatform patching on a schedule
Deployment policyBehaviorDowntimeRollback
All at onceDeploy to every instance at onceYes (brief)Redeploy
RollingIn batches, capacity reduced during the updateNo, but reduced capacityRedeploy
Rolling with additional batchLaunch a new batch first so capacity is keptNoRedeploy
ImmutableLaunch a new set of instances in a temporary ASG, then swapNoFast (terminate the new ones)
Traffic splittingCanary: send a percentage to the new versionNoFast
Blue/greenCreate a second environment and swap CNAMEsNoInstant (swap back)
bash eb init shop --platform python-3.12 --region ap-south-1 eb create shop-prod --elb-type application --instance-types t4g.small --min-instances 2 --max-instances 6 eb deploy eb swap shop-blue --destination_name shop-green eb terminate shop-test
When to use Beanstalk: Developers want to deploy code without learning all of AWS, a classic web app, quick migration of a monolith. For container-first, serverless-first or large microservice platforms, ECS/EKS/Lambda fit better.

AWS Amplify and Lightsail

ServiceWhat it isUse for
AWS AmplifyHosting and tooling for web and mobile apps: Git-based CI/CD, hosting (CloudFront + S3), auth, API, storage, functionsFront-end teams who want a quick full-stack app (React, Next.js, Vue, Flutter, iOS, Android)
Amazon LightsailSimple, predictable-price virtual servers, containers, databases, load balancers, CDN, DNSSmall websites, blogs (WordPress), dev/test, beginners; can peer with a VPC
AWS App RunnerRun containers or source code with auto scaling, minimal setupSimple web apps and APIs

AWS Batch

  • Run batch computing jobs (thousands or millions) on managed EC2, Spot or Fargate capacity
  • Concepts: job definition, job queue, compute environment. Batch provisions the right amount and scales to zero
  • Use for simulations, rendering, genomics, risk calculations, ETL
  • Compare: Lambda for short event tasks (15 minutes max); Batch for long, heavy, containerized jobs; Step Functions to orchestrate

More Services You Should Recognize

AreaServicePurpose
EmailAmazon SESSend and receive email at scale (transactional and marketing)
Messaging to usersAmazon Pinpoint / End User Messaging, SNSSMS, push, email campaigns
DesktopsAmazon WorkSpaces, AppStream 2.0Virtual desktops, stream desktop applications through a browser
Contact centerAmazon ConnectCloud call center
IoTAWS IoT Core, IoT GreengrassConnect devices (MQTT), run code on devices, rules to AWS services
Machine learningAmazon SageMaker AIBuild, train and deploy custom ML models
Generative AIAmazon BedrockUse foundation models through an API, build assistants and agents, guardrails, knowledge bases
AI servicesRekognition, Textract, Transcribe, Translate, Polly, Comprehend, Lex, KendraReady AI: images, documents, speech, text, chat bots, search
Developer toolsCodeCommit status: check availability, CodeBuild, CodePipeline, CodeDeploy, CodeArtifact, Cloud9 alternativesCI/CD on AWS (many teams also use GitHub/GitLab/Jenkins)
Business appsWorkDocs / WorkMail (check status), Amazon Q BusinessProductivity and AI assistants
MediaElemental MediaConvert, MediaLive, IVSVideo processing and streaming
HybridOutposts, Local Zones, Wavelength, Storage GatewayAWS on premises or at the edge
Migration and transferDMS, MGN, DataSync, Snow, Transfer FamilyCovered in earlier lessons
Blockchain / ledgerManaged Blockchain (check status)Specialist use. Services change, always check current availability
Services change AWS adds, renames and retires services. Before building on a lesser-known service, check its current status and availability in your Region on the AWS site.

Service Selection Cheat Sheet

NeedGo-to service
Virtual serverEC2
Run code on events, no serversLambda
Run containers, least opsECS on Fargate
KubernetesEKS
Simple code deployment (PaaS)Elastic Beanstalk
Object storageS3
Block disk for EC2EBS
Shared Linux filesEFS
Windows file sharesFSx for Windows
Relational databaseRDS / Aurora
Key-value/NoSQL, serverlessDynamoDB
CacheElastiCache
Data warehouseRedshift
SQL on S3Athena
ETLGlue
Streaming ingestKinesis / MSK
QueueSQS
Pub/subSNS
Event routing and schedulesEventBridge
Workflow orchestrationStep Functions
API front doorAPI Gateway
User sign-in for appsCognito
Staff SSOIAM Identity Center
DNSRoute 53
CDNCloudFront
Static anycast IP, fast failoverGlobal Accelerator
Private networkVPC
Hybrid private linkDirect Connect (+ VPN backup)
Many VPCs hubTransit Gateway
Encryption keysKMS
Secrets with rotationSecrets Manager
Web firewallWAF
DDoSShield
Threat detectionGuardDuty
Audit of API callsCloudTrail
Config complianceConfig
Metrics and logsCloudWatch
Infrastructure as codeCloudFormation / CDK
BackupsAWS Backup
Disaster recovery of serversElastic Disaster Recovery
Multi-account governanceOrganizations + Control Tower
Cost trackingCost Explorer + Budgets

Practice Tasks

  1. Deploy a sample app to Elastic Beanstalk and perform a blue/green swap
  2. Choose the right Beanstalk deployment policy for a payment app (no downtime and fast rollback)
  3. Draw a strangler fig plan for a monolith with three modules
  4. Run a small AWS Batch job on Fargate Spot
  5. Without looking, cover the right column of the cheat sheet and answer for 20 rows

Conclusion

Modernize step by step (strangler fig), use Elastic Beanstalk for simple PaaS deployments with immutable or blue/green policies, Amplify and Lightsail for simple front-end and small apps, Batch for heavy jobs, and know the supporting services. Memorize the service selection cheat sheet and always check current availability of newer services.

Quick Summary: modernization paths; strangler fig; Beanstalk deployment policies; Amplify/Lightsail/App Runner; Batch; other services table; service cheat sheet.

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators