Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Serverless by Examples and Case Studies
1. Serverless by
Examples and Case
Studies
Srushith R Ganesh Samarthyam
@SrushithR @GSamarthyam
CodeopsTechnologies
2. How will the application
handle server hardware failure?
How can I control
Serversaccess from my servers?
When should I decideto
scale out my servers?
When should I decideto
scale up myservers?
What size servers are
right for my budget?
How much remaining
capacity do my
servers have?
(AAHHHHHHHHH!!)
How will I keep my
server OS
patched?
How many servers
should I budget
for?
Content source: https://www.slideshare.net/AmazonWebServices/aws-reinvent-2016-getting-started-with-serverless-
architectures-cmp211
2
3. What is serverless?
“Serverless architectures refer to applications that
significantly depend on third-party services (knows
as Backend as a Service or "BaaS") or on custom
code that's run in ephemeral containers (Function
as a Service or “FaaS”)”
- Martin Fowler
6. Python code
fromTwitterFollowBot importTwitterBot
def retweet():
# create an instance of theTwitterFollowBot
# by default, the bot will look for a configuration file called
config.txt in your current
my_bot =TwitterBot()
# autoretweets the 5(count) latest tweets that matches
the hashtag
my_bot.auto_rt("#AppleEvent", count = 5)
return {'message' : 'retweeted successfully‘}
retweet()
17. How chat bots work? – BookBot
Architecture
User asks for a java
book
Lex understands the
intent, if understood,
invokes lambda and if
not, asks the user to
re-enter
Processes the code
and returns the title
Logs the data
Book title is returned
back to the user
18. Lambda: Overview
A compute service where
you don’t have to think about:
▪ Servers
▪ Being over/under capacity
▪ Deployments
▪ Scaling and fault tolerance
▪ OS or language updates
▪ Metrics and logging
...but where you can easily:
Bring your own code... even native
libraries
Run code in parallel
Create backends, event handlers,
and data processing systems
Never pay for idle!
Content source: https://www.slideshare.net/AmazonWebServices/aws-lambda-and-the-serverless-cloud
22. Text and speech language
understanding
Speech
Recognition
Natural Language
Understanding
Powered by the same Deep Learning technology as Alexa
22
Content source: https://www.slideshare.net/AmazonWebServices/integrate-your-amazon-lex-chatbot-with-any-messaging-service-may-2017-
aws-online-tech-talks