0% found this document useful (0 votes)
93 views1 page

Lambda Refarch Mobilebackend Arch Dig

This reference architecture shows a scalable and highly available mobile backend featuring microservices, storage, and APIs requiring zero administration. Mobile users access identity management and upload files to storage. Requests then go to API Gateway and serverless Lambda functions for data access, search, and notifications, utilizing services like DynamoDB, CloudSearch, and SNS. This allows mobile applications to scale dynamically based on unpredictable usage.

Uploaded by

niyazali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
93 views1 page

Lambda Refarch Mobilebackend Arch Dig

This reference architecture shows a scalable and highly available mobile backend featuring microservices, storage, and APIs requiring zero administration. Mobile users access identity management and upload files to storage. Requests then go to API Gateway and serverless Lambda functions for data access, search, and notifications, utilizing services like DynamoDB, CloudSearch, and SNS. This allows mobile applications to scale dynamically based on unpredictable usage.

Uploaded by

niyazali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

S

AWce
enes
r
e
f
Reectur o
it gnit
h
Co
Arc
on

z
ma

Am

AWS LAMBDA:
MOBILE BACKEND

With AWS Lambda, you can build applications that automatically


scale without provisioning or managing servers. Since many
mobile applications today have a limited budget for upfront
infrastructure, a cost-effective, event-driven mobile architecture
allows you to pay only for what you use.

Mobile application backend infrastructures require scalability,


elasticity, and low latency to support a dynamic user base. Unpredictable peak usage and a global footprint of mobile users requires
mobile backends to be fast and flexible.
The growing demand from mobile users means applications need
a rich set of mobile services that work together seamlessly without
sacrificing control and flexibility of the backend infrastructure.

This reference architecture shows an example of a highly available and scalable mobile backend featuring microservices,
storage, and API endpoints requiring zero administration.

S
on

az

Am

S3

Cl

az

ou

2
on

Cl

La
ou

mb

s
Filey
a
i
r
d
Meposito
Re

dF

mo Ama
DBzon

dS

ea Ama
rc zon
h

rch
a
e
S ine
Eng

daWS

romazon
nt
ent
t
n
Co ivery
Delwork
t
Ne

bdan 3
m
La co
Fun

AP

bile
o
M sers
U

System
Overview

Mobile users retrieve an identity from Amazon


Cognito, which offers mobile identity management and
data synchronization across mobile devices. Once a mobile
user has received an identity, the user is granted access to
other AWS services.
User-generated media files are stored in Amazon
Simple Storage Service (Amazon S3), a highly
available and durable storage service.

Mobile users can access their uploaded digital assets


stored in Amazon S3 through Amazon CloudFront, a
low latency, content delivery network.

IG

ush
P
e
bil aons
o
M c

No

bdan 4
m
La co
Fun

ate

wamazon
y

Am
SN
az
S on

a
Date
r
Sto

bdan 1
m
La co
Fun

bdan 2
m
a
L co
Fun

d
stratab
ea ase
m

nt
ro
F
d
lou
C
ay
n
w
o
e
t
az
Ga
I
Am
a
AP
n
bd
o
z
m
a
La
Am
S
B
oD
AW
m
na
y
h
nD
rc
a
o
az
Se
d
m
u
A
lo
C
NS
n
o
S
n
az
zo
a
Am
Am

Dy
na

NO

NO

TIF

NO

TIF

ICA
TIO
N

TIF

ICA
TIO
N

ICA
TIO
N

Co

gnAmaz
ito on

Mobile users send requests to Amazon API Gateway


to access application logic and dynamic data. API
Gateway acts as an entry point for mobile applications to
access functionality from code running on AWS Lambda.

Lambda Function 2 uses Amazon DynamoDB


Streams to retrieve changes made by users, creates a
searchable document, and inserts it into Amazon
CloudSearch.

Mobile applications require a highly scalable backend


infrastructure to support the variable usage created by
mobile users. AWS Lambda runs code in response to requests and automatically manages and scales the underlying
resources. Lambda Function 1 provides a synchronous endpoint for users to store and retrieve unstructured data from
Amazon DynamoDB.

Lambda Function 3 provides a synchronous interface


for users to search for data from CloudSearch.
CloudSearch manages and scales the search solution for the
mobile backend.
8 Lambda Function 4 provides an asynchronous endpoint for mobile users to communicate with each other
within a mobile application. The function formats each communicaton request and sends a push notification to specific
users with Amazon SNS.

You might also like