Please enable JavaScript.
Coggle requires JavaScript to display documents.
HA Architecture, HA Architecture, On-Premises Services with AWS, Elastic…
-
-
-
Elastic Load Balancers
Load Balancer
What ?
Types
-
:star:
Network Load Balancer
are best suited for load balancing of TCP traffic where extreme performance is required. Operating at the connection level (Layer 4), Network Load Balancer are capable of handling millions of requests per second, while maintaining ultra-low latencies.
Use for extreme performance !
:star:
Classic Load Balancer
are the legacy Elastic Load Balancers. You can load balance HTTP/HTTPS applications and use layer 7-specific features, such as X-Forwarded and sticky sessions. You can also use strict Layer 4 load balancing for applications that rely purely on the TCP protocol.
If your application stops responding, the ELB (Classic Load Balancer) responds with a 504 error
This means that the application is having issues. This could be either at the Web Server layer or at the Database Layer.
Identify where the application is failing, and scale it up or out where possible
X-Forwarded-For Header
If you need the IPv4 address of your end user, look for the x-Forwarded-For header
Health Checks
Instances monitored by ELB are reported as; InService, or OutofService
-
-
-
-
-
-
Auto Scaling
Scaling options
-
:star:
Scale manually
is the most basic way to scale your resources, where you specify only the change in the maximum, minimum, or desired capacity of your Auto Scaling group
Amazon EC2 Auto Scaling manages the process of creating or terminating instances to maintain the updated capacity
-
:star:
Scale based on demand
A more advanced way to scale your resources - using scaling policies - lets you define parameters that control the scaling process
For example, let's say that you have a web application that currently runs on two instances and you want the CPU utilization of the Auto Scaling group to stay at around 50 percent when the load on the application changes. This method is useful for scaling in response to changing conditions, when you don't know when those conditions will change. You can set up Amazon EC2 Auto Scaling to respond for you. We will do this in the next lab
:star:
Use predictive scaling
You can also use Amazon EC2 Auto Scaling in combination with AWS Auto Scaling to scale resources across multiple services
AWS Auto Scaling can help you maintain optimal availability and performance be combining predictive scaling and dynamic scaling (proactive and reactive approaches, respectively) to scale your Amazon EC2 capacity faster
has 3 components
:warning:
Configuration Templates
Groups uses a launch template or a launch configuration as a configuration template for its EC2 instances. You can specify information such as the AMI ID, instance type, key pair, security groups, and block device mapping for your instances
-
:warning:
Scaling Options
Scaling Options provides several ways for you to scale your Auto Scaling groups. For example, you can configure a group to scale based on the occurrence of specified conditions (dynamic scaling) or on a schedule
CloudFormation
-
Quick Start is a bunch of CloudFormation templates already built by AWS Solutions Architects allowing you to create complex environments very quickly
Elastic Beanstalk
You can quickly deploy and manage applications in the AWS Cloud without worrying about the infrastructure that runs those applications. You simply upload your application, and Elastic Beanstalk automatically handles the details of capacity provisioning, load balancing, scaling and application health monitoring