Serverless on AWS

Build and run applications without thinking about servers

AWS offers technologies for running code, managing data, and integrating applications, all without managing servers. Serverless technologies feature automatic scaling, built-in high availability, and a pay-for-use billing model to increase agility and optimize costs. These technologies also eliminate infrastructure management tasks like capacity provisioning and patching, so you can focus on writing code that serves your customers. \n

Read the Serverless Quarterly Recap Blog Post","id":"collection-text-media#overview-1-prod-overview-serverless","heading":"Overview"},"metadata":{"tags":[{"id":"GLOBAL#pattern#overview","name":"Overview","namespaceId":"GLOBAL#pattern","description":"Overview","metadata":{}},{"id":"GLOBAL#tech-category#serverless","name":"Serverless","namespaceId":"GLOBAL#tech-category","description":"Serverless","metadata":{}}]}}]},"metadata":{"auth":{},"testAttributes":{}},"context":{"page":{"locale":null,"site":null,"pageUrl":"https://aws.amazon.com/serverless/","targetName":null,"pageSlotId":null,"organizationId":null,"availableLocales":null},"environment":{"stage":"prod","region":"us-east-1"},"sdkVersion":"1.0.115"},"refMap":{"manifest.js":"47864e0370","rt-text-media-collection.js":"07ca5af217","rt-text-media-collection.rtl.css":"6e99be202e","rt-text-media-collection.css":"a2f6e3274d","rt-text-media-collection.css.js":"364e78221d","rt-text-media-collection.rtl.css.js":"6e41cc5eeb"},"settings":{"templateMappings":{"hyperlinkText":"hyperlinkText","hyperlinkUrl":"hyperlinkUrl","heading":"heading","mediaAltText":"mediaAltText","mediaPosition":"mediaPosition","mediaUrl":"mediaUrl","subheader":"subheader","bodyContent":"bodyContent","videoOverlayTitle":"videoOverlayTitle","videoThumbnailUrl":"videoThumbnailUrl","videoPlayButtonText":"videoPlayButtonText","dark":"dark"}}}

Benefits of Serverless on AWS

Eliminate operational overhead so your teams can release quickly, get feedback, and iterate to get to market faster.
With a pay-for-value billing model, resource utilization is automatically optimized and you never pay for over-provisioning.
With technologies that automatically scale from zero to peak demands, you can adapt to customer needs faster than ever.
Serverless applications have built-in service integrations, so you can focus on building your application instead of configuring it.

Serverless services on AWS

Modern applications are built serverless-first, a strategy that prioritizes the adoption of serverless services, so you can increase agility throughout your application stack. We’ve developed serverless services for all three layers of your stack: compute, integration, and data stores. Consider getting started with these services:

","mediaPosition":"right","mediaAltText":"Build web applications"},"metadata":{"tags":[{"id":"GLOBAL#tech-category#serverless","name":"Serverless","namespaceId":"GLOBAL#tech-category","description":"Serverless","metadata":{}},{"id":"GLOBAL#pattern#use-cases","name":"Use Cases","namespaceId":"GLOBAL#pattern","description":"Use Cases","metadata":{}}]}},{"fields":{"tabLabel":"Data processing","mediaUrl":"https://d1.awsstatic.com/webteam/category-pages/Serverless/Arch-Diagrams_Serverless-Category-Page_DataProcessing.a2c124d60276c698d2b28714e97e7f8f6d8d706e.jpg","customSortOrder":"2","heading":"Process data at nearly any scale","id":"poc-text-media-tabs#tabs-2-prod-overview-aws-serverless","body":"
\n

Deliver notes from an interview in Markdown format to Amazon S3. Use S3 Events to trigger multiple processing flows - one to convert and persist Markdown files to HTML and another to detect and persist sentiment.

\n

Sample Code

\n
","mediaPosition":"right","mediaAltText":"Data processing"},"metadata":{"tags":[{"id":"GLOBAL#pattern#use-cases","name":"Use Cases","namespaceId":"GLOBAL#pattern","description":"Use Cases","metadata":{}},{"id":"GLOBAL#tech-category#serverless","name":"Serverless","namespaceId":"GLOBAL#tech-category","description":"Serverless","metadata":{}}]}},{"fields":{"tabLabel":"Batch processing","mediaUrl":"https://d1.awsstatic.com/webteam/category-pages/Serverless/Arch-Diagrams_Serverless-Category-Page_Batch.e351555604adee8ff3eff47b15ed606f4d1d18fd.jpg","customSortOrder":"3","heading":"Automate batch processing","id":"poc-text-media-tabs#tabs-3-prod-overview-aws-serverless","body":"

Schedule workflows on a recurring basis using an Amazon EventBridge rule. For example, you can generate the minimum, maximum, and average ratings for air quality measurements by orchestrating the Extract Transfer Load (ETL) workflow using AWS Step Functions and AWS Lambda.

\n

Sample Code

","mediaPosition":"right","mediaAltText":"Batch processing"},"metadata":{"tags":[{"id":"GLOBAL#tech-category#serverless","name":"Serverless","namespaceId":"GLOBAL#tech-category","description":"Serverless","metadata":{}},{"id":"GLOBAL#pattern#use-cases","name":"Use Cases","namespaceId":"GLOBAL#pattern","description":"Use Cases","metadata":{}}]}},{"fields":{"tabLabel":"Event ingestion","mediaUrl":"https://d1.awsstatic.com/webteam/category-pages/Serverless/Arch-Diagrams_Serverless-Category-Page_EDA.a3c49f5f8deb0d28fe15aa99def7135b6de40493.jpg","customSortOrder":"4","heading":"Index and store documents and images automatically","id":"poc-text-media-tabs#tabs-4-prod-overview-aws-serverless","body":"
\n

Use Amazon machine learning (ML) services like Amazon Comprehend and Amazon Rekognition to uncover information in unstructured data and send the results to Amazon OpenSearch (successor to Amazon Elasticsearch Service) for fast indexing. Patterns like this work well in ecommerce applications for tasks that support personalized customer experiences, such as clickstream analysis.

\n

Sample Code

\n
","mediaPosition":"right","mediaAltText":"Event ingestion"},"metadata":{"tags":[{"id":"GLOBAL#pattern#use-cases","name":"Use Cases","namespaceId":"GLOBAL#pattern","description":"Use Cases","metadata":{}},{"id":"GLOBAL#tech-category#serverless","name":"Serverless","namespaceId":"GLOBAL#tech-category","description":"Serverless","metadata":{}}]}}]},"metadata":{"auth":{},"pagination":{"empty":false,"present":true},"testAttributes":{}},"context":{"page":{"locale":null,"site":null,"pageUrl":"https://aws.amazon.com/serverless/","targetName":null,"pageSlotId":null,"organizationId":null,"availableLocales":null},"environment":{"stage":"prod","region":"us-east-1"},"sdkVersion":"1.0.115"},"refMap":{"manifest.js":"a5170d6503","rt-text-media-tabs.css":"4cae43e8a6","rt-text-media-tabs.css.js":"636ad15716","rt-text-media-tabs.rtl.css":"dded79a556","rt-text-media-tabs.js":"efaaae3209","rt-text-media-tabs.rtl.css.js":"f36518fdea"},"settings":{"templateMappings":{"heading":"heading","body":"body","hyperlinkText":"hyperlinkText","hyperlinkUrl":"hyperlinkUrl","mediaAltText":"mediaAltText","mediaUrl":"mediaUrl","mediaPosition":"mediaPosition","tabLabel":"tabLabel","patternHeading":"patternHeading","patternSubheading":"patternSubheading","patternTheme":"patternTheme"}}}

Use cases

Build web applications

Build a simple “to-do list” web app that enables a registered user to create, update, view, and delete items. An event-driven web application may use AWS Lambda and Amazon API Gateway for its business logic and Amazon DynamoDB as its database, and AWS Amplify Console to host all static content.

Sample Code

Build web applications

Process data at nearly any scale

Deliver notes from an interview in Markdown format to Amazon S3. Use S3 Events to trigger multiple processing flows - one to convert and persist Markdown files to HTML and another to detect and persist sentiment.

Sample Code

Data processing

Automate batch processing

Schedule workflows on a recurring basis using an Amazon EventBridge rule. For example, you can generate the minimum, maximum, and average ratings for air quality measurements by orchestrating the Extract Transfer Load (ETL) workflow using AWS Step Functions and AWS Lambda.

Sample Code

Batch processing

Index and store documents and images automatically

Use Amazon machine learning (ML) services like Amazon Comprehend and Amazon Rekognition to uncover information in unstructured data and send the results to Amazon OpenSearch (successor to Amazon Elasticsearch Service) for fast indexing. Patterns like this work well in ecommerce applications for tasks that support personalized customer experiences, such as clickstream analysis.

Sample Code

Event ingestion