Presentation that provides an overview of Serverless computing model, differentiates between Serverless Architectures, FaaS, PaaS and the Serverless Framework. It drills down the idea by helping you build a compelling example of 'Shazam for Celebrities' using the Serverless Framework, AWS Lambda, AWS Rekognition, Twilio and IMDb. It uses the user's mobile SMS/MMS for the presentation tier, Twilio in the middle-tier to bridge the SMS world and AWS Gateway and a set of AWS Lambda functions written in Python making use of AWS Rekognition for image processing. The code is at http://bit.ly/FaCeS-Sls
AWS' philosophy and recommended best practices for building microservices applications, how AWS services like Lambda and API gateway benefit developers building microservices apps, and how customers are using these two and other AWS services to deliver their microservices apps
In this session we’ll take a high-level overview of AWS Lambda, a serverless compute platform that has changed the way that developers around the world build applications. We’ll explore how Lambda works under the hood, the capabilities it has, and how it is used. By the end of this talk you’ll know how to create Lambda based applications and deploy and manage them easily.
Speaker: Chris Munns - Principal Developer Advocate, AWS Serverless Applications, AWS
Presentation from the developer track at I Love APIs London 2016 featuring Matt McClean, Amazon Web Services.
Developers have been jumping on the microservices bandwagon because of the obvious benefits of faster release cycles and innovation. However, microservices' downside is the increased server costs, operational costs, and performance costs. To reduce this complexity, Amazon Web Services created AWS Lambda - a compute platform that lets you build microservices with no provisioning and servers.
Matt McClean, Solution Architect from AWS, presents how to use AWS Lambda to build your microservices. He covers various architectural patterns and anti-patterns for using AWS Lambda.
Do you want to run your code without the cost and effort of provisioning and managing servers? Find out how in this deep dive session on AWS Lambda, which allows you to run code for virtually any type of application or back end service – all with zero administration. During the session, we’ll look at a number of key AWS Lambda features and benefits, including automated application scaling with high availability; pay-as-you-consume billing; and the ability to automatically trigger your code from other AWS services or from any web or mobile app.
AWS' philosophy and recommended best practices for building microservices applications, how AWS services like Lambda and API gateway benefit developers building microservices apps, and how customers are using these two and other AWS services to deliver their microservices apps
In this session we’ll take a high-level overview of AWS Lambda, a serverless compute platform that has changed the way that developers around the world build applications. We’ll explore how Lambda works under the hood, the capabilities it has, and how it is used. By the end of this talk you’ll know how to create Lambda based applications and deploy and manage them easily.
Speaker: Chris Munns - Principal Developer Advocate, AWS Serverless Applications, AWS
Presentation from the developer track at I Love APIs London 2016 featuring Matt McClean, Amazon Web Services.
Developers have been jumping on the microservices bandwagon because of the obvious benefits of faster release cycles and innovation. However, microservices' downside is the increased server costs, operational costs, and performance costs. To reduce this complexity, Amazon Web Services created AWS Lambda - a compute platform that lets you build microservices with no provisioning and servers.
Matt McClean, Solution Architect from AWS, presents how to use AWS Lambda to build your microservices. He covers various architectural patterns and anti-patterns for using AWS Lambda.
Do you want to run your code without the cost and effort of provisioning and managing servers? Find out how in this deep dive session on AWS Lambda, which allows you to run code for virtually any type of application or back end service – all with zero administration. During the session, we’ll look at a number of key AWS Lambda features and benefits, including automated application scaling with high availability; pay-as-you-consume billing; and the ability to automatically trigger your code from other AWS services or from any web or mobile app.
Slides for a short presentation I gave on AWS Lambda, which "lets you run code without provisioning or managing servers". Lambda is to running code as Amazon S3 is to storing objects.
by Kashif Imran, Sr. Solutions Architect, AWS
Serverless 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, you’ll learn how to get started with serverless computing with AWS Lambda, which lets you run code without provisioning or managing servers. We’ll introduce you to the basics of building with Lambda and how you can benefit from features such as continuous scaling, built-in high availability, integrations with AWS and third-party apps, and subsecond metering pricing. We’ll also introduce you to the broader portfolio of AWS services that help you build serverless applications with Lambda, including Amazon API Gateway, Amazon DynamoDB, AWS Step Functions, and more.
Productionize Serverless Application Building and Deployments with AWS SAM - ...Amazon Web Services
Learning Objectives:
- Learn abou the SAM template design best practices (e.g., use of globals, mappings, parameters, and conditionals)
- Learn how to test and debug serverless applications with SAM Local
- Learn how to customize SAM itself with the open source SAM implementation
Training for AWS Solutions Architect at http://zekelabs.com/courses/amazon-web-services-training-bangalore/.This slide describes about cloud trail key concepts, workflow and event history
___________________________________________________
zekeLabs is a Technology training platform. We provide instructor led corporate training and classroom training on Industry relevant Cutting Edge Technologies like Big Data, Machine Learning, Natural Language Processing, Artificial Intelligence, Data Science, Amazon Web Services, DevOps, Cloud Computing and Frameworks like Django,Spring, Ruby on Rails, Angular 2 and many more to Professionals.
Reach out to us at www.zekelabs.com or call us at +91 8095465880 or drop a mail at info@zekelabs.com
This talk will be a 2-300 level discussion on Serverless Architectures on AWS. We’ll first explore the Serverless ecosystem on AWS, looking at some particular use cases for Serverless. Looking through the lens of AWS customers, we’ll look at the typical Serverless journey, as well some of the key emerging patterns and benefits of Serverless Architectures. We’ll also touch some of the key challenges in a distributed environment and some potential solutions and tools that customers might want to consider.
Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale. With a few clicks in the AWS Management Console, you can create an API that acts as a “front door” for applications to access data, business logic, or functionality from your back-end services, such as workloads running on Amazon Elastic Compute Cloud (Amazon EC2), code running on AWS Lambda, or any Web application. Amazon API Gateway handles all the tasks involved in accepting and processing up to hundreds of thousands of concurrent API calls, including traffic management, authorization and access control, monitoring, and API version management.
Presented by: Danilo Poccia, Technical Evangelist, Amazon Web Services
Amazon API Gateway and AWS Lambda: Better TogetherDanilo Poccia
Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale. AWS Lambda is a compute service that runs your code in response to events and automatically manages the compute resources for you, making it easy to build applications that respond quickly to new information. Together they help you build a server-less event-driven backend that is easy to manage and scale.
Improving Infrastructure Governance on AWS - AWS June 2016 Webinar SeriesAmazon Web Services
As your teams and infrastructure grow, it becomes more difficult to track IT resource changes as well as identify who made changes and when. It also becomes harder to enforce standards for your infrastructure resources, resulting in configuration drift and potential security issues. On AWS, you can easily standardize infrastructure configurations for commonly used IT services while also enabling self-service provisioning for your company. Once these resources are provisioned, you can then track how these resources are connected and monitor configuration changes and drift. In this session, we will discuss how you can achieve a sophisticated level of standardization, configuration compliance, and monitoring using a combination of AWS Service Catalog, AWS Config, and AWS CloudTrail.
Learning Objectives:
Understand how to use AWS services to enable governance while providing self-service
Learn to codify your business policies to promote compliance
How to improve security without sacrificing developer productivity
Building Cross-Cloud Platform Cognitive Microservices Using Serverless Archit...Srini Karlekar
In this presentation, I walk-through the process of building, deploying & orchestrating Microservices across cloud providers. Specifically, I demonstrate building an intelligent Slackbot using AWS StepFunctions, AWS Rekognition and Google Vision that will recognize celebrities, landmarks and extract text from images using 100% Serverless architecture. Code is at: http://bit.ly/chehara
1. Introduction
2. What is Serverless Architecture
3. Implementation Models of Serverless Architecture
4. Serverless Architecture Enabling Technologies
4.1. Containers
4.2. Container orchestration Platforms
5. Benefits of Serverless Architecture
6. Drawbacks of Serverless Architecture
7. Amazon Lambda
7.1. Asynchronous Model Example with AWS
7.2. Synchronous Model Example with AWS
8. Conclusion
https://notebookbft.wordpress.com/
Slides for a short presentation I gave on AWS Lambda, which "lets you run code without provisioning or managing servers". Lambda is to running code as Amazon S3 is to storing objects.
by Kashif Imran, Sr. Solutions Architect, AWS
Serverless 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, you’ll learn how to get started with serverless computing with AWS Lambda, which lets you run code without provisioning or managing servers. We’ll introduce you to the basics of building with Lambda and how you can benefit from features such as continuous scaling, built-in high availability, integrations with AWS and third-party apps, and subsecond metering pricing. We’ll also introduce you to the broader portfolio of AWS services that help you build serverless applications with Lambda, including Amazon API Gateway, Amazon DynamoDB, AWS Step Functions, and more.
Productionize Serverless Application Building and Deployments with AWS SAM - ...Amazon Web Services
Learning Objectives:
- Learn abou the SAM template design best practices (e.g., use of globals, mappings, parameters, and conditionals)
- Learn how to test and debug serverless applications with SAM Local
- Learn how to customize SAM itself with the open source SAM implementation
Training for AWS Solutions Architect at http://zekelabs.com/courses/amazon-web-services-training-bangalore/.This slide describes about cloud trail key concepts, workflow and event history
___________________________________________________
zekeLabs is a Technology training platform. We provide instructor led corporate training and classroom training on Industry relevant Cutting Edge Technologies like Big Data, Machine Learning, Natural Language Processing, Artificial Intelligence, Data Science, Amazon Web Services, DevOps, Cloud Computing and Frameworks like Django,Spring, Ruby on Rails, Angular 2 and many more to Professionals.
Reach out to us at www.zekelabs.com or call us at +91 8095465880 or drop a mail at info@zekelabs.com
This talk will be a 2-300 level discussion on Serverless Architectures on AWS. We’ll first explore the Serverless ecosystem on AWS, looking at some particular use cases for Serverless. Looking through the lens of AWS customers, we’ll look at the typical Serverless journey, as well some of the key emerging patterns and benefits of Serverless Architectures. We’ll also touch some of the key challenges in a distributed environment and some potential solutions and tools that customers might want to consider.
Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale. With a few clicks in the AWS Management Console, you can create an API that acts as a “front door” for applications to access data, business logic, or functionality from your back-end services, such as workloads running on Amazon Elastic Compute Cloud (Amazon EC2), code running on AWS Lambda, or any Web application. Amazon API Gateway handles all the tasks involved in accepting and processing up to hundreds of thousands of concurrent API calls, including traffic management, authorization and access control, monitoring, and API version management.
Presented by: Danilo Poccia, Technical Evangelist, Amazon Web Services
Amazon API Gateway and AWS Lambda: Better TogetherDanilo Poccia
Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale. AWS Lambda is a compute service that runs your code in response to events and automatically manages the compute resources for you, making it easy to build applications that respond quickly to new information. Together they help you build a server-less event-driven backend that is easy to manage and scale.
Improving Infrastructure Governance on AWS - AWS June 2016 Webinar SeriesAmazon Web Services
As your teams and infrastructure grow, it becomes more difficult to track IT resource changes as well as identify who made changes and when. It also becomes harder to enforce standards for your infrastructure resources, resulting in configuration drift and potential security issues. On AWS, you can easily standardize infrastructure configurations for commonly used IT services while also enabling self-service provisioning for your company. Once these resources are provisioned, you can then track how these resources are connected and monitor configuration changes and drift. In this session, we will discuss how you can achieve a sophisticated level of standardization, configuration compliance, and monitoring using a combination of AWS Service Catalog, AWS Config, and AWS CloudTrail.
Learning Objectives:
Understand how to use AWS services to enable governance while providing self-service
Learn to codify your business policies to promote compliance
How to improve security without sacrificing developer productivity
Building Cross-Cloud Platform Cognitive Microservices Using Serverless Archit...Srini Karlekar
In this presentation, I walk-through the process of building, deploying & orchestrating Microservices across cloud providers. Specifically, I demonstrate building an intelligent Slackbot using AWS StepFunctions, AWS Rekognition and Google Vision that will recognize celebrities, landmarks and extract text from images using 100% Serverless architecture. Code is at: http://bit.ly/chehara
1. Introduction
2. What is Serverless Architecture
3. Implementation Models of Serverless Architecture
4. Serverless Architecture Enabling Technologies
4.1. Containers
4.2. Container orchestration Platforms
5. Benefits of Serverless Architecture
6. Drawbacks of Serverless Architecture
7. Amazon Lambda
7.1. Asynchronous Model Example with AWS
7.2. Synchronous Model Example with AWS
8. Conclusion
https://notebookbft.wordpress.com/
Though service-oriented architecture advocates "everything as a service" (with the acronyms EaaS or XaaS,[62] or simply aas), cloud-computing providers offer their "services" according to different models, of which the three standard models per NIST are Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as a Service (SaaS).[61] These models offer increasing abstraction; they are thus often portrayed as a layers in a stack: infrastructure-, platform- and software-as-a-service, but these need not be related.
How we got to where we are?
What's Serverless
Serverless Principles
Pros and cons
Serverless architectures
Lambda Anatomy
Demos
AWS SAM
Demo
By : Ahmed Samir
AWS Interview Questions and Answers -CREDO SYSTEMZ.pdfnishajeni1
Credo Systemz AWS course in Chennai is the Best Master Training Institute in the cloud platform. Our AWS training in chennai helps to acquire the in-depth AWS cloud skills. To advance in the career, Our professional trainers provide the complete AWS hands-on training. Our AWS Course focuses on the basics to advance AWS concepts, AWS architecture, AWS services with Placement support.
DeFi, short for Decentralized Finance, is a movement that aims to offer financial services and products that are open to everyone, without the need for intermediaries.
Types of Cloud services: Software as a Service, Platform as a Service – Infrastructure as a Service, Database as a Service, Monitoring as a Service, Communication as services. Service providers- Google App Engine, Amazon EC2, Microsoft Azure, Sales force
This presentation will give information about What is Serverless? What service is exposed by AWS to support Function as a Service. Lambda is AWS service which support serverless.
AWS Lambda Documentation over the official website of AWS is highlighting the detailed explanations on the definitions, developer guide, API reference, and operations of Lambda.
To know more please visit https://www.whizlabs.com/blog/aws-lambda-documentation/
Comparative Study of Various Platform as a Service Frameworks neirew J
Cloud computing is an emerging paradigm with three basic service models such as Software as a Service
(SaaS), Platform as a Service (PaaS), and Infrastructure as a Service (IaaS). This paper focuses on
different kinds of PaaS frameworks. PaaS model provides choice of cloud, developer framework and
application service. In this paper, detailed study of four open PaaS frameworks like AppScale, Cloud
Foundry, Cloudify, and OpenShift are explained with the architectural components. We also explained
more PaaS packages like Stratos, mOSAIC, BlueMix, Heroku, Amazon Elastic Beanstalk, Microsoft Azure,
Google App Engine and Stakato briefly. In this paper we present the comparative study of PaaS
frameworks.
COMPARATIVE STUDY OF VARIOUS PLATFORM AS A SERVICE FRAMEWORKSijccsa
Cloud computing is an emerging paradigm with three basic service models such as Software as a Service
(SaaS), Platform as a Service (PaaS), and Infrastructure as a Service (IaaS). This paper focuses on
different kinds of PaaS frameworks. PaaS model provides choice of cloud, developer framework and
application service. In this paper, detailed study of four open PaaS frameworks like AppScale, Cloud
Foundry, Cloudify, and OpenShift are explained with the architectural components. We also explained
more PaaS packages like Stratos, mOSAIC, BlueMix, Heroku, Amazon Elastic Beanstalk, Microsoft Azure,
Google App Engine and Stakato briefly. In this paper we present the comparative study of PaaS
frameworks.
In order to understand how serverless computing fits with
modern application development, it is helpful to first
understand the evolution of cloud computing.
Initially, enterprises leveraged data centers to abstract the
physical hosting environment. The hardware was the unit of
scale, which meant that in order to scale out your
application you would allocate more compute, storage, and
networking resources to handle the required load.
Similar to Building Serverless Microservices Using Serverless Framework on the Cloud (20)
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...SOFTTECHHUB
The choice of an operating system plays a pivotal role in shaping our computing experience. For decades, Microsoft's Windows has dominated the market, offering a familiar and widely adopted platform for personal and professional use. However, as technological advancements continue to push the boundaries of innovation, alternative operating systems have emerged, challenging the status quo and offering users a fresh perspective on computing.
One such alternative that has garnered significant attention and acclaim is Nitrux Linux 3.5.0, a sleek, powerful, and user-friendly Linux distribution that promises to redefine the way we interact with our devices. With its focus on performance, security, and customization, Nitrux Linux presents a compelling case for those seeking to break free from the constraints of proprietary software and embrace the freedom and flexibility of open-source computing.
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfPaige Cruz
Monitoring and observability aren’t traditionally found in software curriculums and many of us cobble this knowledge together from whatever vendor or ecosystem we were first introduced to and whatever is a part of your current company’s observability stack.
While the dev and ops silo continues to crumble….many organizations still relegate monitoring & observability as the purview of ops, infra and SRE teams. This is a mistake - achieving a highly observable system requires collaboration up and down the stack.
I, a former op, would like to extend an invitation to all application developers to join the observability party will share these foundational concepts to build on:
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...Neo4j
Leonard Jayamohan, Partner & Generative AI Lead, Deloitte
This keynote will reveal how Deloitte leverages Neo4j’s graph power for groundbreaking digital twin solutions, achieving a staggering 100x performance boost. Discover the essential role knowledge graphs play in successful generative AI implementations. Plus, get an exclusive look at an innovative Neo4j + Generative AI solution Deloitte is developing in-house.
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024Neo4j
Neha Bajwa, Vice President of Product Marketing, Neo4j
Join us as we explore breakthrough innovations enabled by interconnected data and AI. Discover firsthand how organizations use relationships in data to uncover contextual insights and solve our most pressing challenges – from optimizing supply chains, detecting fraud, and improving customer experiences to accelerating drug discoveries.
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
In this presentation, we examine the challenges and limitations of relying too heavily on PHP frameworks in web development. We discuss the history of PHP and its frameworks to understand how this dependence has evolved. The focus will be on providing concrete tips and strategies to reduce reliance on these frameworks, based on real-world examples and practical considerations. The goal is to equip developers with the skills and knowledge to create more flexible and future-proof web applications. We'll explore the importance of maintaining autonomy in a rapidly changing tech landscape and how to make informed decisions in PHP development.
This talk is aimed at encouraging a more independent approach to using PHP frameworks, moving towards a more flexible and future-proof approach to PHP development.
UiPath Test Automation using UiPath Test Suite series, part 5DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 5. In this session, we will cover CI/CD with devops.
Topics covered:
CI/CD with in UiPath
End-to-end overview of CI/CD pipeline with Azure devops
Speaker:
Lyndsey Byblow, Test Suite Sales Engineer @ UiPath, Inc.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
A tale of scale & speed: How the US Navy is enabling software delivery from l...sonjaschweigert1
Rapid and secure feature delivery is a goal across every application team and every branch of the DoD. The Navy’s DevSecOps platform, Party Barge, has achieved:
- Reduction in onboarding time from 5 weeks to 1 day
- Improved developer experience and productivity through actionable findings and reduction of false positives
- Maintenance of superior security standards and inherent policy enforcement with Authorization to Operate (ATO)
Development teams can ship efficiently and ensure applications are cyber ready for Navy Authorizing Officials (AOs). In this webinar, Sigma Defense and Anchore will give attendees a look behind the scenes and demo secure pipeline automation and security artifacts that speed up application ATO and time to production.
We will cover:
- How to remove silos in DevSecOps
- How to build efficient development pipeline roles and component templates
- How to deliver security artifacts that matter for ATO’s (SBOMs, vulnerability reports, and policy evidence)
- How to streamline operations with automated policy checks on container images
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
Elevating Tactical DDD Patterns Through Object CalisthenicsDorra BARTAGUIZ
After immersing yourself in the blue book and its red counterpart, attending DDD-focused conferences, and applying tactical patterns, you're left with a crucial question: How do I ensure my design is effective? Tactical patterns within Domain-Driven Design (DDD) serve as guiding principles for creating clear and manageable domain models. However, achieving success with these patterns requires additional guidance. Interestingly, we've observed that a set of constraints initially designed for training purposes remarkably aligns with effective pattern implementation, offering a more ‘mechanical’ approach. Let's explore together how Object Calisthenics can elevate the design of your tactical DDD patterns, offering concrete help for those venturing into DDD for the first time!
2. Serverless Architectures are those models where the applications logic provided by
the Developer is run on stateless, compute containers that are provisioned and
managed by a provider.
Typically these compute instances are ephemeral (short-lived for the duration of
the request-response cycle), typically runs a function and triggered through an
event.
Due to the on-demand provisioning nature of this architecture, the systems built
using Serverless technologies are inherently scalable and highly responsive under
load.
2
3. The introduction of function PaaS1 (fPaaS) as Lambda by Amazon in re:Invent,
Nov 2014 (and out of beta in late 2015) created a momentum for "serverless"
platform architecture. AWS Lambda was soon followed by most major cloud
platform vendors, including IBM, Microsoft, Google and, more recently, Oracle.
Serverless is a cloud-native platform model.
Per Gartner, by 2022 most cloud architectures will evolve to a fundamentally
serverless model rendering the cloud platform architectures dominating in 2017
as legacy architectures2.
Serverless is a cloud-native platform model and reflects the core-promise of cloud-
computing by offering agility and capability on demand at a value price.
3
1. Platform as a Service.
2. The Key Trends in PaaS, 2017 - Published: 31 January 2017 ID: G00313016
4. Serverless computing model is an emerging trend and quite often misunderstood
because of the hype and build-up surrounding the topic.
The term Serverless refers to building applications without having to configure or
maintain infrastructure required for running your applications on the cloud.
In reality, servers are still involved, though they are owned and controlled by the
platform providers.
On the other hand there are frameworks used for exploiting the serverless
architecture uninspiringly named Serverless Framework increasing the confusion.
4
6. FaaS - The technique of building applications
using Serverless architecture.
Cost Efficiency – Pay per execution model is most
efficient at managing costs.
Ephemeral – Short-lived process triggered via
event.
Auto-scaling – Compute resources are provisioned
granularly per request.
Event-driven – Functions respond to events such
as http, file drop, alerts, timer, topics etc
Microservices – Modules built to satisfy a specific
goal and uses a simple, well-defined interface.
6
7. State - Due to the ephemeral nature of the FaaS architecture, the state of
your application should be managed externally from the FaaS
infrastructure or off-loaded to a cache or data-base.
Duration - Because of the on-demand provisioning and low-cost nature of
the FaaS solution there is a restriction on how long your functions are
allowed to run. To keep the price low - as you are billed by minutes of
usage, some providers such as Amazon AWS and Microsoft Azure restrict
the duration of time a function is allowed to process a request.
7
8. Deployment & Resource Limits - Some providers such as AWS
have deployment limits on the size of the deployment package, code
and libraries that can be deployed in the package.
This could be severely limiting for some applications such as image
processing functions that depend on large libraries that have to be
packaged along with the code.
Additionally, there are limits on the number of concurrent function
executions, ephemeral disk capacity (temp space) etc.
While some of these limits are soft limits and can be reconfigured
per function by working with the providers, others are hard limits
and will force you to reevaluate the choice of your design.
8
9. Latency - Due to the on-demand provisioning nature of the
FaaS infrastructure, applications that uses languages such
as Java/Scala that require a longer start time to spin up
JVMs may encounter longer runtime.
Having said that, providers optimize the infrastructure spin-
ups based on the usage patterns of the functions.
On the other hand, due to the interpreted nature of Python
and Javascript, functions written in these languages may
not see a significant difference in latency between a PaaS
and FaaS offering.
9
10. While there are new providers entering the market to exploit the Serverless wave,
the following rule the roost:
Amazon with its AWS Lambda,
Microsoft with its Azure Functions,
Google with its Google Functions and
IBM with its Openwhisk.
10
11. Getting Started with Serverless Computing on AWS -
https://cloudacademy.com/learning-paths/getting-started-serverless-computing-25/
Serverless Computing on AWS for Developers -
https://cloudacademy.com/learning-paths/serverless-computing-aws-developers-45/
Serverless Workshop - https://cloudacademy.com/learning-paths/serverless-
workshop-64/
11
14. Organizations want to diversify risk and hence do not want to be bound to
a single provider.
While not having to manage infrastructure by using serverless functions is
nice, having to deal with hundreds of functions in a project between
multiple providers, managing buckets, messaging and permissions
becomes an issue in itself.
While many providers are entering into the Serverless field to make
developing cloud-native applications easy, you are still bound to
idiosyncrasies of the provider when it comes to their FaaS offering.
Not only do you have to learn the different terminologies used by the
various providers, you will have to learn how to use their offerings on their
respective consoles or CLI (Command Line Interface).
14
15. The Serverless Framework is an MIT open-source project, actively
maintained by a vibrant and engaged community of developers and
provides robust plugins for various FaaS providers and allows to extend it
when needed.
The Serverless Framework allows you to provision and deploy REST APIs,
backend services, data pipe-lines, and other uses cases by providing a
framework and CLI to build serverless services across many providers by
abstracting away provider-level complexity.
The Serverless Framework is different than other application frameworks
because:
It manages your code as well as your infrastructure
It supports multiple languages (Node.js, Python, Java, and more)
15
17. Service - The unit of organization. It's where you define your Functions, the
Events that trigger them, and the Resources your Functions use, all in one
file titled serverless.yml. More information at: https://goo.gl/9SKBvx
An application can have multiple services and hence multiple serverless.yml
files.
17
18. Functions - A Function is an independent unit of deployment or
microservice. It manifests itself as a Lambda or Azure Function depending
upon the provider. It's merely code, deployed in the cloud, that is most often
written to perform a single job such as:
Saving a user to the database
Processing a file in a database
Performing a scheduled task
18
19. Anything that triggers an Function to execute is regarded by the
Framework as an Event.
Events on AWS are:
An AWS API Gateway HTTP endpoint request (e.g., for a REST API)
An AWS S3 bucket upload (e.g., for an image)
A CloudWatch timer (e.g., run every 5 minutes)
An AWS SNS topic (e.g., a message)
A CloudWatch Alert (e.g., something happened)
When you define an event for your functions in the Serverless Framework,
the Framework will automatically create any infrastructure necessary for
that event (e.g., an API Gateway endpoint) and configure your Functions to
listen to it.
19
20. Simply put, events are the things that trigger your functions to run. If you
are using AWS as your provider, all events in the service are anything in
AWS that can trigger an AWS Lambda function, like an S3 bucket upload,
an SNS topic, and HTTP endpoints created via API Gateway.
Upon deployment, the framework will deploy any infrastructure required for
an event (e.g., an API Gateway endpoint) and configure your function to
listen to it.
20
21. Resources are infrastructure components which your Functions uses.
If you use AWS as you provider, then resources are:
An AWS DynamoDB Table (e.g., for saving Users/Posts/Comments data)
An AWS S3 Bucket (e.g., for saving images or files)
An AWS SNS Topic (e.g., for sending messages asynchronously)
Anything that can be defined in CloudFormation is supported by the
Serverless Framework
The Serverless Framework not only deploys your Functions and the Events
that trigger them, but it also deploys the infrastructure components your
Functions depend upon.
21
22. 22
An example of resources in Serverless Framework using AWS as provider:
23. 23
Serverless Framework needs access to your cloud provider account
credentials to deploy resources on your behalf. For AWS you can use AWS
CLI (aws configure). Azure is more involved.
Following links provide excellent guidance on setting up the credentials for
various providers currently supported on the Serverless Framework.
AWS -
https://serverless.com/framework/docs/providers/aws/guide/credentials/
Azure -
https://serverless.com/framework/docs/providers/azure/guide/credentials/
Openwhisk -
https://serverless.com/framework/docs/providers/openwhisk/guide/credential
s/
24. 24
Serverless Framework translates the service declaration in the
serverless.yml file into a Cloud Formation or Resource Manager template
depending upon the provider you choose.
To deploy your service, all the functions and provision the resources, enter:
serverless deploy --verbose
To deploy a single function after making changes to it, enter:
serverless deploy function --function <myfunction> --verbose
25. 25
Serverless Framework allows you to invoke a function locally for testing or
invoke a deployed function.
To invoke your function locally, enter:
serverless invoke local --function <myfunction> --log
To invoke a deployed function, enter:
serverless invoke function --function <myfunction> --stage <my
stage> --region <myregion>
Note: If you omit the stage and region option, the default stage (dev) and
region specified in your provider configuration will be used.
31. 31
A celebrity face recognition service built with Serverless
Framework using Twilio, Amazon Rekognition and IMDbPy API.
The CelebritySleuth application is an event-driven application taking advantage
of:
The user's mobile SMS/MMS for the presentation tier,
Twilio in the middle-tier to bridge the SMS world and
AWS Gateway and a set of AWS Lambda functions written in Python making use
of AWS Rekogniton for image processing and IMDB for gathering information on
the celebrities.
CelebritySleuth code repository, installation guide and usage at:
https://github.com/skarlekar/faces
32. 32
To begin with you have to train the application to recognize the faces by
building a collection of celebrities. You do this by sending a random sample
of celebrity pictures (image URLs) and their corresponding names. The
more pictures of a celebrity, the more accurate the recognition will be.
The CelebritySleuth application consists of two services:
Twilio Communication Service
Face Recognition Service
The services are decoupled to allow for using different presentation tiers in
future.
34. 34
1.USER SENDS A PICTURE AND COMMANDS TO
ADD/MATCH FACE TO A COLLECTION. THE
SMS/MMS IS SENT TO A TELEPHONE
NUMBER HOSTED BY TWILIO.
2.TWILIO INTERCEPTS THE MESSAGE AND
FORWARDS IT TO AN API GATEWAY BASED
ON THE USER’S TWILIO CONFIGURATION.
3.API GATEWAY TRANSLATES TWIML TO
JSON AND CALLS THE REQUEST
PROCESSOR LAMBDA FUNCTION.
4.THE REQUEST PROCESSOR LAMBDA
VALIDATES THE COMMANDS AND PUT A
MESSAGE TO THE APPROPRIATE TOPIC ON
SNS. IF THE VALIDATION FAILS, IT
RETURNS THE ERROR MESSAGE TO THE
USER VIA TWILIO.
5. WHEN A MESSAGE ARRIVES IN THE CREATE
COLLECTION TOPIC, A LAMBDA IS
TRIGGERED WHICH ADDS THE NAMED
COLLECTION IN AWS REKOGNITION VIA
BOTO LIBRARIES. A SUCCESS/ERROR
MESSAGE IS PUT IN THE RESPONSE
PROCESSOR TOPIC.
6.WHEN A MESSAGE ARRIVES IN ADD FACE
TOPIC, A LAMBDA IS TRIGGERED WHICH
IDENTIFIES THE MOST PROMINENT FACE IN
THE IMAGE AND ADDS THE METADATA FOR
THE FACE TO THE GIVEN COLLECTION. IF
THERE IS NO FACES IDENTIFIED, IT
CREATES AN ERROR MESSAGE AND SENDS
THE RESPONSE TO THE RESPONSE
PROCESSOR TOPIC.
7. WHEN A MESSAGE ARRIVES IN MATCH
FACE TOPIC, A LAMBDA IS TRIGGERED
WHICH IDENTIFIES THE MOST PROMINENT
FACE IN THE IMAGE AND MATCHES THE
METADATA FOR THAT FACE WITH KNOWN
FACES IN THE COLLECTION. IF A MATCH IS
FOUND, THE CORRESPONDING PERSON’S
NAME IS RETURNED. THE LAMBDA THEN
USES IMDB TO LOOKUP THE BIOGRAPHY
OF THE PERSON.
8. THE VARIOUS LAMBDA-BASED PROCESSORS
DROPS THE RESPONSE MESSAGE ON THE
RESPONSE PROCESSOR TOPIC.
9. THE RESPONSE PROCESSOR PICKS UP THE
RESPONSE AND CONSTRUCTS A SMS
MESSAGE AND CALLS TWILIO’S SMS
SERVICE.
10.TWILIO VALIDATES THE FROM NUMBER
AND SENDS THE MESSAGE TO THE
CORRESPONDING TO NUMBER.
35. 35
The CelebritySleuth application can be cloned from:
https://github.com/skarlekar/faces
The two main services are:
Twilio Communication Service -
https://github.com/skarlekar/faces/tree/master/twilioCommunicationService
Face Recognition Service –
https://github.com/skarlekar/faces/tree/master/faceRecognitionService
36. 36
Security – Wrap a security blanket around twilioCommunicationService
such that only authorized users are allowed to call the service. More
information at: https://www.twilio.com/docs/api/security#http-authentication
Validation – In addition to the security blanket above, validate that the
twilioCommunicationService is called only from Twilio. More information at:
https://www.twilio.com/docs/api/security#validating-requests
VPC – As the faceRecognitionService is an internal service, secure it within
a VPC. More information at:
https://serverless.com/framework/docs/providers/aws/guide/functions#vpc-
configuration
Editor's Notes
The technique of building applications using Serverless architecture is known as FaaS (Function as a Service).
The reason becomes clear when you contrast FaaS applications with the traditionally built applications or PaaS (Platform as a Service) where there is a perpetual process running on a server waiting for HTTP requests or API calls.
In FaaS there is no perpetual process (for the most part) but an event mechanism that triggers the execution of a piece of code, usually just a function. You still need a perpetual gateway that will field your API calls to start the events to cascade.
The other key operational difference between FaaS and PaaS is scaling. With most PaaS solutions you still need to worry about scale. With FaaS the compute resources are provisioned at a request level. You cannot get the same level of granularity with PaaS applications even if you set it to auto-scale.
As a result of this, FaaS applications are extremely efficient when it comes to managing cost.