AWS Builder Center

Getting Started with Serverless Architecture on AWS: A Beginner's Guide

Learn the fundamental concepts of serverless computing on AWS and how to deploy your first event-driven microservice using AWS Lambda and API Gateway.

Cloud Computing and Devops Student

Getting Started with Serverless Architecture on AWS

Serverless computing allows you to build and run applications and services without thinking about servers. It eliminates infrastructure management tasks such as server or cluster provisioning, patching, operating system maintenance, and capacity provisioning.



Core Components

  • AWS Lambda: Run code in response to events without provisioning or managing servers.
  • Amazon API Gateway: A fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale.
  • Amazon DynamoDB: A fast and flexible NoSQL database service for single-digit millisecond performance at any scale.



Key Benefits of Going Serverless

  1. No Infrastructure Management: You do not need to provision or maintain any servers.
  1. Automatic Scaling: Applications scale automatically by scaling execution in response to each trigger.
  1. Pay for Value: Pay only for the compute time you consume—never pay for idle resources.
  1. Built-in Availability and Fault Tolerance: Built-in high availability and fault tolerance mean you don't need to architect for these capabilities.



Next Steps

To build your first serverless REST API, create an AWS Lambda function, set up an HTTP trigger using Amazon API Gateway, and store your application data in Amazon DynamoDB.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article