Skip to content
Proxylity Blog·

💡UDP Gateway Adds WireGuard Flexibility and Lambda Async Invocations

WireGuard now more flexible in AWS; Lambda async invocations too

TL;DR

AWS UDP Gateway introduces two new features: AllowUnknownPeers for more flexible WireGuard connections and UseAsyncInvoke for Lambda destinations, enabling asynchronous workflows. These changes offer greater flexibility and efficiency in network configurations.

Today, AWS UDP Gateway rolls out two major updates: the 'AllowUnknownPeers' property for WireGuard Listeners and the 'UseAsyncInvoke' argument for Lambda destinations. With AllowUnknownPeers set to true, WireGuard connections no longer require pre-registration, making it easier to manage dynamic client environments. For Lambda destinations, UseAsyncInvoke allows asynchronous invocation, decoupling packet processing from immediate response requirements. This is a big win for teams looking to streamline complex workflows and improve network scalability.

UDP Gateway Adds WireGuard Flexibility and Lambda Async Invocations — Proxylity Blog

Key Points

1

UDP Gateway's new 'AllowUnknownPeers' property enables WireGuard connections without pre-registration, enhancing network flexibility.

2

Setting UnknownPeerPreSharedKey requires unknown peers to include a PSK in their configuration for secure access.

3

Lambda destinations can now use UseAsyncInvoke for asynchronous invocation, firing packets into workflows without waiting for responses.

4

AWS retries Lambda invocations with async mode up to twice on failure, ensuring reliability and durability of workloads.

5

Ensure your functions are idempotent or configure a dead-letter queue when using async invocation to avoid data loss.

Why It Matters

If you're managing dynamic client environments or long-running workflows in AWS, the new UDP Gateway features will streamline your setup. For instance, teams with frequently changing client configurations can now benefit from more flexible WireGuard connections without the overhead of pre-registration. Similarly, Lambda functions involved in complex asynchronous processing gain significant efficiency and reliability improvements.

awsudp-gatewaywireguardlambdaasynchronous-processing

Frequently Asked Questions

Why does this matter?

If you're managing dynamic client environments or long-running workflows in AWS, the new UDP Gateway features will streamline your setup. For instance, teams with frequently changing client configurations can now benefit from more flexible WireGuard connections without the overhead of pre-registration. Similarly, Lambda functions involved in complex asynchronous processing gain significant efficiency and reliability improvements.

What happened?

AWS UDP Gateway introduces two new features: AllowUnknownPeers for more flexible WireGuard connections and UseAsyncInvoke for Lambda destinations, enabling asynchronous workflows. These changes offer greater flexibility and efficiency in network configurations.

Comments

Subscribe to join the conversation...

Be the first to comment

Enjoyed this article?

Get it daily. 7am. Free. Reads in 5 minutes.

Join 3,009 builders reading daily.

Also get