MEETUP#2 💬

Vos premiers pas sur le Cloud AWS

🇲🇦 The Moroccan AWS User Group 🇲🇦

serverless architecture overview

monolith

microservices

serverless

Just like wireless internet has wires somewhere

serverless architectures still have servers somewhere.

What serverlesse really means...

No servers to provision or manage

Scales with usage

Never pay for idle

Availability

fault tolerance build in

serverlesse landscape

AWS sHARED RESPONSABILITY MODEL

AWS Lambda : FUNCTION AS A SERVICE

This is how a Lambda Function Looks Like

exports.myHandler = function(event, context, callback) {   
    /** Your awesome code here**/
    callback(null, "some success message");
}

This is what a

Lambda support

Event sourcing that trigger Lambda

How much does it cost ?

$0.20 PER 1M REQUESTS THEREAFTER

$0.0000002 per request

+ Duration

Functions

are

STATELESS

USE CASE : REST API

User

dynamo DB

GET SPEAKERs BY ID

GET SPEAKERs list

API Gateway

S3

Common lambda use cases

Web applications

Mobile Backend

Data processing

Example: Image Thumbnail Creation

CHATBOTS

Example: Order flowers

ALEXA / IOT

DEMO 👨‍💻

QUIZ 🏆

Credits to win

Do you have any question ? 💬

THANK You

🇲🇦 The Moroccan AWS User Group 🇲🇦

Made with Slides.com