Posts under guides & tutorials

guides & tutorials - 27.12.20

Container Image Support for AWS Lambda

Container Image Support for AWS Lambda has now been added. Read up on why you may (or may not) want to use it and how easy it is to use with the framework

written by Gareth McCumskey

guides & tutorials - 06.07.20

Serverless is the ultimate place to experiment

If all you want to do is play around and try stuff without worrying bills and costs, serverless is the place for you!

written by Gareth McCumskey

guides & tutorials - 03.06.20

Serverless Azure Functions V2 - Linux, Python & .NET Core Support

Introducing the v2 release of the Serverless Azure Functions plugin, which includes support for Linux, Python & .NET Core Function Apps.

written by Tanner Barlow

guides & tutorialsnews - 13.03.20

The Official Guide to AWS HTTP APIs

There's a lot to learn about the new AWS HTTP APIs and the Serverless Framework so let's bring it all together in one place.

written by Fernando Medina Corey

guides & tutorialsnews - 10.03.20

AWS Lambda Destination Support

The Serverless Framework now supports the recently released Lambda Event Destinations.

written by Fernando Medina Corey

guides & tutorials - 06.03.20

CI/CD for monorepos

How do we deploy services all collected under a single monorepo in git?

written by Gareth McCumskey

guides & tutorials - 27.02.20

Serverless Auth with AWS HTTP APIs

Learn how to create an AWS HTTP API and set it up with a Cognito Authorizer.

written by Fernando Medina Corey

guides & tutorials - 17.02.20

Managing Stages and Environments

Being able to manage multiple different stages of deployment within different environments is essential, and Serverless Framework Pro shows you how

written by Gareth McCumskey

guides & tutorials - 11.02.20

Promotion Pipelines

Find out what deployment strategies Serverless Framework Pro's CI/CD feature gives us for managing deployments as a team

written by Gareth McCumskey

guides & tutorials - 10.02.20

A Guide to Preview Deployments with Serverless CI/CD

A closer look at working with Preview Deployments in the Serverless CI/CD solution.

written by Fernando Medina Corey

guides & tutorials - 24.01.20

Deploying Your First Knative Service with the Serverless Framework

Learn how to use the Serverless Framework to deploy your first Knative service on a Kubernetes cluster running in Google Cloud.

written by Fernando Medina Corey

operations & observabilityguides & tutorials - 24.01.20

How to Troubleshoot Serverless API’s

Find out how we go about debugging and troubleshooting our Serverless APIs with Serverless Framework Pro

written by Gareth McCumskey

guides & tutorials - 07.11.19

Migrating Monitoring from IOpipe to Serverless Framework Pro

Learn how to migrate your serverless application monitoring to Serverless Framework Pro from IOpipe.

written by Fernando Medina Corey

guides & tutorials - 05.11.19

Structuring a Real-World Serverless App

In this post we'll be looking at how to structure a real-world Serverless Framework application.

written by Frank Wang

guides & tutorials - 31.10.19

Running cron jobs in the cloud - Amazon EC2 vs AWS Lambda

In this article, we compare Amazon EC2 and AWS Lambda for running cron jobs in AWS and offer guidance for when to choose which of the two.

written by Gareth McCumskey

newsguides & tutorials - 29.10.19

AWS Lambda Performance Optimization & Monitoring with Tracing & Spans (Serverless Framework Pro)

To troubleshoot the performance of an AWS Lambda function, we need the transaction time of each dependency. Come see how we do that with Serverless Framework Pro

written by Maciej Skierkowski

guides & tutorials - 23.10.19

Creating, monitoring, and testing cron jobs on AWS

In this article we walk you through how to create a cron job on AWS using AWS Lambda and Serverless Framework and how to get the right alerts and security measures in place.

written by Gareth McCumskey

guides & tutorials - 14.10.19

Serverless Deployment Best Practices

Learn some of the best practices when it comes to deploying serverless applications.

written by Fernando Medina Corey

guides & tutorials - 10.10.19

How to Create a REST API with Azure Functions and the Serverless Framework - Part 2

Learn how to add API Management, Webpack and CI/CD to your Azure Functions REST API

written by Tanner Barlow

guides & tutorials - 17.09.19

How to Create a REST API with Azure Functions and the Serverless Framework - Part 1

Learn how to create, run and deploy a simple REST API to Azure Functions with the Serverless Framework

written by Tanner Barlow

guides & tutorialsnews - 16.09.19

Lambda@Edge support now available

Using Lambda@Edge is a great way to speed up your application. And the Serverless Framework now has support for it.

written by Philipp Müns

guides & tutorialsnews - 11.09.19

How to use Serverless and Twilio to automate your communication channels

We’re happy to announce that you can now deploy Twilio Functions using the Serverless Framework. Here's how!

written by Stefan Judis

guides & tutorialsnews - 27.08.19

Setup monitoring for existing Serverless projects in 2 minutes

Learn how to setup monitoring for your existing existing Serverless projects in 2 minutes.

written by Daniel Schep

guides & tutorials - 21.08.19

Easily Deploy A Serverless CDN With Serverless Components

How to easily deploy a serverless content delivery network (CDN) using Serverless Components.

written by Eslam Hefnawy

guides & tutorials - 15.08.19

Tracking API Gateway metrics in Serverless applications

Monitoring web APIs in Serverless applications can be difficult. See how to do it with the Serverless Framework.

written by Alex DeBrie

guides & tutorials - 07.08.19

10 Tips for Creating Robust Serverless Components

A practical guide for creating robust, safe and fast serverless components.

written by Eslam Hefnawy

guides & tutorials - 02.08.19

Secrets Management for AWS Powered Serverless Applications

Storing application secrets in serverless applications is a hot topic that provokes many (often contradictory) opinions on how to manage them right.

written by Gareth McCumskey

guides & tutorials - 08.07.19

Dynamic image resizing with Ruby and Serverless framework

In this article we will provide an example of how to dynamically resize images with Ruby and the Serverless framework.

written by Bryan Killian

guides & tutorials - 02.07.19

How to Create a Serverless GraphQL API for MySQL, Postgres and Aurora

Learn how you can build a serverless GraphQL API for MySQL, Postgres and Aurora DB.

written by Gareth McCumskey

guides & tutorials - 27.06.19

Dynamic image resizing with Python and Serverless framework

In this article we will provide an example of how to dynamically resize images with Python and the Serverless framework.

written by Bryan Killian

guides & tutorials - 25.06.19

Serverless Microservices in a Team

How do we build Serverless microservices as a team?

written by Gareth McCumskey

guides & tutorials - 20.06.19

Choosing a Database for Serverless Applications

Learn the factors to consider when choosing a database with Serverless applications and AWS Lambda

written by Alex DeBrie

guides & tutorials - 30.05.19

Serverless Local Development

We're building serverless applications as collections of serverless microservices dependant on cloud infrastructure. So how do we develop locally?

written by Gareth McCumskey

guides & tutorials - 29.05.19

Deploy a scalable API and Backend with Serverless, Express, and Node.js

Learn how to structure a microservice application in multiple serverless.yml files for infinite scalability.

written by Bryan Killian

guides & tutorials - 20.05.19

Using the Serverless framework to deploy hybrid serverless/cluster workflows

We’ll cover how to use Serverless Framework, AWS Lambda, AWS Step Functions, AWS Fargate and AWS Batch to deploy hybrid serverless/cluster workflows.

written by Rustem Feyzkhanov

guides & tutorials - 14.05.19

Uploading objects to S3 using one-time pre signed URLs

Learn how to use Lambda@Edge to verify that S3 presigned URLs are only used once.

written by Eetu Tuomala

guides & tutorials - 14.03.19

Dynamic image resizing with Node.js and the Serverless Framework

Learn how to create an API that allows you to resize images dynamically using AWS, S3, Lambda & Serverless Framework.

written by Nick Gottlieb

guides & tutorials - 14.01.19

The definitive guide to using Terraform with the Serverless Framework

Wondering when to use Terraform and/or the Serverless Framework for your infrastructure as code? We've got answers.

written by Sebastian Borza

guides & tutorialsnews - 21.12.18

Using API Gateway WebSockets with the Serverless Framework

We built a plugin to let you use API Gateway WebSockets with the Serverless Framework, even in advance of CloudFormation support! Try it out.

written by Jared Short

guides & tutorials - 06.12.18

DynamoDB On-Demand: When, why and how to use it in your serverless applications

DynamoDB On-Demand allows truly serverless billing for your applications. Learn how to use it here, and when you should or shouldn't go on-demand.

written by Alex DeBrie

guides & tutorialsuser stories - 05.12.18

A Serverless Twitter bot helps house Camp Fire victims

When the California Camp Fire displaced thousands of people from their homes, I built a simple serverless Twitter bot to help people get placed in temporary housing!

written by Eric Wyne

guides & tutorials - 04.12.18

Building an API with Ruby and the Serverless Framework

AWS Lambda now supports Ruby! Here's how you can get started and build an API with the Serverless Framework.

written by Jared Short

guides & tutorialsnews - 29.11.18

How to publish and use AWS Lambda Layers with the Serverless Framework

Learn about AWS's recently introduced Lambda Layers and how to publish and use them with Serverless Framework.

written by Daniel Schep

guides & tutorialsnews - 26.11.18

The re:Invent serverless virtual hackathon begins NOW

We’re closing out #NoServerNovember with a special-edition virtual hackathon for AWS re:Invent. Participate from anywhere, win cool prizes.

written by Thom Crowe

guides & tutorials - 19.11.18

Building a chat application using AWS AppSync and Serverless

Let's build a chat app using AWS AppSync and the Serverless Framework! Plus: info on data sources, metrics and logs, and authentication.

written by Alex DeBrie

guides & tutorials - 09.11.18

Introducing FONK: a serverless LAMP stack for K8S

How do you compare the top five FaaS on K8S runtimes? Write the same web app design pattern on all of them. Read more on FONK, a Serverless LAMP stack for K8S.

written by Pete Johnson

guides & tutorialsnews - 01.11.18

No Server November: Join the #noServerNovember challenge!

All November, we're posting a series of serverless challenges. Do the challenge, tweet it out, and you might get swag!

written by Andrea Passwater

guides & tutorials - 04.10.18

Common Node8 mistakes in Lambda

Here are some common mistakes people make when authoring Lambda functions with Node.js 8.10.

written by Yan Cui

newsguides & tutorials - 11.09.18

Use Cloudflare Workers + Serverless Framework to add reliability and uptime to your FaaS

Cloudflare Workers integrates with the Serverless Framework. Use Cloudflare Workers to add reliability and uptime to your existing FaaS!

written by Raees Iqbal

guides & tutorialsoperations & observability - 29.08.18

Things to consider before building a serverless data warehouse

Is it time for the rise of the serverless data warehouse? Read this post to find out, and for some serverless data warehousing pro-tips and considerations.

written by Ashan Fernando

guides & tutorials - 21.08.18

Strategies for implementing user authentication in serverless applications

Implementing user authentication in serverless applications: storing user info with sessions & JWT, token validity with Lambda Custom Authorizers, user management & more.

written by Jeremy Coffield

newsguides & tutorials - 16.08.18

Host your own CNCF CloudEvents compatible Event Gateway on Kubernetes, point to any FaaS

The Serverless Event Gateway quickstart for Kubernetes. Host your own private Event Gateway, point to any FaaS provider with CloudEvents.

written by Sebastian Borza

guides & tutorialsengineering culture - 15.08.18

How to streamline your serverless workflow with WebStorm

In this post, I’d like to share with you my serverless-specific IDE setup with WebStorm, and how it can massively accelerate your serverless workflow.

written by Eslam Hefnawy

guides & tutorials - 09.08.18

Deploy a REST API using Serverless, Django and Python

Use the Serverless Framework, Django, SQLite and Python to quickly deploy a REST API.

written by Efi Merdler-Kravitz

newsguides & tutorialsoperations & observability - 25.07.18

Google Cloud Functions goes GA: what it means for Serverless

Google Cloud Functions hits general availability. A big step forward for FaaS, vendor choice, and the serverless community.

written by Nick Gottlieb

guides & tutorials - 24.07.18

Using TensorFlow and the Serverless Framework for deep learning and image recognition

We’ll cover how to use TensorFlow, the Serverless Framework, AWS Lambda and API Gateway to deploy a simple deep learning model.

written by Rustem Feyzkhanov

guides & tutorials - 23.07.18

Efficient APIs with GraphQL and Serverless

When to use GraphQL, why it simplifies APIs, and how to do it Serverless-ly.

written by Jeremy Coffield

guides & tutorialsoperations & observability - 17.07.18

Unit testing for Node.js Serverless projects with Jest

Create unit tests for Node.js using the Serverless Framework, run tests on CI, and check off our list of serverless testing best practices.

written by Eslam Hefnawy

guides & tutorials - 12.07.18

Build and deploy a Serverless Node.js app powered by Cosmic JS

Get started with the Cosmic JS Serverless Starter app. Transform any Node.js app into an infinitely scalable Node.js Serverless app.

written by Tony Spiro

guides & tutorialsoperations & observability - 11.07.18

Using SQS with AWS Lambda and Serverless

Get started with Simple Queue Service (SQS) and Serverless, and learn some of the important configuration options.

written by Alex DeBrie

engineering cultureguides & tutorials - 20.06.18

On serverless, data lock-in and vendor choice

Vendor choice is the most important thing IT leaders could be thinking about today. And the path to achieving it is data portability.

written by Nick Gottlieb

guides & tutorials - 06.06.18

Build a Serverless GeoSearch GraphQL API using AWS AppSync & Elasticsearch

Learn how to build a GraphQL location search service similar to AirBnB's using a fully serverless stack on AWS.

written by Andrew Griffiths

guides & tutorials - 02.06.18

How to write your first Serverless Component

A step-by-step tutorial for writing your first Serverless Component, and then using it to build a serverless application.

written by Rupak Ganguly

guides & tutorials - 31.05.18

How to Create a Dynamic Site with Pre-built Serverless Components

A step-by-step tutorial that guides you through creating a dynamic website with pre-built Serverless Components.

written by Eslam Hefnawy

guides & tutorials - 14.05.18

Create a blog using pre-built Serverless Components and Hugo

Learn how to use pre-built Serverless Components and a static site generator like Hugo to create and deploy a blog site.

written by Rupak Ganguly

guides & tutorials - 07.05.18

How to create a REST API with pre-written Serverless Components

How to create a fully-fledged REST API application using pre-written components from the Serverless Components project.

written by Philipp Müns

newsguides & tutorialsoperations & observability - 02.05.18

Fn Project brings containerized, cloud-agnostic functions to a cloud near you

The Fn Project is an open source, container-native serverless platform that you can run anywhere—on any cloud or on-premise.

written by David Wells

operations & observabilityguides & tutorials - 27.04.18

Automating a CI workflow for a Python serverless app with CircleCI

An end-to-end look at continuous integration with Python, Serverless and CircleCI.

written by Rupak Ganguly

newsguides & tutorials - 25.04.18

What are Serverless Components, and how do I use them?

Serverless Components gives you a way to compose and share parts of a cloud application. Serverless development just got even easier.

written by Brian Neisler

guides & tutorialsoperations & observability - 18.04.18

How to manage canary deployments on Lambda via the Serverless Framework

Never again fear breaking your Serverless application due to integration issues.

written by David García

guides & tutorials - 16.04.18

How to create a REST API in Java using DynamoDB and Serverless

Build a serverless REST API service in Java, store the data in a DynamoDB table, and deploy it to AWS. All using the Serverless Framework.

written by Rupak Ganguly

guides & tutorials - 05.04.18

A DynamoDB-backed CRUDL example using Golang

What a veteran coder learned about Golang by building a working CRUDL serverless example.

written by Pete Johnson

newsguides & tutorials - 02.04.18

AWS Lambda Node.js 8 support: what it changes for serverless developers

AWS Lambda just moved to support Node.js 8.10. This is what serverless developers need to know.

written by David Wells

guides & tutorialsoperations & observabilityengineering culture - 21.03.18

When (and why) not to go serverless

The benefits, and the drawbacks, to serverless are real. When (and why) not to go serverless.

written by Andrea Passwater

guides & tutorialsengineering culture - 19.03.18

How to contribute to Serverless open source projects

Interested in contributing to Serverless open source projects? Here's how you can.

written by Andrea Passwater

guides & tutorialsoperations & observability - 07.03.18

Serverless Workarounds for CloudFormation's 200 Resource Limit

How you can troubleshoot, and avoid hitting, CloudFormation's 200 resource limit

written by Alex DeBrie

operations & observabilityguides & tutorials - 20.02.18

ETL job processing with Serverless, Lambda, and AWS Redshift

Build an ETL job service by fetching data from a public API endpoint and dumping it into an AWS Redshift database.

written by Rupak Ganguly

guides & tutorials - 14.02.18

Running a scalable & reliable GraphQL endpoint with Serverless

Learn how to create GraphQL endpoints using the Serverless Framework, Lambda, DynamoDB, RDS and a REST backend.

written by Siddharth Gupta

operations & observabilityguides & tutorials - 12.02.18

Fantastic Serverless security risks, and where to find them

A breakdown of the top serverless security risks, and steps you can take to secure your serverless applications.

written by Adnan Rahic

guides & tutorials - 06.02.18

Implement real-time updates using Lambda and Websockets via IoT

Need a serverless way to give your app updated data in real-time? Try this solution with Websockets and Lambda.

written by Turner Houghton

engineering cultureguides & tutorials - 05.02.18

Using the Serverless Dashboard plugin for Atom

Making it easier to manage serverless applications from within the Atom editor

written by Rupak Ganguly

guides & tutorialsoperations & observability - 30.01.18

Build a multi-region, multi-master application with Serverless and DynamoDB Global Tables

We're going to create a multi-region, multi-master, geo-routed application—all in about 30 minutes.

written by Alex DeBrie

guides & tutorialsengineering culture - 22.01.18

Where to start: the most popular Framework plugins

Take your Serverless development to the next level. Check out our most popular community plugins.

written by Andrea Passwater

guides & tutorials - 18.01.18

Serverless Framework example for Golang and Lambda

AWS Lambda Golang support is one of the most exciting announcements of 2018. Here's a quick template for using Go with the Serverless Framework!

written by Maciej Winnicki

guides & tutorialsoperations & observability - 16.01.18

Your CORS and API Gateway survival guide

Get the basics on Cross-Origin Resource Sharing (CORS) and how to avoid problems with your Serverless web APIs on Lambda.

written by Alex DeBrie

guides & tutorialsoperations & observability - 11.01.18

How to use AWS Fargate and Lambda for long-running processes in a Serverless app

We'll show you how to process a video file that extracts a thumbnail in Amazon ECS using Fargate and Lambda

written by Rupak Ganguly

guides & tutorials - 08.01.18

How To Manage Your Alexa Skills With Serverless

How to manage Alexa Skills and Lambda functions with Serverless Framework + Alexa Skills Plugin

written by Masashi Terui

guides & tutorials - 03.01.18

Build a Github webhook handler with Serverless & AWS Lambda

Deploy a Serverless service that posts notifications of Github stars in a Slack channel

written by Alex DeBrie

guides & tutorials - 18.12.17

How to build a static Serverless site with Netlify

How manages their static, serverless website with Netlify and the Serverless Framework.

written by David Wells

guides & tutorials - 14.12.17

Building & testing an Alexa skill with the Serverless Bespoken plugin

Building an Alexa skill is easier than you think! And it's even easier with the Serverless Framework and Bespoken plugin.

written by John Kelvie

operations & observabilityguides & tutorials - 07.12.17

Automating CI/CD workflow for serverless apps with CircleCI

There are big benefits to using serverless architectures in continuous integration & deployment (CI/CD) processes. We'll show you why, and how to do it.

written by Rupak Ganguly

operations & observabilityguides & tutorialsnews - 04.12.17

Serverless Aurora: What it means and why it's the future of data

Learn what Serverless Aurora is, what it means for serverless developers, and why we think it's the future of data. Solving the serverless data layer.

written by Alex DeBrie

guides & tutorials - 21.11.17

A Game of Throne: hacking a bathroom queue with Serverless and IoT

Miss our October Serverless SF Meetup? Here's the video! Learn how to hack a hectic bathroom queue serverless-ly with IoT sensors.

written by Andrea Passwater

guides & tutorialsoperations & observability - 20.11.17

Birth of the NearCloud: on CRDTs and Kuhiro

Miss our October Serverless SF Meetup? Here's the video! Learn all about CRDTs from the founder of Kuhiro, Russell Sullivan.

written by Andrea Passwater

guides & tutorials - 16.11.17

Build a Python REST API with Serverless, Lambda, and DynamoDB

Deploy a Serverless REST API in minutes using the popular Flask web framework

written by Alex DeBrie

guides & tutorialsoperations & observability - 14.11.17

The ABCs of IAM: Managing permissions with Serverless

Learn the basics of IAM permissions with your Serverless projects.

written by Alex DeBrie

guides & tutorialsoperations & observability - 13.11.17

CRDTs explained - supercharge your serverless with CRDTs at the Edge

How to supercharge your serverless with CRDTs at the edge. Your comprehensive CRDT explainer.

written by Russell Sullivan

guides & tutorialsoperations & observability - 07.11.17

Managing secrets, API keys and more with Serverless

Use Lambda environment variables and AWS Parameter Store to handle configuration in your Serverless projects

written by Alex DeBrie

guides & tutorialsoperations & observability - 02.11.17

How to Test Serverless Applications

Tips from the Serverless team - how we test serverless applications.

written by Eslam Hefnawy

guides & tutorials - 20.10.17

How to Make a Serverless GraphQL API using Lambda and DynamoDB

GraphQL and Serverless play so well together. Learn how to make your own GraphQL API using Lambda an DynamoDB.

written by Jeremy Coffield

guides & tutorialsoperations & observabilityengineering culture - 06.10.17

Serverless (FaaS) vs. Containers - when to pick which?

Docker, Kubernetes, Serverless? Let's discuss the respective ups and downs of containers and serverless.

written by Philipp Müns

guides & tutorials - 04.10.17

Deploy a REST API using Serverless, Express and Node.js

Learn how to use the popular Express.js framework to deploy a REST API with Serverless, DynamoDB and API Gateway.

written by Alex DeBrie

guides & tutorialsoperations & observability - 25.09.17

How to deploy multiple micro-services under one API domain with Serverless

Learn how to use the same domain name for multiple Serverless services with API Gateway base path mappings.

written by Alex DeBrie

guides & tutorials - 11.09.17

How to set up a custom domain name for Lambda & API Gateway with Serverless

Learn how to set up a custom domain name for AWS Lambda & API Gateway using the Serverless Framework to configure a clean domain name for your services.

written by Alex DeBrie

guides & tutorials - 04.08.17

How to Handle your Python packaging in Lambda with Serverless plugins

Handling Python dependencies in your Lambda functions can be a pain. Here's how I handle Python packaging with Serverless for dev/prod parity.

written by Alex DeBrie

guides & tutorialsuser stories - 19.06.17

Why we switched from docker to serverless

Why we decided to migrate our services running on docker containers to serverless stack using aws lambda functions and aws api gateway

written by Asanka Nissanka

guides & tutorialsoperations & observability - 05.06.17

DevOps Use Cases With Serverless Variables

Serverless Framework Engineer Eslam Hefnawy explores creative use cases for using Serverless Variables to optimize and automate operations.

written by Eslam Hefnawy

guides & tutorialsoperations & observability - 25.04.17

Keeping Functions Warm - How To Fix AWS Lambda Cold Start Issues

Learn how to prevent cold start in your Lambda functions with the Serverless WarmUp plugin.

written by Gonçalo Neves

guides & tutorials - 07.12.16

How to Create a Fast, Secure, and Scalable Open Source Blog with React + Markdown

How serverless used to create a fast, secure, and scalable open source blog powered by React & Markdown

written by David Wells

guides & tutorials - 30.11.16

How to build a serverless notification system on AWS

Guest author Diego Zanon writes about building a serverless notification system for browsers using the Serverless Framework and AWS IoT.

written by Diego Zanon

New to serverless?

To get started, pop open your terminal & run:

npm install serverless -g