4. System Reliability
Reliability is the characteristic of a
system to acquire compute
resources when patterns in traffic
change and the ability to acquire
resources dynamically to match the
demand.
5. AWS ELB (Elastic Load Balancing)
1. A Reserver Proxy Service
2. Decoupling Applications
3. Scaling Horizontally (Scale-up) with High
availability
4. Health Checks
7. The Elastic Load Balancing service provides with three different
load balancers for the general and specific purpose:
● Classic Load Balancer
● Application Load Balancer
● Network Load Balancer
ELB Types
8. Classic Load Balancer
Layer 4 or Layer 7 Load Balancing.
CLB (Classic Load Balancer) is
intended for applications that were
built within the EC2-Classic
network.
9. Classic Load Balancer
● Support for EC2-Classic
● Support for TCP and SSL
listeners
● Support for sticky sessions
using application-generated
cookies
10. Network Load Balancer
Only Layer 4 Load Balancing.
For extreme performance/low
latency applications are
recommended using Network Load
Balancer
11. Network Load Balancer
NLB works at layer 4 with the
ability to scale up to
millions of requests per second and
they can are compliant with the
WebSockets protocol
15. Stateless versus Stateful
Robust scalable and fault-tolerant
architectures are designed using
stateless servers。Services like
DynamoDB and ElastiCache are
great options to offload temporary
session data to an external service
16. Stateless versus Stateful
Stateful applications, on the other hand,
do manage conversational state with
the end user and are not fault tolerant。
To enable sticky sessions and send a
session cookie to rout all future
request to the same server
No sticky sessions Sticky sessions
17. Internet-facing versus internal-facing
Internet-Facing
An internet-facing load balancer
will listen for requests coming
from the internet.
Internal-Facing
internal-facing load balancer will
only route requests from private
IP addresses across the VPC.
Internet-Facing Internal-Facing
18. TCP Passthrough
This connection mode will take the
request and pass it through as is
without adding any additional
header information, this is a good fit
for SSL certificates that are out of
the scope of the ELB, for example,
CloudFront incoming requests.
20. Connection Draining
“Graceful Shutdown”
A graceful method to remove in
service instances that have in-flight
requests so end users have a good
experience when rolling out new
versions of code or scale out
activities are performed.
21. Auto Scaling Lab
● Create AMI Image
● Create ALB
● Create Launch Configuration
● Create Auto Scaling Group