---
title: "Discussion on \"Real-Time AI Chat with Lambda + API Gateway WebSockets\" | Hashnode"
description: "Discussion on \"Real-Time AI Chat with Lambda + API Gateway WebSockets\". Stream LLM responses over WebSockets with a fully serverless backend. No EC2, no containers. Just Lambda, Bedrock, and DynamoDB."
url: "https://hashnode.com/posts/real-time-ai-chat-with-lambda-api-gateway-websockets/6a1aa71a524a03eecd72d60d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Real-Time AI Chat with Lambda + API Gateway WebSockets](https://blog.harun.dev/real-time-ai-chat-with-lambda-api-gateway-websockets?utm_source=hashnode&utm_medium=feed)

Stream LLM responses over WebSockets with a fully serverless backend. No EC2, no containers. Just Lambda, Bedrock, and DynamoDB.

May 30 · 16 min read · blog.harun.dev  
Read the article

-   [#aws](https://hashnode.com/tag/aws)
-   [#serverless](https://hashnode.com/tag/serverless)
-   [#ai](https://hashnode.com/tag/ai)
-   [#websockets](https://hashnode.com/tag/websockets)
-   [#nodejs](https://hashnode.com/tag/nodejs)

## Written by

[Harun R Rayhan](https://hashnode.com/@HarunRRayhan)

@HarunRRayhan

  
[View profile](https://hashnode.com/@HarunRRayhan)

Senior Software Engineer | AWS Community Builder | Cloud Consultant | Serverless Enthusiast | 10x AWS & Laravel Certified | CSM®, CSD®

He is a Senior Software Engineer. An AWS Community Builder and 10x AWS Certified. He loves to work on Laravel and is a Certified Laravel Developer. He is an agile/Scrum practitioner with CSM® &amp; CSD®. He mostly writes about AWS, Serverless, Container, Laravel, SRE, and DevOps in General. You can follow him on Social media.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
