November 2026 Floci Update Roundup: Lambda Web Functions and Aurora DSQL Added

November 2026 Floci Update Roundup: Lambda Web Functions and Aurora DSQL Added

A summary of Floci 2.4.0 to 2.6.0. On 2.6.0, I ran Lambda Web Functions, Aurora DSQL and new EventBridge custom event buses, checking deployment, IAM token connections and SQS delivery. Also covers settings to review when moving to 2.5.0 or later.
2026.12.02

This page has been translated by machine translation. View original

Hello. I'm Takeda from the Service Development Department.

Every month, I cover "Floci", an open-source AWS emulator that appeared as an alternative to LocalStack. The latest three articles are as follows.

Floci releases are cut automatically on the 15th and at the end of each month (US Central Time). To include the end-of-month release, I've moved publication to the beginning of the month starting with this article. Three releases have come out since the last article: 2.4.0, 2.5.0, and 2.6.0. This time I summarize the updates from the past month, and then ran the following three with 2.6.0.

  • Lambda Web Functions
  • Aurora DSQL
  • EventBridge's new custom event bus (called EventBridge V2 in Floci)

Main changes in the past month (as of December 2, 2026)

Here is a summary of the changes from the previous article (at 2.3.0) to now (2.6.0).

  • 3 releases (by CHANGELOG dates: 2.4.0 on October 31, 2.5.0 on November 15, 2.6.0 on November 30). 3,025 commits between 2.3.0 and 2.6.0
  • CHANGELOG entries: 824 for 2.4.0, 777 for 2.5.0, 859 for 2.6.0
  • GitHub stars went from 27,280 to 32,269
  • Docker image (amd64, compressed size) went from 86.8MB to 87.6MB
  • New services include Lambda Web Functions, Aurora DSQL, EventBridge V2, EMR on EKS, Payment Cryptography, and X-Ray
  • The Java package name changed from io.github.hectorvent.floci to io.floci.aws, and the log category setting names changed accordingly
  • A Helm chart for Kubernetes was added

On November 11, AWS released its official local emulator, "AWS Emulator". I've summarized its fidelity score and caveats when running it in "I checked AWS Emulator's fidelity score, caveats, and agent skill". Floci's author touched on this in the November 15 blog post "State of the Flock #005", citing as Floci's differences that it is developed mainly by people, that it is MIT-licensed with no auth tokens or feature restrictions, and that it also handles clouds other than AWS. In 2.6.0, at least 8 PRs were merged to align error message wording and the like with AWS, based on the evaluation suite that AWS publishes for AWS Emulator.

Release and coverage numbers

The CHANGELOG breakdown is 210 Features, 604 Bug Fixes, and 10 Performance Improvements for 2.4.0. For 2.5.0 it is 165, 580, and 32, and for 2.6.0 it is 231, 622, and 6. The GitHub release notes are truncated partway because of a 125,000-character limit, and the full list is in CHANGELOG.md. Until last time I counted lines of the release notes, so from 2.4.0 onward I count from the CHANGELOG.

The services listed in services of /_floci/health went from 127 at 2.3.0 to 137 at 2.6.0.

The 10 additions are as follows.

  • dsql, eventsv2, emr-containers, xray, signer
  • paymentcryptography, payment-cryptography-data
  • quicksight, resource-groups, cloudfront-keyvaluestore

Java package name and log categories

In 2.5.0, the Java package name changed from io.github.hectorvent.floci to io.floci.aws (#7689). The PR description lists the change in logger category names as the user-visible impact.

If you raise the log level per service, rewrite the setting names.

# Up to 2.4.0
QUARKUS_LOG_CATEGORY__IO_GITHUB_HECTORVENT_FLOCI_SERVICES_SQS__LEVEL=TRACE
# From 2.5.0
QUARKUS_LOG_CATEGORY__IO_FLOCI_AWS_SERVICES_SQS__LEVEL=TRACE

The preparatory PR for the rename (#6773) says that Quarkus does not raise an error when a category for a nonexistent package is specified, so the old settings are silently ignored. #7689 also states that persisted data does not contain Java class names, so it can be loaded as is.

Test environment

I prepared a docker-compose.yml and started it. An Aurora DSQL cluster accepts connections on port 5432 of the container, so I expose that too. On my machine, host port 5432 was used by another PostgreSQL, so I mapped it to 15432.

services:
  floci:
    image: floci/floci:2.6.0
    ports:
      - "4566:4566"
      - "15432:5432"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
$ export AWS_ENDPOINT_URL=http://localhost:4566
$ export AWS_DEFAULT_REGION=us-east-1
$ export AWS_ACCESS_KEY_ID=test AWS_SECRET_ACCESS_KEY=test

For the AWS CLI, I used both 2.36.30 installed on the host and 2.42.7 from the amazon/aws-cli image, because 2.36.30 does not have the lambda-web and eventsv2 commands. 2.42.7 was run attached to the same Docker network as Floci, and in that case AWS_ENDPOINT_URL is http://floci:4566. The commands in this article are written uniformly as aws. psql is also not on the host, so I used the one from the postgres:16 image.

Running Lambda Web Functions with aws lambda-web deploy

Lambda Web Functions is a feature AWS announced on October 12. It runs an application written as an HTTP server on Lambda as is, and receives requests at a domain name assigned to the endpoint. In Floci, 2.4.0 added the management API (#5706), HTTP delivery on the Node.js runtime (#5760), revision and endpoint management, and log output (#5919), all together.

The documentation says the AWS CLI's aws lambda-web deploy works against Floci if you set AWS_ENDPOINT_URL. deploy also calls STS, S3, and IAM in addition to Lambda Web, so the target is specified through the environment variable.

Deploying the starter application

With --hello-world, it generates and deploys a starter application.

$ aws lambda-web deploy --name hello-web --hello-world --create
Creating starter application in ./hello-web ...
Creating deployment package ...
Preparing Amazon S3 bucket ...
Preparing AWS IAM execution role ...
Uploading deployment package ...
Creating Lambda Web Function ...
Waiting for endpoint to become active (timeout 600s) ...
https://afq3nx90sz1ssuvl.001.lambda-web.us-east-1.localhost:4566
Console: https://us-east-1.console.aws.amazon.com/lambda/home#/web-functions/hello-web

The generated files are server.ts, package.json, README.md, and AGENTS.md. server.ts is a server that listens on port 3000 with node:http and just returns JSON.

const port = Number(process.env.LOCAL_PORT ?? 3000);

const server = http.createServer((req, res) => {
  res.writeHead(200, { 'content-type': 'application/json' });
  res.end(JSON.stringify({ message: 'Hello from Lambda Web!', path: req.url }));
});

The S3 bucket and IAM role prepared along the way were also created on Floci. The deployment package is stored in the bucket awscli-lambdaweb-000000000000-us-east-1-an. The execution role was awscli-lambdaweb-hello-web.

Sending a request to the endpoint

The displayed URL is https://, but in this Floci setup I called it over HTTP. curl on macOS resolves *.localhost to 127.0.0.1, so you can send to the hostname as is. The documentation also describes a method of putting the domain name including the port in the Host header and sending to http://localhost:4566/.

$ curl -i http://afq3nx90sz1ssuvl.001.lambda-web.us-east-1.localhost:4566/
HTTP/1.1 200 OK
Date: Mon, 30 Nov 2026 09:52:06 GMT
Content-Type: application/json
lambda-web-logstream: 2026/11/30/hello-web[rev-p9e2d]463758150b794480adcbbf5f5aae6e99
lambda-web-request-id: KV3POA3OUREDVZOXHOLPMUXL3Q
transfer-encoding: chunked

{"message":"Hello from Lambda Web!","path":"/"}

The revision's execution environment is a public.ecr.aws/lambda/nodejs:24 container, which starts on the first request. The response above took about 0.5 seconds. In a run before the image was pulled, the first response took 16 seconds. From the second request on, responses returned in a few milliseconds.

In the log group /aws/lambda/web/hello-web, platform events and application output were recorded as JSON. First came platform.initStart, followed by the application's listening on port 3000. After that were platform.initReport and platform.invokeStart. The runtimeVersion in platform.initStart is nodejs24.x:nodejs.web24.v30.

Changing the code to release a new revision

I rewrote the message in server.ts, specified the directory with --code, and ran deploy again.

$ aws lambda-web deploy --name hello-web --code ./hello-web
Creating deployment package ...
Preparing Amazon S3 bucket ...
Uploading deployment package ...
Creating Web Function revision ...
Waiting for revision rev-q2hhx to become active (timeout 600s) ...
Endpoint 'dev' auto-deploys the latest revision and will serve the new revision after it becomes Active.
Waiting for endpoint 'dev' to become active (timeout 600s) ...
Console: https://us-east-1.console.aws.amazon.com/lambda/home#/web-functions/hello-web
https://afq3nx90sz1ssuvl.001.lambda-web.us-east-1.localhost:4566
$ curl http://afq3nx90sz1ssuvl.001.lambda-web.us-east-1.localhost:4566/x
{"message":"Hello from the new revision","path":"/x"}

The endpoint dev has autoDeploymentMode set to LatestRevision, and when the new revision becomes Active, it switches over with a weight of 100%. The response of get-web-function-endpoint is as follows (excerpt).

{
    "endpointName": "dev",
    "endpointType": "HomeRegion",
    "authType": "ApplicationManaged",
    "autoDeploymentMode": "LatestRevision",
    "revisionWeights": [
        {
            "revisionId": "rev-q2hhx",
            "weight": 100
        }
    ],
    "state": "Active"
}

Containers are started per revision, and the old revision's container remained after the switch. According to the documentation, it stops after a period with no requests. Also, in Floci, revisions and endpoints are stored as Active immediately after creation. The creation response is Pending, the same as AWS, and the next retrieval returns Active.

Connecting to Aurora DSQL with an IAM token

Aurora DSQL was added in 2.4.0. The basics are the management API (#6048) and per-cluster endpoints (#6102). Mapping IAM roles to database roles with AWS IAM GRANT (#6143) and DSQL's dialect and transaction restrictions (#6185) are in the same 2.4.0. In 2.6.0, a backend that uses an already-running PostgreSQL server (#8795) was added. You can choose it instead of the method of starting a Docker container per cluster.

The cluster itself is a PostgreSQL 16 container. It accepts DSQL-shaped connections on port 5432 of the Floci container, requires TLS, and uses an IAM auth token as the password. On my machine this port is exposed on host port 15432.

Creating a cluster and connecting with psql

$ aws dsql create-cluster --no-deletion-protection-enabled
{
    "identifier": "36dxcvq2rnhxbldhczsnczwcge",
    "arn": "arn:aws:dsql:us-east-1:000000000000:cluster/36dxcvq2rnhxbldhczsnczwcge",
    "status": "CREATING",
    ...
    "endpoint": "36dxcvq2rnhxbldhczsnczwcge.dsql.us-east-1.localhost.floci.io"
}

It became ACTIVE in about 6 seconds. The endpoint's localhost.floci.io resolves to 127.0.0.1 from the host. Which cluster to connect to is determined by the server name in the TLS SNI.

The certificate is signed by Floci's local CA, so I obtain the CA and connect with sslmode=verify-full. For the password, I use a token for admin generated with the AWS CLI.

$ curl -s http://localhost:4566/_floci/ca.pem -o floci-root-ca.pem
$ H=36dxcvq2rnhxbldhczsnczwcge.dsql.us-east-1.localhost.floci.io
$ export PGPASSWORD=$(aws dsql generate-db-connect-admin-auth-token --hostname $H)
$ psql "host=$H port=15432 user=admin dbname=postgres sslmode=verify-full sslrootcert=floci-root-ca.pem"
postgres=> show transaction_isolation;
 transaction_isolation
-----------------------
 repeatable read
(1 row)

postgres=> create table orders (id uuid primary key default gen_random_uuid(), item text, qty int);
CREATE TABLE
postgres=> create index idx_item on orders(item);
ERROR:  unsupported mode. please use CREATE INDEX ASYNC.
postgres=> create index async idx_item on orders(item);
           job_id
----------------------------
 54vsz2m6iveqhdqxlhy53eu2uq
(1 row)

The isolation level is REPEATABLE READ, the same as DSQL, and a regular CREATE INDEX is rejected with guidance to use CREATE INDEX ASYNC. Mixing DDL and DML in one transaction was also rejected.

postgres=> begin;
BEGIN
postgres=*> create table t2 (id int primary key);
CREATE TABLE
postgres=*> insert into t2 values (1);
ERROR:  ddl and dml are not supported in the same transaction
DETAIL:  ddl count: 1, dml count: 1
postgres=!> commit;
ROLLBACK

Connecting from a different role with AWS IAM GRANT

Database roles other than admin can be connected to only by IAM roles or users mapped with AWS IAM GRANT. I created an IAM role app-role on Floci, mapped it to the database role app, and allowed only SELECT on orders.

create role app with login;
aws iam grant app to 'arn:aws:iam::000000000000:role/app-role';
grant select on orders to app;

I generated a generate-db-connect-auth-token (the token for non-admin users) with credentials obtained by assume-role on app-role, and connected with user=app.

postgres=> select sys.iam_session_user();
            iam_session_user
-----------------------------------------
 arn:aws:iam::000000000000:role/app-role
(1 row)

postgres=> insert into orders (item, qty) values ('x', 1);
ERROR:  permission denied for table orders

SELECT works, and INSERT gives a permission error. I also checked combinations of token type and role. If you create an admin token with app-role credentials and connect as app, it is rejected. The message is Wrong user to action mapping. user: app, action: DbConnectAdmin. When connecting as app with unmapped credentials (test), you get unable to accept connection, access denied.

The documentation also describes differences from AWS. DSQL uses optimistic concurrency control: conflicting transactions both run, and the one that commits later fails. Because Floci uses PostgreSQL, a conflicting write waits for the other transaction, and fails with the same error as DSQL (40001, OC000) at the point the other transaction commits.

Delivering to SQS from EventBridge's new custom event bus

On September 24, AWS rebuilt and newly released EventBridge's custom event bus. The previous bus was renamed "Custom event bus - Classic". With the new bus, you filter events with a resource called a subscriber and deliver them to more than 250 AWS services. The AWS CLI command is aws eventsv2, and the name in Floci's documentation is EventBridge V2.

In Floci, EventBridge V2 was added in 2.5.0 (#6962), and 2.6.0 added receiving Webhook events (#9424) and delivery to Lambda (#9720). AWS's Webhook Events was announced on November 20.

Filtering with a subscriber's filter

I create a bus and a subscriber that delivers to the SQS queue v2-orders. The filter uses the DATA scope and lets through only events whose source is blog.orders and whose detail.amount is 100 or more. $BUS is the EventBusArn in the create-event-bus response.

$ aws eventsv2 create-event-bus --name orders-bus
{
    "EventBusArn": "arn:aws:events:us-east-1:000000000000:event-busv2/orders-bus/9f8gihfq53goffpjv6n7p3tsx",
    "Name": "orders-bus",
    "State": "ACTIVE",
    ...
}
$ aws sqs create-queue --queue-name v2-orders
$ aws eventsv2 create-subscriber --name big-orders --event-bus-arn "$BUS" \
    --invoke-configuration '{"RoleArn":"arn:aws:iam::000000000000:role/ebv2-role",
      "TargetArn":"arn:aws:sqs:us-east-1:000000000000:v2-orders"}' \
    --filter-configuration '{"Language":"EVENT_BRIDGE_PATTERN","Filters":[{"Scope":"DATA",
      "Pattern":"{\"source\":[\"blog.orders\"],\"detail\":{\"amount\":[{\"numeric\":[\">=\",100]}]}}"}]}'

I send events with amount of 250 and 30 in a single put-events.

$ aws eventsv2 put-events --event-bus-arn "$BUS" --entries '[
    {"Source":"blog.orders","DetailType":"OrderPlaced","Detail":"{\"orderId\":\"o-1\",\"amount\":250}"},
    {"Source":"blog.orders","DetailType":"OrderPlaced","Detail":"{\"orderId\":\"o-2\",\"amount\":30}"}]'
{
    "FailedEntryCount": 0,
    "Entries": [
        {"EventId": "4aae0789-...", "SequenceNumber": "1", "SuccessCode": "PUBLISHED"},
        {"EventId": "c3750a73-...", "SequenceNumber": "2", "SuccessCode": "PUBLISHED"}
    ]
}

Only the single event with 250 arrived in the queue. The body is an event in the same shape as conventional EventBridge.

$ aws sqs receive-message --queue-url http://localhost:4566/000000000000/v2-orders \
    --query 'Messages[].Body' --output text
{
    "version": "0",
    "id": "4aae0789-2e8e-4d32-8dae-43ff30cccd60",
    "detail-type": "OrderPlaced",
    "source": "blog.orders",
    "account": "000000000000",
    "time": "2026-11-30T09:47:12Z",
    "region": "us-east-1",
    "resources": [],
    "detail": {"orderId": "o-1", "amount": 250}
}

I changed the subscriber's Transformer to WITH_METADATA and resent an event with amount of 120. The body that arrived is split into three parts: Data, Metadata, and SystemMetadata. SystemMetadata contains items added by EventBridge. On my machine there were aws:EventId, aws:IngestionTime, aws:SequenceNumber, aws:DeliveryType (LIVE), and others.

$ aws eventsv2 update-subscriber --subscriber-arn "$SUB" --transformer '{"Type":"WITH_METADATA"}'

$SUB is the SubscriberArn in the create-subscriber response. In Floci, the subscriber's RoleArn only has its format checked, and the role is not assumed at delivery time. In AWS, a role with permissions to the delivery target is required.

Where Floci can deliver

AWS subscribers can deliver to more than 250 services, but Floci delivers only to SQS and Lambda. If you specify an SNS topic, it is rejected at creation.

An error occurred (InvalidInputException) when calling the CreateSubscriber operation: Floci delivers EventBridge V2 events only to Amazon SQS queues and AWS Lambda functions; arn:aws:sns:us-east-1:000000000000:t1 is not one.

The documentation lists these other differences from AWS. Events are not retained so they cannot be replayed, events that fail delivery are discarded, and RetryPolicy and OnFailureConfiguration are only stored and not applied. Also, JSONata transformations are rejected.

Follow-ups from last time

Fixes for the items covered in the previous article landed in 2.4.0 or 2.5.0. The results of running them on 2.6.0 are as follows.

Last time's item State in 2.6.0
For new S3 buckets, the default Block Public Access is only reported and not enforced (#6803) Fixed by contributor PR #7036 and included in 2.5.0. A public policy on a bucket with no configuration gets AccessDenied. The message is only Access Denied, and unlike AWS it does not say BlockPublicPolicy is the reason
A Cognito TOTP code can be used twice (#6804) Fixed in #6808 and included in 2.4.0. Sending the same code to a different login's challenge gives ExpiredCodeException: Your software token has already been used once. This is the same message I confirmed on AWS last time
The key of ChallengeParameters in the TOTP challenge is USERNAME (#6074) Fixed in #6086 and included in 2.4.0. It is now returned as USER_ID_FOR_SRP
PolicyStatus of get-bucket-policy-status is empty Fixed in #6397 and included in 2.4.0. IsPublic is true for a bucket with a public policy
CloudFront's AWS managed cache policies are not registered Included in 2.4.0 via #6698. list-cache-policies --type managed returns 7. The ID of Managed-CachingOptimized is 658327ea-f89d-4fab-a63d-7e88639e58f6, the same as AWS
Filter pattern syntax of FilterLogEvents Included in 2.4.0 via #5903. With { $.level = "ERROR" && $.latency > 100 }, ?ERROR ?WARN, and "disk full", only the matching lines were returned for each
A compound filter (and) in Logs Insights completes with 0 results In the 2.6.0 documentation, a filter containing and and unsupported operators now cause the query to fail. filter level = "ERROR" and latency > 100 is Failed, and a single filter level = "ERROR" is Complete with 1 result. like and stats are Failed

Default Block Public Access and upgrading

#7036 states that buckets persisted by earlier versions are also treated as having no configuration, so public policies are rejected after upgrading. I verified this by loading data persisted with 2.3.0 in 2.6.0.

I created a bucket with a public policy on 2.3.0 and started 2.6.0 on the same volume, and the policy remained as is. Setting the public policy again gives AccessDenied, and get-public-access-block returns true for all four items.

Fetching with an unsigned curl gave different results depending on authorization enforcement settings. With the default settings, S3 does not evaluate anonymous requests, so the result is 200, including for buckets without a policy. It is different when FLOCI_SERVICES_S3_ENFORCE_AUTH and FLOCI_SERVICES_IAM_ENFORCEMENT_ENABLED are enabled. Anonymous access to the bucket that was public on 2.3.0 became 403, because the default RestrictPublicBuckets applies. In tests that set a public policy, explicitly configure the bucket's Block Public Access regardless of whether authorization enforcement is on. If you use account-level settings, those are combined as well.

Other updates

The following table lists updates mentioned in the release notes that I haven't run myself.

Category Content Version
API Gateway Call SQS SendMessage without going through Lambda, using IntegrationSubtype of an HTTP API (#7969) 2.5.0
Lambda Provisioned concurrency (#6317, #6320). InvokeWithResponseStream (#8964). nodejs26.x (#9393), image resolution for python3.15 and ruby4.0 (#9548) 2.4.0 / 2.6.0
DynamoDB On-demand backup and point-in-time recovery (#6052, #6110). An option to return TransactionConflict as the transaction cancellation reason (#9179) 2.4.0 / 2.6.0
CloudTrail LookupEvents returns recorded management events (#9157). IAM API calls are recorded (#9263) 2.6.0
Observability and testing X-Ray traces and service graph (#7733). JSONL logs of requests and responses that can be enabled via settings (#8767). A mechanism to control the time of scheduled processing (#9705) 2.5.0 / 2.6.0
CloudFront and AppSync CloudFront KeyValueStore (#8108). AppSync HTTP data sources (#7609). Connection groups and distribution tenants for multi-tenant distribution (#9214, #9398) 2.5.0 / 2.6.0
Step Functions Workflow variables in JSONPath states (#7106). Evaluation of task execution roles (#7574, #7722, etc.) 2.5.0
core The JVMs of Lambda, ECS, Batch, and Flink containers trust Floci's CA (#6945). Conversion of LocalStack-compatible environment variables moved to Java (#5851) 2.4.0
Kubernetes Helm chart (#7749). EKS Auto Mode cluster configuration, ALB Ingress, and NLB Service (#8940, #9413, #9316) 2.5.0 / 2.6.0
EMR Container execution of EMR Serverless Spark jobs (#6469). EMR Spark on YARN (#7864). EMR on EKS management API and Spark jobs (#8543, #9203) 2.4.0 to 2.6.0
Redshift, Athena, Glue Automatic COPY from S3 (#7898), Parquet output for UNLOAD (#7548). Glue's Iceberg REST endpoint (#8472). Athena's Iceberg DDL/DML and S3 Tables catalog (#8488, #8549) 2.5.0 / 2.6.0
CodeArtifact NuGet (#5790) and Cargo (#8370) formats. Retaining packages from npm and PyPI external connections (#7198, #7741) 2.4.0 / 2.5.0

This past month also saw a cluster of updates around running EMR's Spark and Trino and starting and managing EKS Auto Mode nodes. Both start jobs or nodes as containers.

Summary

There are two settings to check when updating to 2.5.0 or later. If you set log levels with QUARKUS_LOG_CATEGORY__IO_GITHUB_HECTORVENT_FLOCI_..., rewrite them to IO_FLOCI_AWS. In tests that set a public policy, explicitly configure Block Public Access, including for existing persisted buckets.

The sources for the numbers and release contents are as follows.

Share this article

AWSのお困り事はクラスメソッドへ