• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/20

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

20 Cards in this Set

  • Front
  • Back

What use case is serverless trying to solve?

  • Underutilised computer capacity
  • Having to patch and deploy

What is the essence of how it works?

You only write the functional part of the app, not the server itself

When would I NOT use Lambda?


  • When the goal is explicitly to avoid making any changes to anapplication - Lambdas need some changes.
  • When you have code/infrastructure that won't work when the implementation details are changed (think about loss of control when using managed services)
  • When an on-premises application hasn’t been migrated to the publiccloud.

How it a serverless application typically split into components?

Lambdas are like your use cases, doing the logic and the other components such as message queues and databases are separate to this.

How does data come into a lambda?

Via events

What is AWS SAM and what does it do?

Serverless Application Model - an open spec for specifying the serverless app and its components

How does it flow out?

Through streams and data sources

What is the purpose of orchestration with serverless?

Chaining together actions that are short lived into something more useful

What limitations of stateless does orchestration cover us for?

  • Lambdas themselves are stateless but we might want two consecutive lambda to pass state around
  • A work flow outside of the lambda itself may run for longer than any single lambda
  • Error handling might be better handled with orchestration code.

What are edge locations in serverless?

Locations where the end users access AWS services. Usually fronted by a CDN and located in major cities

What 2 technologies does Serverless have for Orchestration?

AWS Step Functions and CloudWatch Events

How is deployment of Lambdas done?

Cloudformation

How is monitoring done?

CloudWatch

Which technologies handle interprocess messaging?

SNS and SQS

Which streaming technologies are there?

Kinesis

Which storage mechanisms are there?

S3 and Dynamo DB

What does the compute itself?

AWS Lambda or Lambda Edge

How is it that Lambda scales perfectly with workload?

Because each event just runs another copy of the function, which is stateless. The event is the data, the function is the code.

What is the definition of Function as a Service, or FaaS?

The function is the unit of deployment and execution

What is Serverless Faas?

Where the programming model never specifies machines or containers