Write less (code) and build more with serverlessDhaval Nagar
Presented the Serverless Use case at the Charotar University of Science and Technology.
CHARUSAT has a very active AWS Student Community.
https://aws.amazon.com/blogs/training-and-certification/aws-academys-big-bet-on-higher-education/
How to deploy a production ready serverless application
Level: 300
To get the most out of the agility afforded by serverless, it is essential to build CI/CD pipelines that help teams iterate on code and quickly release features.
Serverless and distributed systems in production cannot be done any other way than with a good and efficient CI/CD pipeline.
In this talk, I demonstrate how you can use infrastructure-as-code (IaC) models to build effective CI/CD release workflows to manage serverless deployments on AWS, using tools like AWS CodeBuild, AWS CodePipeline, and AWS CodeDeploy.
Specifically, we focus on how to automate safer deployments that can be monitored and rolled back automatically.
I will do demos where I deploy Lambdas with Code* suite and show examples with complex systems.
This document discusses serverless frameworks on AWS like AWS Lambda, the Serverless framework, Gordon, and AWS Chalice. It provides an overview of each tool and code samples to define and deploy Lambda functions from the command line or within the frameworks. Various options are presented for developing, testing, and deploying serverless applications locally and to AWS.
Continuous Integration and Deployment (CI/CD) with AWS Code Services.
I Presented in Pune Cloud Engineers and Cloud Architect's Meetup.
https://www.meetup.com/Pune-Cloud-Engineers-and-Architects-AWS/events/247170863/
Developing and deploying serverless applications (February 2017)Julien SIMON
- The document discusses developments and tools for serverless applications on AWS Lambda. It begins with an overview of new Lambda features like environment variables and Step Functions for orchestrating Lambda functions.
- Several serverless frameworks are demonstrated, including the Serverless Framework, Gordon, and Chalice, which simplify developing and deploying Lambda functions and event sources.
- The AWS Serverless Application Model (SAM) is presented as a way to bundle Lambda functions, APIs, and events using CloudFormation for simplified deployment. Additional resources on Lambda are also listed.
Atlassian Connect on Serverless Platforms: Low Cost Add-OnsAtlassian
Join Atlassian developer Patrick Streule to learn about a Java- and JavaScript-based framework that makes it easy for developers to create and deploy serverless add-ons, thanks to platforms like AWS Lambdas and DynamoDB. He'll cover the overall architecture of serverless add-ons, then explain how to manage security, deployments, and integrations with various AWS services and other modern serverless providers.
Patrick Streule, Architect, Atlassian
Talk @ API Days Paris, 13/12/2016
Simplifying development and deployment of serverless applications with Open Source frameworks and tools: Serverless, Gordon, Chalice, etc.
React for Re-use: Creating UI Components with Confluence ConnectAtlassian
Using React to create reusable components for Confluence extension points saves time and allows for a richer user experience. Join Matt Jensen, an Atlassian developer for over 10 years, for a session on using React to modularise the UI layer of your Confluence add-on, then bringing it together to take advantage of the common components. Matt will demonstrate the benefits of React for UI elements like macros, pages, and dialogs.
Matthew Jensen, Development Team Lead, Atlassian
AWS CodeDeploy is a fully managed deployment service that automates software deployments to compute services such as Amazon EC2, AWS Lambda, and your on-premises servers.
AWS CodeDeploy makes it easier for you to rapidly release new features, helps you avoid downtime during application deployment, and handles the complexity of updating your applications.
This document summarizes serverless computing using AWS Lambda. It discusses how AWS Lambda allows developers to deploy code without managing infrastructure. Various frameworks are presented that simplify development and deployment of serverless applications using AWS Lambda, including the Serverless framework, Gordon, and the new AWS Serverless Application Model (SAM). Serverless architectures with AWS Lambda provide scalability and pay-per-use pricing for event-driven applications.
This document provides an overview of Ruby on Rails in 20 slides. It introduces Rails as a full-stack web framework, discusses its major components like Active Record, Action Controller, and Action Mailer. It also outlines an agenda to demonstrate building a sample Rails application from scratch.
Building cloud-tools-for-netflix-code mash2012Carl Quinn
Netflix moved to AWS to leverage its scale and features. They refactored monolithic Java apps into microservices and baked application machine images for faster deployment. They automated builds with Jenkins and deployed services using auto scaling groups, load balancers, and fast rollbacks for optimism. They invented concepts like Applications and Clusters to organize AWS resources for their needs.
This document discusses building a serverless data pipeline using AWS Lambda and other AWS managed services. It provides a 12 step process to create a serverless architecture that collects event data via API calls, stores it in DynamoDB, processes it with Lambda, sends it to Kinesis and Kinesis Firehose, and archives it in S3. This allows building scalable and cost-effective data pipelines and applications without having to manage any servers.
Introduction to Serverless Computing - OOP MunichBoaz Ziniman
erverless computing allows you to build and run applications without the need for provisioning or managing servers. With serverless computing, you can build web, mobile, and IoT backends; run stream processing or big data workloads; run chatbots, and more.
In this session, we will learn how to get started with Serverless computing using AWS Lambda, which lets you run code without provisioning or managing servers.
This document discusses serverless computing using AWS Lambda and API Gateway. It provides an overview of serverless concepts and benefits, describes AWS serverless services like Lambda and API Gateway, and how they can be used to build REST APIs and backend services for applications. The presentation includes definitions of serverless, examples of serverless platforms, advantages like scalability and cost effectiveness, and a demo of creating a REST API with Lambda and API Gateway.
The document discusses serverless architectures and focuses on Node.js, AWS Lambda, and the Serverless Framework. It provides an overview of serverless architectures and their advantages like pay-per-use and easy scaling. It also describes Node.js, AWS Lambda functions, and how the Serverless Framework can help manage serverless projects. Some disadvantages discussed are limitations on AWS Lambda functions and challenges with debugging serverless applications. The document concludes that serverless can be cost effective for event-driven workloads but may not be a good fit for all projects.
Microservices with AWS Lambda and the Serverless FrameworkRowell Belen
This document provides an introduction to serverless computing using AWS Lambda and the Serverless Framework. It defines serverless computing as a cloud computing model that allows building and running applications without managing servers. Key differences between Platform as a Service (PaaS) and serverless are discussed, with scaling being a major distinction. AWS Lambda is introduced as Amazon's serverless compute platform, and other serverless platforms from Microsoft, Google, and IBM are also mentioned. The Serverless Framework is defined as a toolkit for developing, deploying and managing serverless applications on AWS. Examples are provided of serverless application code and configuration using the Serverless Framework. Considerations for cloud-scale development and operations with serverless architectures are also discussed.
Going Serverless with AWS Lambda at ReportGardenJay Gandhi
This document discusses using AWS Lambda for serverless web scraping. It provides an example use case of scraping business directory websites to check for incorrect or missing business listings. Traditionally this would require writing separate code for each directory, but with serverless it can be done more flexibly. The benefits of the serverless approach include increased scalability, reduced costs since functions only run when needed, and easier integration with other AWS services. The document demonstrates setting up a serverless framework for asynchronous web scraping using AWS Lambda, SNS, and API Gateway.
¿Qué es eso del desarrollo sin servidores? ¿Qué lenguajes puedo utilizar? ¿Cómo hago cosas como autenticación, o guardar en base de datos, o enviar notificaciones? ¿Esto escala? A todas estas preguntas, y a alguna más, intentaré dar respuesta en esta sesión, donde haré una pequeña demo de montar una app muy sencilla y desplegarla en la nube sin preocuparnos de gestionar infraestructura. Charla realizada por primera vez para AlcarriaConf 2021
Rovshan Musayev presented on building a serverless self-service framework using AWS Lambda. He discussed how the need for automation led to creating a self-service model where teams can provision resources without asking. The framework uses AWS services like API Gateway, Lambda, SQS, and DynamoDB along with CI/CD tools. Testing is done through mocking and unit testing. Lessons learned include the importance of testing from the start and avoiding long living branches in source control.
Getting Started with AWS Lambda & Serverless CloudIan Massingham
This document provides an overview of serverless computing using AWS Lambda. It defines serverless computing as running code without servers by paying only for the compute time consumed. AWS Lambda allows triggering functions from events or APIs which makes it easy to build scalable back-ends, perform data processing, and integrate systems. Recent updates include support for Python, scheduled functions, VPC access, and versioning. The document demonstrates using Lambda for building serverless web apps and microservices.
Presentation of AWS Lambda, API Gateway, AppSync, Step Functions, and SAM.
Talk delivered at https://www.meetup.com/KWAN-SmallTalks/events/262636992/
AWS Serverless Computing Introduction: Introduces most important AWS Serverless Services that are very popular nowadays to build any cloud solutions based on AWS Framework.
The document provides an overview and best practices for building serverless applications with AWS Lambda. It defines serverless as applications that don't require managing servers. AWS Lambda is introduced as a serverless compute service that runs code in response to events. The document covers Lambda function code, event sources, and configuration. It then discusses best practices for serverless architectures, development, and sample architectures. Serverless allows focusing on business logic rather than server management and enables automatic scaling.
Marcia Villalba, an AWS Developer Advocate, gives a presentation on serverless architecture using AWS Lambda. She discusses how serverless allows developers to focus on business logic without managing infrastructure. Lambda runs code in response to events and scales automatically. The document then provides a simple example of building a "hello world" API using API Gateway, Lambda, and DynamoDB. Code is deployed via SAM and the API is tested with Postman. Finally, the backend is integrated into a website.
Stephen Liedig: Building Serverless Backends with AWS Lambda and API GatewaySteve Androulakis
Stephen Liedig (Amazon Web Services) is a Public Sector Solutions Architect at AWS working closely with local and state governments, educational institutions, and non-profit organisations across Australia and New Zealand to design, and deliver, highly secure, scalable, reliable and fault-tolerant architectures in the AWS Cloud while sharing best practices and current trends, with a specific focus on DevOps, messaging, and serverless technologies.
React for Re-use: Creating UI Components with Confluence ConnectAtlassian
Using React to create reusable components for Confluence extension points saves time and allows for a richer user experience. Join Matt Jensen, an Atlassian developer for over 10 years, for a session on using React to modularise the UI layer of your Confluence add-on, then bringing it together to take advantage of the common components. Matt will demonstrate the benefits of React for UI elements like macros, pages, and dialogs.
Matthew Jensen, Development Team Lead, Atlassian
AWS CodeDeploy is a fully managed deployment service that automates software deployments to compute services such as Amazon EC2, AWS Lambda, and your on-premises servers.
AWS CodeDeploy makes it easier for you to rapidly release new features, helps you avoid downtime during application deployment, and handles the complexity of updating your applications.
This document summarizes serverless computing using AWS Lambda. It discusses how AWS Lambda allows developers to deploy code without managing infrastructure. Various frameworks are presented that simplify development and deployment of serverless applications using AWS Lambda, including the Serverless framework, Gordon, and the new AWS Serverless Application Model (SAM). Serverless architectures with AWS Lambda provide scalability and pay-per-use pricing for event-driven applications.
This document provides an overview of Ruby on Rails in 20 slides. It introduces Rails as a full-stack web framework, discusses its major components like Active Record, Action Controller, and Action Mailer. It also outlines an agenda to demonstrate building a sample Rails application from scratch.
Building cloud-tools-for-netflix-code mash2012Carl Quinn
Netflix moved to AWS to leverage its scale and features. They refactored monolithic Java apps into microservices and baked application machine images for faster deployment. They automated builds with Jenkins and deployed services using auto scaling groups, load balancers, and fast rollbacks for optimism. They invented concepts like Applications and Clusters to organize AWS resources for their needs.
This document discusses building a serverless data pipeline using AWS Lambda and other AWS managed services. It provides a 12 step process to create a serverless architecture that collects event data via API calls, stores it in DynamoDB, processes it with Lambda, sends it to Kinesis and Kinesis Firehose, and archives it in S3. This allows building scalable and cost-effective data pipelines and applications without having to manage any servers.
Introduction to Serverless Computing - OOP MunichBoaz Ziniman
erverless computing allows you to build and run applications without the need for provisioning or managing servers. With serverless computing, you can build web, mobile, and IoT backends; run stream processing or big data workloads; run chatbots, and more.
In this session, we will learn how to get started with Serverless computing using AWS Lambda, which lets you run code without provisioning or managing servers.
This document discusses serverless computing using AWS Lambda and API Gateway. It provides an overview of serverless concepts and benefits, describes AWS serverless services like Lambda and API Gateway, and how they can be used to build REST APIs and backend services for applications. The presentation includes definitions of serverless, examples of serverless platforms, advantages like scalability and cost effectiveness, and a demo of creating a REST API with Lambda and API Gateway.
The document discusses serverless architectures and focuses on Node.js, AWS Lambda, and the Serverless Framework. It provides an overview of serverless architectures and their advantages like pay-per-use and easy scaling. It also describes Node.js, AWS Lambda functions, and how the Serverless Framework can help manage serverless projects. Some disadvantages discussed are limitations on AWS Lambda functions and challenges with debugging serverless applications. The document concludes that serverless can be cost effective for event-driven workloads but may not be a good fit for all projects.
Microservices with AWS Lambda and the Serverless FrameworkRowell Belen
This document provides an introduction to serverless computing using AWS Lambda and the Serverless Framework. It defines serverless computing as a cloud computing model that allows building and running applications without managing servers. Key differences between Platform as a Service (PaaS) and serverless are discussed, with scaling being a major distinction. AWS Lambda is introduced as Amazon's serverless compute platform, and other serverless platforms from Microsoft, Google, and IBM are also mentioned. The Serverless Framework is defined as a toolkit for developing, deploying and managing serverless applications on AWS. Examples are provided of serverless application code and configuration using the Serverless Framework. Considerations for cloud-scale development and operations with serverless architectures are also discussed.
Going Serverless with AWS Lambda at ReportGardenJay Gandhi
This document discusses using AWS Lambda for serverless web scraping. It provides an example use case of scraping business directory websites to check for incorrect or missing business listings. Traditionally this would require writing separate code for each directory, but with serverless it can be done more flexibly. The benefits of the serverless approach include increased scalability, reduced costs since functions only run when needed, and easier integration with other AWS services. The document demonstrates setting up a serverless framework for asynchronous web scraping using AWS Lambda, SNS, and API Gateway.
¿Qué es eso del desarrollo sin servidores? ¿Qué lenguajes puedo utilizar? ¿Cómo hago cosas como autenticación, o guardar en base de datos, o enviar notificaciones? ¿Esto escala? A todas estas preguntas, y a alguna más, intentaré dar respuesta en esta sesión, donde haré una pequeña demo de montar una app muy sencilla y desplegarla en la nube sin preocuparnos de gestionar infraestructura. Charla realizada por primera vez para AlcarriaConf 2021
Rovshan Musayev presented on building a serverless self-service framework using AWS Lambda. He discussed how the need for automation led to creating a self-service model where teams can provision resources without asking. The framework uses AWS services like API Gateway, Lambda, SQS, and DynamoDB along with CI/CD tools. Testing is done through mocking and unit testing. Lessons learned include the importance of testing from the start and avoiding long living branches in source control.
Getting Started with AWS Lambda & Serverless CloudIan Massingham
This document provides an overview of serverless computing using AWS Lambda. It defines serverless computing as running code without servers by paying only for the compute time consumed. AWS Lambda allows triggering functions from events or APIs which makes it easy to build scalable back-ends, perform data processing, and integrate systems. Recent updates include support for Python, scheduled functions, VPC access, and versioning. The document demonstrates using Lambda for building serverless web apps and microservices.
Presentation of AWS Lambda, API Gateway, AppSync, Step Functions, and SAM.
Talk delivered at https://www.meetup.com/KWAN-SmallTalks/events/262636992/
AWS Serverless Computing Introduction: Introduces most important AWS Serverless Services that are very popular nowadays to build any cloud solutions based on AWS Framework.
The document provides an overview and best practices for building serverless applications with AWS Lambda. It defines serverless as applications that don't require managing servers. AWS Lambda is introduced as a serverless compute service that runs code in response to events. The document covers Lambda function code, event sources, and configuration. It then discusses best practices for serverless architectures, development, and sample architectures. Serverless allows focusing on business logic rather than server management and enables automatic scaling.
Marcia Villalba, an AWS Developer Advocate, gives a presentation on serverless architecture using AWS Lambda. She discusses how serverless allows developers to focus on business logic without managing infrastructure. Lambda runs code in response to events and scales automatically. The document then provides a simple example of building a "hello world" API using API Gateway, Lambda, and DynamoDB. Code is deployed via SAM and the API is tested with Postman. Finally, the backend is integrated into a website.
Stephen Liedig: Building Serverless Backends with AWS Lambda and API GatewaySteve Androulakis
Stephen Liedig (Amazon Web Services) is a Public Sector Solutions Architect at AWS working closely with local and state governments, educational institutions, and non-profit organisations across Australia and New Zealand to design, and deliver, highly secure, scalable, reliable and fault-tolerant architectures in the AWS Cloud while sharing best practices and current trends, with a specific focus on DevOps, messaging, and serverless technologies.
20200520 - Como empezar a desarrollar aplicaciones serverless Marcia Villalba
Marcia Villalba discusses how to start developing serverless applications. She explains key concepts of serverless including focusing on business logic rather than infrastructure, automatic scaling, and paying for only what is used. Villalba demonstrates a simple serverless application using API Gateway, AWS Lambda, and DynamoDB. She also discusses the AWS Amplify framework for building fullstack serverless web and mobile apps using managed AWS services.
Better Builder Magazine brings together premium product manufactures and leading builders to create better differentiated homes and buildings that use less energy, save water and reduce our impact on the environment. The magazine is published four times a year.
Filters for Electromagnetic Compatibility ApplicationsMathias Magdowski
In this lecture, I explain the fundamentals of electromagnetic compatibility (EMC), the basic coupling model and coupling paths via cables, electric fields, magnetic fields and wave fields. We also look at electric vehicles as an example of systems with many conducted EMC problems due to power electronic devices such as rectifiers and inverters with non-linear components such as diodes and fast switching components such as MOSFETs or IGBTs. After a brief review of circuit analysis fundamentals and an experimental investigation of the frequency-dependent impedance of resistors, capacitors and inductors, we look at a simple low-pass filter. The input impedance from both sides as well as the transfer function are measured.
This presentation provides a detailed overview of air filter testing equipment, including its types, working principles, and industrial applications. Learn about key performance indicators such as filtration efficiency, pressure drop, and particulate holding capacity. The slides highlight standard testing methods (e.g., ISO 16890, EN 1822, ASHRAE 52.2), equipment configurations (such as aerosol generators, particle counters, and test ducts), and the role of automation and data logging in modern systems. Ideal for engineers, quality assurance professionals, and researchers involved in HVAC, automotive, cleanroom, or industrial filtration systems.
Main Menu The metals-black-book-ferrous-metalsRicardo Akerman
Guia técnico e de referência amplamente utilizado nas indústrias metalúrgica, de manufatura, engenharia, petróleo e gás, construção naval, e diversas áreas de manutenção industrial.
Department of Environment (DOE) Mix Design with Fly Ash.MdManikurRahman
Concrete Mix Design with Fly Ash by DOE Method. The Department of Environmental (DOE) approach to fly ash-based concrete mix design is covered in this study.
The Department of Environment (DOE) method of mix design is a British method originally developed in the UK in the 1970s. It is widely used for concrete mix design, including mixes that incorporate supplementary cementitious materials (SCMs) such as fly ash.
When using fly ash in concrete, the DOE method can be adapted to account for its properties and effects on workability, strength, and durability. Here's a step-by-step overview of how the DOE method is applied with fly ash.
DIY Gesture Control ESP32 LiteWing Drone using PythonCircuitDigest
Build a gesture-controlled LiteWing drone using ESP32 and MPU6050. This presentation explains components, circuit diagram, assembly steps, and working process.
Read more : https://circuitdigest.com/microcontroller-projects/diy-gesture-controlled-drone-using-esp32-and-python-with-litewing
Ideal for DIY drone projects, robotics enthusiasts, and embedded systems learners. Explore how to create a low-cost, ESP32 drone with real-time wireless gesture control.
MODULE 5 BUILDING PLANNING AND DESIGN SY BTECH ACOUSTICS SYSTEM IN BUILDINGDr. BASWESHWAR JIRWANKAR
: Introduction to Acoustics & Green Building -
Absorption of sound, various materials, Sabine’s formula, optimum reverberation time, conditions for good acoustics Sound insulation:
Acceptable noise levels, noise prevention at its source, transmission of noise, Noise control-general considerations
Green Building: Concept, Principles, Materials, Characteristics, Applications
ISO 4020-6.1 – Filter Cleanliness Test Rig: Precision Testing for Fuel Filter Integrity
Explore the design, functionality, and standards compliance of our advanced Filter Cleanliness Test Rig developed according to ISO 4020-6.1. This rig is engineered to evaluate fuel filter cleanliness levels with high accuracy and repeatability—critical for ensuring the performance and durability of fuel systems.
🔬 Inside This Presentation:
Overview of ISO 4020-6.1 testing protocols
Rig components and schematic layout
Test methodology and data acquisition
Applications in automotive and industrial filtration
Key benefits: accuracy, reliability, compliance
Perfect for R&D engineers, quality assurance teams, and lab technicians focused on filtration performance and standard compliance.
🛠️ Ensure Filter Cleanliness — Validate with Confidence.
2. sponsored by &
AGENDA
▸ Serverless Computing
▸ AWS Lambda & Lambda Functions
▸ From Monolith to Serverless
▸ Serverless Application Lifecycle
▸ Demo: ‘Thundra’ in Action on Serverless Architecture
3. sponsored by &
SERVERLESS COMPUTING
▸ What is Serverless/Serverless Compute?
▸ What does it present?
▸ Advantages of Serverless
▸ Disadvantages of Serverless
8. sponsored by &
SERVERLESS COMPUTING
WHAT IS SERVERLESS/SERVERLESS COMPUTE
OpsGenie uses EC2
EC2
DynamoDB, Lambda
9. sponsored by &
SERVERLESS COMPUTING
WHAT IS SERVERLESS/SERVERLESS COMPUTE
Leverages AWS Lambda
OpsGenie uses EC2
EC2
DynamoDB, Lambda
10. sponsored by &
“IF YOUR PAAS CAN EFFICIENTLY
START INSTANCES IN 20 MS THAT
RUN FOR HALF A SECOND, THEN
CALL IT SERVERLESS.”
Adrian Cockcroft, VP Cloud Architecture Strategy at AWS
SERVERLESS COMPUTING
11. sponsored by &
SERVERLESS COMPUTING
WHAT DOES IT PRESENT?
No server management
Flexible scaling
High availability
No idle capacity
12. sponsored by &
SERVERLESS COMPUTING
SERVERLESS ADVANTAGES
▸ Reduced Labor Cost
▸ Reduced Risk
▸ Reduced Resource Cost
▸ Increased Flexibility of Scaling
▸ Shorter Lead Time
13. sponsored by &
SERVERLESS COMPUTING
SERVERLESS DISADVANTAGES AND LIMITATIONS
▸ Cold Starts
▸ Lack of Tooling
▸ Local Testing/Debugging
▸ Loss of Control
▸ Immaturity of Services
14. sponsored by &
AWS LAMBDA & LAMBDA FUNCTIONS
▸ What is AWS Lambda?
▸ What is a Lambda Function?
▸ What does AWS Lambda offer?
▸ What are its capabilities?
▸ What will happen in the Future?
15. sponsored by &
AWS LAMBDA & LAMBDA FUNCTIONS
WHAT IS AWS LAMBDA?
AWS Lambda: Your new app server
Servers you manage VMs you manage
Your app code you manage
Containers AWS Lambda Manages
16. sponsored by &
AWS LAMBDA & LAMBDA FUNCTIONS
WHAT IS A LAMBDA FUNCTION?
Lambda Function: Your app code run by AWS Lambda
package example;
import com.amazonaws.services.lambda.runtime.Context;
import com.amazonaws.services.lambda.runtime.RequestHandler;
public class Hello implements RequestHandler<String, String>{
public String myHandler(String name, Context context) {
return "Hello, " + name;
}
}
17. sponsored by &
AWS LAMBDA & LAMBDA FUNCTIONS
WHAT DOES AWS LAMBDA OFFER?
No Servers to Manage
Continuous Scaling
Subsecond Metering
18. sponsored by &
AWS LAMBDA & LAMBDA FUNCTIONS
AWS LAMBDA INTEGRATIONS TO OTHER SERVICES
AWS Lambda Poll Stream
and call Lambda function
Sync calls to AWS Lambda
You can specify invocation type as
- Request Response
- Event
- DryRun
Async calls to AWS Lambda
19. sponsored by &
AWS LAMBDA & LAMBDA FUNCTIONS
▸ Integration with other services/triggered by events (S3, DynamoDB Streams, …)
▸ Request or Stream based implementations
▸ Built-in retry policy for Async invocations
▸ Built-in DLQ support for Async invocations
▸ Easy deployment and administration of functions
▸ Built-in scalable and high-available workloads
▸ Security with IAM Service
▸ Version & Alias Support
▸ Large file sizes for Java Environment
20. sponsored by &
AWS LAMBDA & LAMBDA FUNCTIONS
AWS LAMBDA CORE FUNCTIONALITIES
▸ Lambda Functions are ‘stateless’
▸ Lambda Functions must be ‘idempotent’
▸ Execution timeout
▸ Concurrent execution limit
▸ Perfect fit for async and operational tasks
▸ You need more tools and engineering for user-faced
backend because of cold starts of containers
21. sponsored by &
AWS LAMBDA & LAMBDA FUNCTIONS
WHAT WILL HAPPEN IN THE FUTURE? OUR EXPECTATIONS?
▸ New Integrations with services
▸ More tools from AWS and Community
▸ Improvements on cold start
▸ More control for initial configurations especially on JVM
▸ AWS Lambda Java 9 support
▸ Concurrent Execution Limit per Function
▸ Increased Execution Timeout
▸ CPU or Memory based pricing
▸ Request switching between function aliases
22. sponsored by &
FROM MONOLITH TO SERVERLESS
MONOLITH PROBLEMS
▸ Common code base
▸ New developer onboarding
▸ Rapidly growing engineering department
▸ Complicated release cycles
▸ Slower deployment
▸ Hard to diagnose problems
▸ Inefficient scalability
▸ Failure effects whole system
▸ Lack of ownership
23. sponsored by &
FROM MONOLITH TO SERVERLESS
APPLICATION ARCHITECTURE: THE FIRST STEPS
24. sponsored by &
FROM MONOLITH TO SERVERLESS
APPLICATION OPERATIONAL ARCHITECTURE
25. sponsored by &
FROM MONOLITH TO SERVERLESS
APPLICATION OPERATIONAL ARCHITECTURE
26. sponsored by &
FROM MONOLITH TO SERVERLESS
APPLICATION OPERATIONAL ARCHITECTURE
http://www.thundra.io/
27. sponsored by &
FROM MONOLITH TO SERVERLESS
APPLICATION OPERATIONAL ARCHITECTURE
http://www.thundra.io/
28. sponsored by &
FROM MONOLITH TO SERVERLESS
APPLICATION OPERATIONAL ARCHITECTURE
http://www.thundra.io/
https://github.com/opsgenie/sirocco
29. sponsored by &
FROM MONOLITH TO SERVERLESS
THUNDRA: FULL OBSERVABILITY FOR AWS LAMBDA
▸ INSTRUMENT
▸ PROFILE
▸ ZERO OVERHEAD
JVM based monitoring framework
with trace (has instrumentation
and profiling extensions), metric
and log supports
HTTP://WWW.THUNDRA.IO/
30. sponsored by &
FROM MONOLITH TO SERVERLESS
SIROCCO: AWS LAMBDA INFRASTRUCTURE
▸ Distributed/embedded monitoring (audit + stat + log)
▸ Instrumentation
▸ Profiling
▸ Control requests
▸ Warmup
▸ Discovery
▸ Error handling/retry mechanism over DLQ
Java based Lambda infrastructure developed
by OpsGenie as in-house framework
31. sponsored by &
FROM MONOLITH TO SERVERLESS
SIROCCO: AWS LAMBDA INFRASTRUCTURE
▸ Distributed/embedded monitoring (audit + stat + log)
▸ Instrumentation
▸ Profiling
▸ Control requests
▸ Warmup
▸ Discovery
▸ Error handling/retry mechanism over DLQ
Java based Lambda infrastructure developed
by OpsGenie as in-house framework
HTTPS://GITHUB.COM/OPSGENIE/SIROCCO
35. sponsored by &
FROM MONOLITH TO SERVERLESS
ARCHITECTURAL IMPROVEMENTS
Break the code to
expose them as
new services
36. sponsored by &
FROM MONOLITH TO SERVERLESS
ARCHITECTURAL IMPROVEMENTS
Design new async message passing
Break the code to
expose them as
new services
39. sponsored by &
SERVERLESS APPLICATION LIFECYCLE
DEVELOPMENT EXPERIENCE
Local Environment Remote Environment
40. sponsored by &
SERVERLESS APPLICATION LIFECYCLE
DEVELOPMENT EXPERIENCE
lambda.[region].amazonaws.comLocal Environment Remote Environment
41. sponsored by &
SERVERLESS APPLICATION LIFECYCLE
DEVELOPMENT EXPERIENCE
lambda.[region].amazonaws.com
localhost:8081
Local Environment Remote Environment
Route to the
related function
42. sponsored by &
SERVERLESS APPLICATION LIFECYCLE
DEVELOPMENT EXPERIENCE
lambda.[region].amazonaws.com
localhost:8081
Local Environment Remote Environment
Route to the
related function
dynamodb.[region].amazonaws.com
43. sponsored by &
SERVERLESS APPLICATION LIFECYCLE
DEVELOPMENT EXPERIENCE
lambda.[region].amazonaws.com
localhost:8081
Local Environment Remote Environment
Route to the
related function
localhost:3966
dynamodb.[region].amazonaws.com
44. sponsored by &
SERVERLESS APPLICATION LIFECYCLE
DEVELOPMENT EXPERIENCE
lambda.[region].amazonaws.com
localhost:8081
Local Environment Remote Environment
Route to the
related function
localhost:9110
localhost:3966
dynamodb.[region].amazonaws.com
45. sponsored by &
SERVERLESS APPLICATION LIFECYCLE
DEVELOPMENT EXPERIENCE
lambda.[region].amazonaws.com
localhost:8081
Local Environment Remote Environment
Route to the
related function
localhost:9110
endpoint given by ngrok
localhost:3966
dynamodb.[region].amazonaws.com
tunneled to the local
46. sponsored by &
“IT'S NOT DONE UNTIL IT SHIPS.”
Steve Jobs, Co-founder, Chairman, and CEO of Apple Inc.
SERVERLESS APPLICATION LIFECYCLE
48. sponsored by &
SERVERLESS APPLICATION LIFECYCLE
DEVELOPMENT TO DEPLOYMENT
1. Developer pushes changes to git repository
and create a merge request
49. sponsored by &
SERVERLESS APPLICATION LIFECYCLE
DEVELOPMENT TO DEPLOYMENT
1. Developer pushes changes to git repository
and create a merge request
2. GitLab triggers CI Flow
50. sponsored by &
SERVERLESS APPLICATION LIFECYCLE
DEVELOPMENT TO DEPLOYMENT
1. Developer pushes changes to git repository
and create a merge request
2. GitLab triggers CI Flow
3. Source code built and tests run.
If there is no problem,
git branch merged to master
51. sponsored by &
SERVERLESS APPLICATION LIFECYCLE
DEVELOPMENT TO DEPLOYMENT
1. Developer pushes changes to git repository
and create a merge request
2. GitLab triggers CI Flow
3. Source code built and tests run.
If there is no problem,
git branch merged to master
4. Built Lambda artifacts sent to an S3 bucket
and deployment configurations sent to another S3 bucket
52. sponsored by &
SERVERLESS APPLICATION LIFECYCLE
DEVELOPMENT TO DEPLOYMENT
1. Developer pushes changes to git repository
and create a merge request
2. GitLab triggers CI Flow
3. Source code built and tests run.
If there is no problem,
git branch merged to master
4. Built Lambda artifacts sent to an S3 bucket
and deployment configurations sent to another S3 bucket
5. Developer run a command
from slack to trigger deploy phase
53. sponsored by &
SERVERLESS APPLICATION LIFECYCLE
DEVELOPMENT TO DEPLOYMENT
1. Developer pushes changes to git repository
and create a merge request
2. GitLab triggers CI Flow
3. Source code built and tests run.
If there is no problem,
git branch merged to master
4. Built Lambda artifacts sent to an S3 bucket
and deployment configurations sent to another S3 bucket
5. Developer run a command
from slack to trigger deploy phase
6. Slack command run a script
on hotfix instance
54. sponsored by &
SERVERLESS APPLICATION LIFECYCLE
DEVELOPMENT TO DEPLOYMENT
1. Developer pushes changes to git repository
and create a merge request
2. GitLab triggers CI Flow
3. Source code built and tests run.
If there is no problem,
git branch merged to master
4. Built Lambda artifacts sent to an S3 bucket
and deployment configurations sent to another S3 bucket
5. Developer run a command
from slack to trigger deploy phase
6. Slack command run a script
on hotfix instance
7. Download
deployment configuration
55. sponsored by &
SERVERLESS APPLICATION LIFECYCLE
DEVELOPMENT TO DEPLOYMENT
1. Developer pushes changes to git repository
and create a merge request
2. GitLab triggers CI Flow
3. Source code built and tests run.
If there is no problem,
git branch merged to master
4. Built Lambda artifacts sent to an S3 bucket
and deployment configurations sent to another S3 bucket
5. Developer run a command
from slack to trigger deploy phase
6. Slack command run a script
on hotfix instance
7. Download
deployment configuration
8. Deploy lambda functions
with AWS SDK
56. sponsored by &
SERVERLESS APPLICATION LIFECYCLE
DEVELOPMENT TO DEPLOYMENT
1. Developer pushes changes to git repository
and create a merge request
2. GitLab triggers CI Flow
3. Source code built and tests run.
If there is no problem,
git branch merged to master
4. Built Lambda artifacts sent to an S3 bucket
and deployment configurations sent to another S3 bucket
5. Developer run a command
from slack to trigger deploy phase
6. Slack command run a script
on hotfix instance
7. Download
deployment configuration
8. Deploy lambda functions
with AWS SDK
9. AWS Lambda pull jar files
from S3 for lambda functions
64. sponsored by &
SERVERLESS APPLICATION LIFECYCLE
CUSTOMER TO DEVELOPER
1. We collect all data
on our domain
functions
65. sponsored by &
SERVERLESS APPLICATION LIFECYCLE
CUSTOMER TO DEVELOPER
1. We collect all data
on our domain
functions
2. If there is a problem on
function, we send data
to error queue
66. sponsored by &
SERVERLESS APPLICATION LIFECYCLE
CUSTOMER TO DEVELOPER
3. We also collect exceptions and send it
to external systems (APM and logging
tools)
1. We collect all data
on our domain
functions
2. If there is a problem on
function, we send data
to error queue
67. sponsored by &
SERVERLESS APPLICATION LIFECYCLE
CUSTOMER TO DEVELOPER
3. We also collect exceptions and send it
to external systems (APM and logging
tools)
1. We collect all data
on our domain
functions
2. If there is a problem on
function, we send data
to error queue
4. There is a function which
polls error queue
68. sponsored by &
SERVERLESS APPLICATION LIFECYCLE
CUSTOMER TO DEVELOPER
3. We also collect exceptions and send it
to external systems (APM and logging
tools)
1. We collect all data
on our domain
functions
2. If there is a problem on
function, we send data
to error queue
4. There is a function which
polls error queue
5. If there is an error on queue, create an alert on OpsGenie
69. sponsored by &
SERVERLESS APPLICATION LIFECYCLE
CUSTOMER TO DEVELOPER
3. We also collect exceptions and send it
to external systems (APM and logging
tools)
1. We collect all data
on our domain
functions
2. If there is a problem on
function, we send data
to error queue
4. There is a function which
polls error queue
5. If there is an error on queue, create an alert on OpsGenie
6. OpsGenie notify us
70. sponsored by &
SERVERLESS APPLICATION LIFECYCLE
CUSTOMER TO DEVELOPER
3. We also collect exceptions and send it
to external systems (APM and logging
tools)
1. We collect all data
on our domain
functions
2. If there is a problem on
function, we send data
to error queue
4. There is a function which
polls error queue
5. If there is an error on queue, create an alert on OpsGenie
6. OpsGenie notify us
7. We take an action with the
information on alert and related
trace, metric and log data
71. sponsored by &
EXTERNAL SOURCES
COMMUNITY, IMPORTANT AND EXTERNAL TOOLS
▸ Serverless Framework, Deployment
▸ IOPipe, Monitoring
▸ Open Faas, Local Serverless
▸ SAM, Serverless Application Model
▸ Local SAM, AWS Local Testing Tool
▸ AWS X-RAY
▸ AWS Step Functions
72. sponsored by &
“TALK IS CHEAP. SHOW ME THE
CODE.”
Linus Torvalds, the Founder and Coordinator of Linux
LIVE DEMO: THUNDRA IN ACTION
73. sponsored by &
LIVE DEMO: THUNDRA IN ACTION
THUNDRA IN ACTION ON SERVERLESS ARCHITECTURE