MANUAL

Choosing cloud services for your app

Choosing cloud services for your app

Cloud providers offer hundreds of services with confusing names. Fortunately, they are made up of just a handful of building blocks, and a standard web app only needs a few of them.

01

The building blocks

Building block What it is AWS Google Cloud Azure
Virtual machine A server you rent EC2 Compute Engine Virtual Machines
Container hosting (PaaS) Run your container without managing servers ECS / App Runner Cloud Run Container Apps
Serverless functions Stand-alone functions that only run in response to a request Lambda Cloud Functions Functions
Managed SQL database MySQL/PostgreSQL with regular updates and backups RDS / Aurora Cloud SQL Azure SQL / Database for PostgreSQL
NoSQL / document database Flexible storage without fixed tables DynamoDB Firestore Cosmos DB
Managed cache Redis/Memcached for speed and sessions ElastiCache Memorystore Cache for Redis
Object storage Files (uploads, backups) via a URL S3 Cloud storage Blob storage
CDN Fast file delivery from servers close to the user CloudFront Cloud CDN Front Door / CDN
DNS Domain names pointing to your servers Route 53 Cloud DNS Azure DNS
Load balancer Distributing traffic across servers ALB / NLB Cloud Load Balancing Load Balancer / App Gateway
Queue / events Messages between components SQS / SNS Pub/Sub Service Bus
Secrets Keeping passwords and keys secure Secrets Manager Secret Manager Key Vault
Access Management (IAM) Who is authorised to do what IAM Cloud IAM Entra ID + RBAC
Monitoring Metrics, logs and alerts CloudWatch Cloud Monitoring Azure Monitor
Container registry Storage for your Docker images ECR Artifact Registry Container Registry
Managed Kubernetes Kubernetes without having to manage the cluster yourself EKS GKE AKS

02

What does a standard Laravel app need?

For most business apps, this is enough:

  1. One place to run the app: a managed platform, container hosting or a VPS.
  2. A managed SQL database with automatic backups.
  3. Object storage for uploads (Laravel’s Storage::disk('s3') works with S3 and compatible storage).
  4. An email service for transactional emails.
  5. Monitoring and error messages (see Logging and monitoring for your app).

You can add a CDN, cache, queue service and load balancer if you really need them.

03

What to look out for

04

Kubernetes, Terraform and multi-cloud?

Not necessary for most small apps. Read Kubernetes and Terraform: do you need them? before you get started.

05

Need help?

For Bespoke software and web applications, I’ll choose the simplest, most affordable setup to suit your app, including backups and monitoring.

06

Skills

07

Related services