shlogg · Early preview
Vinod Kumar @vinod827

Scaling Kubernetes Apps With KEDA & AWS SQS: A Step-by-Step Guide

Scale your app with KEDA & AWS SQS! Install KEDA, create ScaledObject & TriggerAuthentication, deploy app & test scaling by adding messages to SQS queue. 2 auth methods: IAM User Credentials or TriggerAuthentication.

KEDA (or, Kubernetes Event-Driven Autoscaling) is a Kubernetes-based event-driven auto-scaler for Pods. With KEDA, we can scale out our application easily and then scale back to 0 which is not possible when it comes to the default HPA (Horizontal Pod Autoscaler) of Kubernetes. With HPA, we can only bring it down to 1 pod and not 0 with metric support of only CPU & Memory. Whereas, KEDA has a huge support of external metrics/services that can act as a source of events providing the event data to scale the apps. For instance, we can have KEDA Scalers like AWS SQS, Datadog, RabbitMQ, Kafka, Cloud...