Skip to content

Commit

Permalink
fix elb
Browse files Browse the repository at this point in the history
  • Loading branch information
alelapi committed Feb 5, 2025
1 parent 02a0a33 commit d9ca8af
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 8 deletions.
7 changes: 4 additions & 3 deletions docs/aws/computing/ecs.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,10 @@ Used by the ECS agent for:
* Automatically adjusts the number of ECS tasks
* Uses AWS Application Auto Scaling
* Scaling metrics:
* ECS Service Average CPU Utilization
* ECS Service Average Memory Utilization
* ALB Request Count PerTarget

- ECS Service Average CPU Utilization
- ECS Service Average Memory Utilization
- ALB Request Count PerTarget

### Scaling Methods
* Target Tracking - based on CloudWatch metric target
Expand Down
26 changes: 21 additions & 5 deletions docs/aws/computing/elb.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,27 +57,35 @@ Elastic Load Balancer is a service that forwards traffic to multiple servers (su
### Gateway Load Balancer (GWLB) - 2020
* Operates at Layer 3 (Network layer)
* Used for deploying and managing third-party virtual appliances
* Combines:

Combines:

* Transparent Network Gateway
* Load Balancer functionality

## Health Checks
* Essential for load balancer operation
* Monitors instance availability
* Configured with:

Configured with:

* Protocol
* Port
* Endpoint path
* Response code expectations

## Security Groups
* Load Balancer Security Group:
* Allows inbound HTTPS/HTTP from anywhere

- Allows inbound HTTPS/HTTP from anywhere

* Application Security Group:
* Allows traffic only from Load Balancer

- Allows traffic only from Load Balancer

## Target Groups
* Support various target types depending on the load balancer:
Support various target types depending on the load balancer:

* EC2 instances
* IP addresses (must be private IPs)
* Lambda functions (ALB only)
Expand All @@ -88,10 +96,14 @@ Elastic Load Balancer is a service that forwards traffic to multiple servers (su
* Ensures client requests route to the same instance
* Supported by all load balancer types
* Cookie types:

* Application-based Cookies:

* Custom cookies (generated by target)
* Application cookies (generated by load balancer - AWSALBAPP)

* Duration-based Cookies:

* Generated by load balancer
* AWSALB for ALB, AWSELB for CLB

Expand All @@ -104,10 +116,13 @@ Elastic Load Balancer is a service that forwards traffic to multiple servers (su
* Provides in-flight encryption
* Certificate management through AWS Certificate Manager (ACM)
* Features:

* Support for multiple certificates (ALB and NLB)
* Server Name Indication (SNI) support
* Customizable security policies

* Certificate handling varies by load balancer type:

* CLB: Single SSL certificate only
* ALB/NLB: Multiple listeners with multiple SSL certificates via SNI

Expand All @@ -116,6 +131,7 @@ Elastic Load Balancer is a service that forwards traffic to multiple servers (su
* Named "Deregistration Delay" for ALB & NLB
* Allows completion of in-flight requests during instance deregistration
* Configuration options:

* Duration: 1-3600 seconds (default 300)
* Can be disabled (set to 0)
* Recommended to set lower values for short-lived requests

0 comments on commit d9ca8af

Please sign in to comment.