Module 2: Compute in the Cloud (Part 2) Flashcards
What is scalability in the context of Amazon EC2?
Scalability in Amazon EC2 involves designing your architecture to automatically respond to changing demand by scaling out or in, ensuring that you pay for only the resources you use and can meet customer needs.
Which AWS service provides automatic scaling functionality for Amazon EC2 instances?
The AWS service that provides automatic scaling functionality for Amazon EC2 instances is Amazon EC2 Auto Scaling.
What is the purpose of Amazon EC2 Auto Scaling?
Amazon EC2 Auto Scaling enables the automatic addition or removal of Amazon EC2 instances in response to changing application demand. It helps maintain application availability by scaling instances in and out as needed.
What are the two approaches available in Amazon EC2 Auto Scaling?
Within Amazon EC2 Auto Scaling, the two approaches available are dynamic scaling, which responds to changing demand, and predictive scaling, which automatically schedules the appropriate number of Amazon EC2 instances based on predicted demand.
What is the purpose of Amazon EC2 Auto Scaling in relation to scaling?
Amazon EC2 Auto Scaling allows for the flexible addition and termination of Amazon EC2 instances based on application needs. It enables scaling by adding instances when necessary and terminating them when no longer needed.
What is the minimum capacity in an Auto Scaling group?
The minimum capacity in an Auto Scaling group is the minimum number of Amazon EC2 instances that launch immediately after creating the group. It ensures that there is at least one instance running at all times.
What is the desired capacity in an Auto Scaling group?
The desired capacity in an Auto Scaling group is the number of Amazon EC2 instances that you want the group to maintain. It can be set higher than the minimum capacity and represents the preferred number of instances for your application.
What is the maximum capacity in an Auto Scaling group?
The maximum capacity in an Auto Scaling group is the upper limit of the number of Amazon EC2 instances that the group can scale out to in response to increased demand. It ensures that the group does not exceed a certain number of instances.
How does Amazon EC2 Auto Scaling contribute to cost-effectiveness?
Amazon EC2 Auto Scaling allows you to pay for only the instances you use, when you use them. By dynamically scaling the number of instances based on demand, it provides a cost-effective architecture that ensures the best customer experience while reducing expenses.
What is Elastic Load Balancing in AWS?
Elastic Load Balancing is an AWS service that automatically distributes incoming application traffic across multiple resources, such as Amazon EC2 instances. It acts as a single point of contact for incoming web traffic to an Auto Scaling group, ensuring high performance and availability.
How does Elastic Load Balancing distribute workload across multiple resources?
Elastic Load Balancing distributes the workload across multiple resources, such as Amazon EC2 instances, so that no single instance has to handle the bulk of incoming traffic. It evenly routes requests to available resources.
How do Elastic Load Balancing and Amazon EC2 Auto Scaling work together?
Elastic Load Balancing and Amazon EC2 Auto Scaling are separate services that work together to enhance application performance and availability. Auto Scaling adjusts the number of instances based on demand, while Elastic Load Balancing distributes traffic to the available resources.
How is Elastic Load Balancing compared to registers in a coffee shop example?
In the example, the coffee shop registers represent Amazon EC2 instances, and the coffee shop employee directing customers to registers represents the load balancer. Just as the employee ensures even distribution of customer requests, the load balancer evenly distributes incoming traffic to the available resources.