Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Journey to AWS Serverless

awedis
August 24, 2023

Journey to AWS Serverless

A nice introduction to AWS Serverless main service to build Full Stack application almost production ready.

awedis

August 24, 2023
Tweet

More Decks by awedis

Other Decks in Technology

Transcript

  1. Agenda Introduction & Benefits of Serverless AWS Serverless Ecosystem Let’s

    Build Simple API Architecture Overview Security and Permissions Conclusion / Q&A
  2. Introduction Don’t worry about managing infrastructure Reduce operations overhead Faster

    Time-to-Market Automatic Scaling Cost-Efficiency High Availability No Server Management
  3. 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.
  4. 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.
  5. 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
  6. 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.
  7. 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
  8. 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.
  9. 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