Wednesday, October 22, 2025

AWS - Tiny Facts

2 AWS services that provide security log data to provide insight into how the service is operating are:

  1. AWS CloudTrail
  2. AWS Config

Besides this, AWS Security Hub and AWS GuardDuty can also be used for insights into your security. 

--------------------------------------------------------------------------------------------------------

Connection Draining Or Deregistration Delay in AWS

  • Definition:
    Connection Draining is a feature of Elastic Load Balancing (ELB – Classic Load Balancer) that ensures in-flight requests are completed before an EC2 instance is deregistered, unhealthy, or terminated.

  • Why it matters:
    Without connection draining, if you remove or replace an instance, any existing requests on that instance would be cut off immediately, leading to user errors or dropped sessions.

  • How it works:

    1. When connection draining is enabled, the load balancer stops sending new requests to the instance.

    2. Existing connections are allowed to finish within a configured timeout period (default: 300 seconds, max: 3600 seconds).

    3. If connections are not closed by the timeout, they are forcibly terminated.

  • Scope:

    • Available for Classic Load Balancer (CLB).

    • In Application Load Balancer (ALB) and Network Load Balancer (NLB), the similar concept is called Deregistration Delay.

-------------------------------------------------------------------------------------------------------------------

No comments:

Post a Comment

CI/CD - Safe DB Changes/Migrations

Safe DB Migrations means updating your database schema without breaking the running application and without downtime . In real systems (A...