The implementation of your services and handlers remains the same for both deployment options.
Have a look at the deployment section for guidance on how to deploy your services on AWS Lambda.
Using Java 21 Virtual Threads
If you use a JVM >= 21, you can use virtual threads to run your services:
builder.bind( new Greeter(), HandlerRunner.Options.withExecutor(Executors.newVirtualThreadPerTaskExecutor()));
SDKs can validate that incoming requests come from a particular Restate
instance. You can find out more about request identity in the
Security docs. You will need to use the request identity dependency .