Mastering Serverless on AWS—From Zero to Hero
Mastering Serverless on AWS—From Zero to Hero

CLOUD LABS

Mastering Serverless on AWS—From Zero to Hero

In this Cloud Lab, you’ll explore the serverless services offered by AWS and see them in action by transforming an application from a monolithic to a serverless microservices architecture.

13 Tasks

beginner

3hr

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

An understanding of serverless in AWS
Working knowledge of CRUD operations using Lambda functions
Hands-on experience invoking a Lambda function through the API Gateway
The ability to transform a monolithic application to microservices

Technologies
AWS logoAWS
API Gateway logoAPI Gateway
Lambda
S3
Aurora
Skills Covered
Using AWS Cloud Services
Cloud Lab Overview

Serverless computing allows developers to build and deploy services without setting up the computational infrastructure. To effectively utilize this computing model, developers break down their monolithic web applications into multiple microservices. Amazon Web Services offers a variety of such scalable and deployable services for microservices.

This Cloud Lab will introduce us to serverless microservices in AWS. You’ll first deploy a monolithic full stack web application on an EC2 instance. Moving on, you’ll break down a sample full stack web application into multiple microservices. To manage the database, you’ll explore serverless aurora and connect it to an EC2 instance. Next, you’ll create a Lambda function and connect it to the database to execute CRUD operations. Furthermore, you’ll learn about Lambda proxy integrations and route requests to Lambda functions through API gateways. Lastly, you’ll learn to deploy the application’s frontend on an S3 bucket and use the static website hosting feature of a bucket.

By the end of this Cloud Lab, you’ll be able to break down your own web application into serverless microservices. Also, you’ll develop an understanding of serverless computing and will be able to utilize it according to your requirements.

The following is the high-level architecture diagram of the final infrastructure that you’ll build in this Cloud Lab:

Architecture diagram
Architecture diagram

Cloud Lab Tasks
1.Introduction
Getting Started
What are Serverless Microservices?
2.Monolithic Web Application
Launch an EC2 instance
Deploy React Application
3.Towards a Serverless Application
Transform Monolithic to Serverless Microservices Architecture
4.Relational Database Service
Set up Aurora Serverless
5.Lambda Functions
Create a Layer
Lambda Functions for CRUD Operations
6.API Gateway
HTTP API
7.Simple Storage Service— Application Frontend
Upload Frontend on S3 Bucket
Access Bucket Through Static Website Hosting
8.Conclusion
Clean Up
Wrap Up
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Trusted by 1.4 million developers working at companies including

Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg
Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

Get access to Educative Cloud Labs

Course Footer Image
Course Footer Image