Arrow Left IconExplore Scalers

Use events from AWS SQS to trigger autoscaling with Kedify and KEDA

Book demo !
AWS SQS Diagram

Amazon Web Services Simple Queue Service is a fully managed message queuing service that allows you to decouple and scale microservices, distributed systems, and serverless applications.

It enables asynchronous communication and is designed to be highly scalable and simple to use in a broad range of scenarios. The integration with KEDA enhances this capability by enabling fine-grained, event-driven autoscaling that responds dynamically to the fluctuating demands on message processing, ensuring optimal resource utilization and performance without manual intervention.

Featured Use Cases

Scenario:

E-commerce platforms need to dynamically scale services that process customer orders during high traffic times like sales or promotions.

AWS SQS Scaler Usage:

Automatically scale based on the number of messages in the SQS queue, which represent incoming orders waiting to be processed.

KEDA Usage:

KEDA scales order processing backends by monitoring the SQS queue length, ensuring that each order is processed quickly even during peak times.
Get Started
                    apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
  name: order-processing-scaledobject
  namespace: default
spec:
  scaleTargetRef:
    name: order-processor
  minReplicaCount: 1
  maxReplicaCount: 100
  triggers:
  - type: aws-sqs-queue
    metadata:
      queueURL: https://sqs.eu-west-1.amazonaws.com/account_id/order-queue
      queueLength: "10"
      awsRegion: "eu-west-1"