Roberta  Ward

Roberta Ward



This is an introductory video on CDK for Serverless applications. In this video, we build a simple serverless application using AWS Lambda, API Gateway, and DynamoDB using AWS CDK.
CDK github repo:
CDK Documentation:
CDK patterns:

#serverless #cdk

What is GEEK

Buddha Community


How I'm Learning AWS Serverless - Lambda, API Gateway, DynamoDB, etc | Live Stream

I’m gonna broadcast myself highlighting what are the challenges of learning AWS, How I started, What I could do better even now and many more…

The whole journey of making facemash:

Checkout the other videos of DevTalks:

0:00 - Pre Live Skip to Next timestamp
5:21 - Getting starting with AWS
6:55 - What is AWS and what it does?
10:25 - AWS free tier plan
11:50 - How much AWS can scale
14:15 - All the services in AWS
15:38 - My Journey of AWS and why I chose serverless model…
23:30 - Cons of Serverless world…
25:33 - Lets dive deep into serverless and its mindset

Music used:
“Sappheiros - Dawn” is under a Creative Commons license (CC BY 3.0) Music promoted by BreakingCopyright:

If you have any suggestions, Queries or any though just leave it in comment and I’ll be happy to get back to you
#AWS #serverless #HowToCode


#dynamodb #lambda #aws #api gateway #serverless

Ryan  Schneider

Ryan Schneider


Serverless Express – Easy APIs On AWS Lambda & AWS HTTP API

TLDR - Take existing Express.js apps and host them easily onto cheap, auto-scaling, serverless infrastructure on AWS Lambda and AWS HTTP API with Serverless Express. It’s packed loads of production-ready features, like custom domains, SSL certificates, canary deployments, and costs ~$0.000003 per request.

If you simply want to host a common Express.js Node.js application, have it auto-scale to billions of requests, and charge you only when it’s used, we have something special for you…

Announcing Serverless Express, a Serverless Framework offering enabling you to easily host and manage Express.js applications on AWS Lambda and the new AWS HTTP API, which is 60% faster and 71% cheaper than their initial API Gateway product.

Serverless Expess is a pure Express.js experience and it’s perfect for those that want to focus on apps, not infrastructure complexity.

Here are the highlights:

  • Easy, Safe, Performance - Includes the optimal infrastructure pattern for cost, performance & scale.
  • Never Pay For Idle - No API requests? No cost. Averages ~$0.000003 per request.
  • Zero Configuration - Add your Express app, then deploy (advanced config options are available).
  • Fast Deployments - Deploy changes to the cloud in seconds.
  • Real-time Logging - Rapidly develop on the cloud w/ real-time logs and errors in the CLI.
  • Canary Deployments - Deploy your app gradually to a subset of your traffic.
  • Custom Domain + SSL - Auto-configure a custom domain w/ a free AWS ACM SSL certificate.
  • Team Collaboration - Collaborate with your teamates with shared state and outputs.

Here is how to get started and deliver a Serverless Express.js based API with a custom domain, free SSL certificate and much more! You can also check out our Serverless Fullstack Application boilerplate, which includes Serverless Express in a real-world example that features a database, website using React and more.


Serverless Express is a Serverless Framework Component (i.e premium experiences for popular serverless use-cases) and you’ll need to install Node.js and the Serverless Framework CLI to use it.

Install Node.js here.

Then run this command to install Serverless Framework.

npm i -g serverless

Next, install the Serverless Express template:

serverless create --template-url

Lastly, Serverless Express deploys onto your own Amazon Web Services account, so you’ll need Access Keys to an AWS account you own. Follow this guide to create those.

After you have created AWS Access Keys you can add them directly to an .env file, or reference an AWS Profile in a .env file, within the root of the template you installed.


You can also reference an AWS Profile in a .env file like this.


If you don’t include a .env file, the Serverless Framework will automatically look for a default AWS Profile in the root folder of your machine.

Also, Serverless Framework has a built-in stages concept. If you change the stage it will deploy a totally separate copy of your serverless application.

# serverless.yml
component: express@1.0.8
  name: express-api
  stage: prod

Even better, you can use different .env files for each stage by simply using this convention:

.env # all stages # "dev" stage # "prod" stage

One last—often overlooked—step is to install the Express.js dependency, by running npm i in the template.

#serverless #apis #aws #aws lambda #aws http api

Setup a Local Development for Serverless Apps on AWS | Lambda, API Gateway, and DynamoDB

Today we’ll be showing how you can set up a local development environment for serverless applications on AWS. We’ll be setting up a local version of AWS Lambda, API Gateway, and DynamoDB using Serverless Offline and Serverless DynamoDB Local.

00:00 - Intro
00:34 - Installing dependencies
2:05 - Configuring the local environment
8:26 - Running the local environment
10:52 - Testing the local environment

Other related tutorials:
Deploying to AWS Lambda w/ the Serverless Framework & GitHub Actions (CI/CD):

Serverless Offline:
Serverless DynamoDB Local:

Found this video helpful? Feel free to support this channel here:

#dynamodb #lambda #aws #api gateway

Anissa  Barrows

Anissa Barrows


AWS API Gateway + Lambda /w TypeScript

AWS API Gateway + Lambda /w TypeScript

#aws api #api gateway #api #aws #typescript #lambda

Build a Serverless API with AWS Gateway and Lambda

APIs are a crucial part of any web application and there are different techniques for development and design. Serverless is one approach gaining popularity, because of its cost-efficiency, scalability and relative simplicity. As a leading serverless provider, Amazon Web Services (AWS) has made a huge contribution to the world of serverless development, and in this article, we will explain general API implementation concepts using AWS Lambda and other AWS services.

Why AWS Lambda?

AWS Lambda is an AWS service that is responsible for running particular functions in response to particular triggers — events happening in the application. Those triggers could be HTTP calls; events from other AWS services like S3, Kinesis, or SNS; or just recurrent scheduled events. Functions are executed in some type of ephemeral containers, which are fully provisioned and scaled by AWS, so the development team can focus more on the code and functionality than on infrastructure.

Another attractive feature is the pay-as-you-go payment model, where you are charged only for the total execution time of your functions and do not pay for idle time. Of course, like any other service, Lambda has limits and is sometimes not suitable for certain tasks — such as very long-running jobs, heavy computing jobs, or processes that require control over the execution environment. However, AWS Lambda usually works perfectly for implementing APIs.

The Role of API Gateway

AWS API Gateway is a service allowing developers to create and manage HTTP endpoints, map them to particular AWS resources, and configure custom domains, authorizing mechanisms, caching and other features. API Gateway is the fundamental part of serverless API, because it is responsible for the connection between a defined API and the function handling requests to that API.


As mentioned, API Gateway includes a lot of functionality and integrations. At some point, though, Amazon realized that serverless developers usually do not require all of those features, but instead need a general simplification of the implementation process. That is probably why in late 2019, AWS announced the new HTTP APIs, a lite version of API Gateway, which dramatically simplifies the developer experience and provides better performance and lower costs for serverless APIs. Although it is simple, HTTP APIs still support such important features as configuring CORS for all endpoints, JWT integration, custom domains and VPC connections.

Understanding Serverless API Concepts

In order to easily understand the main concepts of serverless API implementation, we’ll build a very minimalistic example of a simple “virtual whiteboard” application, consisting of two simple endpoints: POST for writing messages on a whiteboard, and GET for fetching the three most recent messages. We will also consider other possible features — like path parameters, CORS, and authorizers — but we’ll keep the final implementation simple and clear to read.

AWS DynamoDB

We will make our project completely serverless, by using AWS DynamoDB for storing messages. This database corresponds to serverless principles, is easy to use, and offers a pay-per-request model that is really cost-effective. DynamoDB is a NoSQL key-value database offered by AWS, where your data is stored across AWS servers and fully managed by Amazon.

AWS Serverless Application Model

In order to continue further implementation, you’ll need an AWS account and AWS Serverless Application Model (SAM) installed and configured. SAM is a tool for creating, updating, and managing serverless applications and all the resources needed for the application to operate. With AWS SAM, you don’t need to create every single service manually via web console, but just to describe all the things needed in the special template file.

After you’ve installed the CLI, navigate to the directory you are going to work in and run this command:

$ sam init -r nodejs12.x -n whiteboard

Initializing new project

Select the first option, then select “Quick Start from Scratch.” This will create a “whiteboard” directory with a minimum of setup files inside.

#api management #aws #api #lambda #aws gateway #amazon web services