Pocket Region

Pocket Region demo

Real S3, SQS, DynamoDB, and Lambda, running in this tab. No server answers the terminal.

booting: fetching the runtime from jsDelivr and the wheels from /region/vendor…
$ aws

This terminal is built on awsCli. Use it to put an AWS console in your own page.

A Lambda function

Deploy this handler, then invoke it. It runs in a Web Worker.

A Lambda that writes to S3

The handler imports the AWS SDK bare and makes a client with no options. The runtime points it at the region, as Lambda points one at AWS. Each order becomes an object in the bucket.

Show the function's code

Concurrency

Each password is hashed by its own invocation, in its own environment, on its own CPU core, so five take about as long as one.

Show the function's code