• 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/23

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;

23 Cards in this Set

  • Front
  • Back

What is a push model in AWS?

Using ELB to distribute traffic


What 3 implementations are there for this push model?

  • Application Load Balancing
  • Network Load Balancing
  • Route 53 for DNS

What is application load balancing?

When you take parameters based on the HTTP or layer 7 headers

What is network load balancing?

When you take parameters based on the IP or layer 4 headers

Why are these 2 approaches better than Route 53?

Because you can't control the DNS resolvers outside of AWS, and might get stale data/try to hit a now unavailable host

When might I instead use a pull model?

For events and messaging coming from queues and streams

To keep an app stateless, what approach would we use with cookies?

Keep only a session id in the cookie and look everything up on the server.

Why you want to avoid user session data being stored on a server's local file system?

Because then you're stuck with using the same server for every request in that session.

How can we avoid this problem? What specific AWS technology might we use?

Set the storage to be in a database so any server can always fetch the latest state. Dynamo DB might be a good fit as it's lightweight.

If I had to store a larger file than simply a session, e.g a user upload, what would be the best technology fit?

S3

If I had a file that was to be processed by the server, but not live forever, what might be a good choice for the storage strategy?

Elastic File System - then it would be like a program would be dealing with its own local file system

If I had a wizard flow and needed to track the workflow state, what would I use then?

AWS Step Functions

When might I use client side load balancing?

When I might want to control who connects to which server (e.g. gamer groups) or when the server I'm connecting to does not support server side load balancing

What technologies are there for offline batch jobs to be distributed?

  • AWS Glue
  • AWS Batch
  • Apache Hadoop

What technologies are there for real time distributed processing? There are 2 parts to the answer

Amazon Kinesis with Lambdas or EC2 listening on the other end

What is bootstrapping?

A way of layering your specific setup over the top of a base resource.

What are 4 ways of boot strapping?

  • Data scripts of your own
  • Chef and Puppet
  • Cloudformation
  • Custom Scripts that use the AWS APIs

What is a golden image?

A snapshot

What are serverless patterns?

Where you focus on the automation of the deployment pipeline and AWS handles the scaling and availability

What is a cloudwatch alarm?

An SNS message that is fired when a metric breaches a threshold

What might we do with these alarms?

  • Kick off a Lambda function we've configured
  • Put a message on an SQS queue
  • POST to an endpoint

What are cloudwatch events?

System events that describe changes in AWS resources

How does queueing allow you to keep a system stable?

It allows to stop less scalable components from being overwhelmed because they can take demand as they can handle it.