Serverless Design with AWS Lambda

8 Labs · 61 Credits · 5h 30m

Service Area Quest badge lambda

The labs in this quest will teach you how to integrate services with AWS Lambda functions, and how to create real-world applications without requiring launching and maintaining servers.

Introduction to AWS Lambda

This lab will give you the basic understanding of AWS Lambda. It will demonstrate the basic steps required to get started to create and deploy lambda function in an event driven environment.

For the lab to function as written, please DO NOT change the auto assigned region.

Icon  intro introductory 免费 30 Minutes

Introduction to Amazon API Gateway

In this lab, you will create a simple FAQ microservice. The microservice will return a JSON object containing a random question and answer pair using an API Gateway endpoint that invokes a Lambda function. Prerequisites: students should take the lab "Introduction to AWS Lambda" before taking this lab.

For the lab to function as written, please DO NOT change the auto assigned region.

Icon  intro introductory 免费 35 Minutes

Serverless Architectures using Amazon CloudWatch Events and Scheduled Events with AWS Lambda

This is a two part lab. In part one of the lab, you will learn how to use a Lambda function with CloudWatch events to monitor the creation of an EC2 instance, using a Lambda function you create manually. In part two of the lab, you will create a Lambda function from a blueprint to alert you to a CloudWatch alarm, with notification through an Amazon SNS topic. Prerequisites: To successfully complete this lab, you should be familiar with basic CloudWatch and SNS concepts. Node.js and Python programming are required, although full solution code is provided. You should have at a minimum taken the “Introduction to AWS Lambda” lab at qwiklabs.com.

Icon  fundamental fundamental 8 积分 35 Minutes

Using AWS Lambda with Amazon CloudWatch and SNS to Implement a Slack Chat Bot

In this lab you will build a chat bot for Slack, using a Lambda blueprint. Chat bots have the ability to interact with teams and users, respond to commands, and post notifications, giving all conversation participants visibility into team activities. You will build a bot that posts CloudWatch alarms to your Slack channel. Prerequisites: To successfully complete this lab, you should be familiar with AWS Lambda and Amazon CloudWatch through taking the introductory labs. You should have at a minimum taken the “Introduction to AWS Lambda” lab at qwiklabs.com. You will need to have or create an account with the online service Slack to complete this lab-- instructions are provided. Familiarity with Slack is helpful, though not required.

Icon  fundamental fundamental 8 积分 35 Minutes

Serverless Architectures with Amazon DynamoDB and Amazon Kinesis Streams with AWS Lambda

This is a two part lab. In part one of the lab, you will create a Lambda function from a blueprint, create an Amazon Kinesis Stream, then trigger the function with data from your stream and monitor the process with Amazon CloudWatch. In part two of the lab, you will learn the basics of event-driven programming using Amazon DynamoDB, its Streams feature, and AWS Lambda. You will walk through the process of building a real-world application using AWS Triggers, which combines DynamoDB Streams and Lambda. Prerequisites: To successfully complete this lab, you should be familiar with DynamoDB and Kinesis through taking those introductory labs. Node.js and Python programming are required, although full solution code is provided. You should have at a minimum taken the “Introduction to AWS Lambda” lab at qwiklabs.com.

Icon  advanced advanced 10 积分 35 Minutes

Serverless Architectures using Amazon S3 and Amazon SNS with AWS Lambda

In this lab, you will use AWS Lambda functions with Amazon SNS and Amazon S3. In part one of the lab, you will create a Lambda function from a blueprint and learn how to trigger the function when a notification is posted to SNS. In part two, you will learn how to create and deploy a Lambda function manually, then use that function to generate thumbnails of images you upload to an S3 bucket. To successfully complete this lab, you should be familiar with basic SNS and S3 concepts. Node.js and Python code is used, although full solution code is provided. You should have at a minimum taken the “Introduction to AWS Lambda” lab at qwiklabs.com.

Icon  advanced advanced 10 积分 35 Minutes

Build an AWS Lambda Function for an Alexa Skill (Amazon Echo)

In this lab, you will create an example Alexa skill. You will then use a blueprint to build an AWS Lambda Function to execute the skill. You will use both the AWS Console and the Amazon Developer Portal in this lab. You will test your function in the Lambda console by sending it JSON requests, and you will test your example skill in the Amazon Developer Portal. You do not need an Alexa device for this lab. The Developer Portal provides testing tools that work in a browser. Prerequisites: To successfully complete this lab, you should be familiar with AWS Lambda through taking the introductory lab. Python and JSON programming are required, although full solution code is provided. You will need to have/create a no-cost, no-credit-card-required account in the Amazon Developer Portal. Familiarity with the Amazon Developer Portal and the Alexa Skills Kit is helpful, though not required. You do not need an Alexa device for this lab.

Icon  advanced advanced 10 积分 35 Minutes

Serverless Access to RDS and ElastiCache Behind a Virtual Private Cloud (VPC) with AWS Lambda

In this lab, you will configure two Lambda functions to access Amazon ElastiCache and Amazon RDS in an Amazon VPC. Typically, resources inside Amazon VPC cannot be accessed over the public Internet. With VPC-specific configuration information, including VPC subnet IDs and security group IDs, you can enable your Lambda function to access resources inside your private VPC. Prerequisites: To successfully complete this lab, you should be familiar with basic VPC, ElastiCache and RDS concepts. Some knowledge of Python programming is required, although full solution code is provided. You should have at a minimum taken the “Introduction to AWS Lambda” lab at qwiklabs.com.

Icon  expert expert 15 积分 1 Hour 15 Minutes