Module2 Flashcards
Scalability
Scalability involves beginning with only the resources you need and designing your architecture to automatically respond to changing demand by scaling out or in. As a result, you pay for only the resources you use. You don’t have to worry about a lack of computing capacity to meet your customers’ needs.
Amazon EC2 Auto Scaling
Amazon EC2 Auto Scaling enables you to automatically add or remove Amazon EC2 instances in response to changing application demand.
What are the two approaches to Amazon EC2 Auto scaling
Within Amazon EC2 Auto Scaling, you can use two approaches: dynamic scaling and predictive scaling
Dynamic scaling responds to?
Dynamic scaling responds to changing demand.
What is predictive scaling?
Predictive scaling automatically schedules the right number of Amazon EC2 instances
based on predicted demand.
Elastic Load Balancing
is the AWS service that automatically distributes incoming application traffic across multiple resources, such as Amazon EC2 instances.
Amazon (SNS)
A messaging service used to deliver push notifications to recipients
publish/subscribe service.
SNS topics, a publisher publishes messages to subscribers.
Simple notification service
Subscribers get all messages
Send message to topics
push-based
Examples of SNS?
web servers, email addreses, AWS Lambda funcitons
What is SQS?
Using Amazon SQS, you can send, store, and receive messages between software components, without losing messages or requiring other services to be available. In Amazon SQS, an application sends messages into a queue. A user or service retrieves a message from the queue, processes it, and then deletes it from the queue.
Simple queue service
Fully managed queue
pull-based
allows you to send, store, receive messages between software components at any volume.
What is payload?
Data contained within a message.
What problem does SQS solve and how much volume of msg can it receive?
You can send, store, and receive messages between software components at any volume, without losing messages or requiring other services to be available
Eliminates the complixity and overhead associated with managing and operating message-oriented middleware, and empowers developers to focus on differentiating work
What’s the drawback of tighly coupled architecture?
If one component fails, the other starts failing too.
the whole system can fail.
Loosely coupled architecture?
if one component fails, the others can continue.
the whole system wont fail
What does serverless computing mean?
your code runs on servers but you do not need to provision or manage these servers.
What are the benefits of serverless computing?
focus on innovating new products and features instead of maintaining servers
the flexibility to scale serverless applications automatically.