Slide 1

Slide 1 text

“Journey Into AWS Serverless” Awedis Keofteian DevOps Engineer at Anghami AWS UG Leader /awedis

Slide 2

Slide 2 text

Agenda Introduction & Benefits of Serverless AWS Serverless Ecosystem Let’s Build Simple API Architecture Overview Security and Permissions Conclusion / Q&A

Slide 3

Slide 3 text

Introduction Don’t worry about managing infrastructure Reduce operations overhead Faster Time-to-Market Automatic Scaling Cost-Efficiency High Availability No Server Management

Slide 4

Slide 4 text

Introduction Faster Development Automatic Scaling Developers can focus solely on writing code, as the cloud provider takes care of infrastructure. Automatically handle the scaling of resources based on incoming traffic or event load. Cost Efficiency "pay-as-you-go" model, where you're billed only for the actual compute resources used.

Slide 5

Slide 5 text

Introduction High Availability Zero Server Management Serverless applications are distributed across multiple data centers, ensuring redundancy and high availability. No server management tasks like provisioning, configuration, and security updates.

Slide 6

Slide 6 text

AWS Serverless Ecosystem Cloud services designed to help you build, deploy, and manage applications without the need to manage infrastructure S3 API Gateway Lambda DynamoDB SNS Some of the services to build Full Stack App

Slide 7

Slide 7 text

AWS Serverless Ecosystem Lambda Simple Storage Service (S3) Execute code in response to various triggers, such as HTTP requests, changes AWS services, or custom events. Scalable storage service, stores static assets, user uploads, and other data used by your serverless applications. API Gateway You can create RESTful APIs and WebSocket APIs to connect applications, Lambda functions, or other AWS services.

Slide 8

Slide 8 text

AWS Serverless Ecosystem DynamoDB Simple Notification Service A fully managed NoSQL database service, DynamoDB is well- suited for serverless applications due to its automatic scaling. Amazon Simple Notification Service (Amazon SNS) is a managed service that provides message delivery from publishers to subscribers. Note: There are many other Serverless Services

Slide 9

Slide 9 text

Let’s Build Simple App Lambda (Code) API Gateway (HTTP, Endpoint) Create the AWS Lambda function (Author from Scratch) Choose "HTTP API“, In the "Routes" section, click "Add integration" and choose "Lambda function." Test (Curl, Browser) See the URL provided under the "Invoke URL" in the "Stage details" section.

Slide 10

Slide 10 text

Architecture Overview

Slide 11

Slide 11 text

Security and Permissions Principle of Least Privilege Secure Application Logic (Sensitive data) Encryption (KMS) IAM Roles IAM Policies Resource Policies Security Groups AWS Secrets Manager Network Security (Utilize VPC) Auditing and Monitoring

Slide 12

Slide 12 text

Thank you, Questions time Awedis Keofteian DevOps Engineer at Anghami AWS UG Leader /awedis