Skip to main content

🌐 4. What is Serverless?

Serverless is a modern cloud computing paradigm where developers focus on writing code without worrying about server management, provisioning, or scaling. AWS automatically provisions and scales the resources as needed.

FeatureDescription
No Server ManagementDevelopers don't manage or provision servers.
Automatic ScalingAWS scales resources automatically based on demand.
Pay per ExecutionYou only pay when your code runs.
Event-DrivenCode runs in response to events or triggers.
StatelessEach function invocation is independent.

🧠 Concept Overview​

  • Developers deploy code or functions, not servers.
  • Originally: Serverless = Function as a Service (FaaS) β€” pioneered by AWS Lambda.
  • Now: The term includes fully managed services like databases, messaging, and storage.
  • Note: There are still servers behind the scenes β€” you just don’t manage or see them.

🧩 Examples of Serverless Services​

ServiceTypeDescription
Amazon S3StorageUpload files without managing any server; scales automatically.
Amazon DynamoDBDatabaseCreate tables that auto-scale without provisioning servers.
AWS FargateContainersRun Docker containers without managing EC2 instances.
AWS LambdaComputeRun functions in response to events β€” the pioneer of Serverless.

πŸ’‘ Summary​

Serverless = Managed + Scalable + No Infrastructure Management

  • Developers focus on code, not servers.
  • Ideal for event-driven, stateless applications.
  • Introduced by AWS Lambda, now extended across multiple AWS services.