Skip to content

proxylity/examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

110 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proxylity Examples

Transform UDP with Serverless-First Architecture

Traditional UDP services require dedicated servers, complex load balancing, and constant infrastructure management. Proxylity UDP Gateway revolutionizes this approach by bringing UDP into the modern serverless ecosystem, allowing you to build highly scalable, cost-effective UDP applications that automatically scale from zero to millions of packets per second.

Why UDP Gateway Changes Everything

As a software architect or developer, you understand the challenges of building UDP-based systems:

  • Infrastructure Complexity: Managing dedicated UDP servers, load balancers, and auto-scaling groups
  • Cost Inefficiency: Paying for idle capacity during low-traffic periods
  • Operational Overhead: Monitoring, patching, and maintaining always-on infrastructure
  • Integration Friction: Bridging UDP protocols with modern cloud-native services

UDP Gateway eliminates these pain points by providing UDP as a Service - serverless UDP processing that integrates seamlessly with AWS Lambda, Step Functions, EventBridge, and other managed services. Your UDP traffic is automatically captured, routed, and processed using the same event-driven patterns you already use for HTTP APIs.

Real-World Integration Patterns

The examples below demonstrate proven architectural patterns that solve actual business challenges. Each example is production-ready and showcases different aspects of serverless UDP architecture - from simple packet processing to complex multi-modal workflows and secure tunneling solutions.

Whether you're building IoT telemetry systems, real-time gaming backends, DNS services, or VPN solutions, these examples provide the blueprints for implementing UDP services that are:

  • Serverless-first - No infrastructure to manage
  • Auto-scaling - Handle traffic spikes effortlessly
  • Cost-optimized - Pay only for packets processed
  • Cloud-native - Integrate with your existing AWS services

Example Solutions

  • UDP Packet Counter - An introductory example implemented in Lambda, with a Step Functions variant. Also available in Go, C++, and Python
  • Multi-Region Packet Counter - Demonstrates global UDP processing with region-specific routing and failover capabilities
  • Syslog to Cloud - Enterprise-grade log ingestion over UDP, routing to CloudWatch Logs and S3 via Firehose - completely code-free
  • EventBridge Integration - Event-driven UDP processing showcasing how to integrate UDP traffic with AWS's event backbone
  • SQS Queues - Demonstrates directing UDP packets to SQS queues (standard and FIFO) with configurable delivery options and message attributes
  • Multi-Modal Workflows - Sophisticated example combining HTTP browser interactions with UDP processing and long-running tasks
  • CoAP Time Service - UDP Gateway speaks CoAP — the REST-like protocol purpose-built for constrained IoT devices. Binary packets are decoded to JSON by the coap formatter before delivery, and re-encoded on the way back. A serverless Step Functions state machine routes requests by URI path and handles Confirmable/Non-confirmable semantics correctly, with zero infrastructure to manage.
  • DNS Filtering Service - Production-ready DNS resolver with domain blocking and redirection capabilities for custom DNS infrastructure
  • RADIUS Authorization and Accounting - Cloud-based RADIUS authentication and accounting system with session state tracking, packet archiving, and multi-region deployment support. Like FreeRADIUS and NPS if they were modern, scalable and had super powers.
  • WireGuard Echo Service - Serverless solution supporting UDP echo and ICMP ping through encrypted tunnels
  • IoT Temperature Display/Sensor - IoT device based on a "Cheap Yellow Display"1, 2 with WireGuard-ESP32 protected telemetry and time synchronization (NTP)
  • UDP to REST API - Demonstrates using an "inside out" API Gateway to proxy UDP sensor data to Adafruit IO's REST API.
  • Momento Cache over UDP - Superior performance for GET/SET operations for Momento Cache when network connections degrade.
  • Supabase over UDP - Calling Supabase via UDP from the edge to integrate IoT devices with your web app.

And more!


Ready to Build a Serverless UDP Solution?

Transform your UDP architecture today with Proxylity UDP Gateway. Get started with a free trial, or on the free tier and see how serverless UDP can simplify your infrastructure while reducing costs.

Get Proxylity UDP Gateway on AWS Marketplace


Proxylity and UDP Gateway are trademarks of Proxylity LLC. AWS, Lambda, Step Functions, EventBridge, and CloudWatch are trademarks of Amazon.com, Inc. WireGuard is a trademark of Jason A. Donenfeld.

About

Examples of using Proxylity UDP Gateway covering simple and production-focused use cases.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors