This guide covers the optional organisation service. Configuration, console and API paths refer to your Lolly Work instance. The packaged console keeps its release-matched copy of this guide.
Lolly Work runs on Amazon Web Services and on clouds that offer the same APIs, such as MulgaDC Spinifex, a private cloud you run on your own hardware, in your own data centre or at the edge. The same AWS command line tool, Terraform or Packer files and Kubernetes tools work on both. On Spinifex you point them at its endpoints instead of Amazon's.
This guide comes from test runs on a Spinifex sandbox with AWS CLI v2.38 between 26 and 29 October 2026: a full run of the four shapes, a re-run with a load balancer and a render load test, and on 29 October the Lolly Work 1.1.3 ready-made package on one VM. The issues those runs reported to MulgaDC are fixed, so no step below needs a workaround.
Choose a shape
All four shapes passed the same acceptance on Spinifex: the first owner signs in, members see the tool catalogue, a project is created, renders finish with their evidence, and the instance comes back after a restart. On 29 October One VM passed again with Lolly Work 1.1.3, both as a new installation and as an update in place from the 1.1.1 package, and the browser listed the tools and drew a QR code.
| Shape | What runs where | Choose it when |
|---|---|---|
| Kubernetes | The Lolly Work chart on an EKS cluster, with RDS and S3 | You already run Kubernetes, or want render workers that scale |
| Lolly appliance (preview) | openSUSE Leap 16.1 Immutable with K3s, Lolly Work and its own PostgreSQL, imported as your own machine image | You want a host that updates itself in snapshots and rolls back |
| One VM | An EC2 virtual machine runs the ready-made package: Lolly Work, PostgreSQL, the web app and Caddy in Docker Compose | You want the fewest moving parts |
| One VM with managed services | The same VM, with the database on RDS PostgreSQL and files on S3 | You want database backups and file storage handled by the cloud |
Render output was byte-for-byte identical between the Kubernetes and appliance runs, and between the two VM shapes, although each pair ran different Lolly Work builds. What the runs did not cover, such as render workers under load and restoring the managed database, is listed under not tested yet.
Point the AWS tools at Spinifex
The AWS tools find Amazon's endpoints themselves.
Spinifex serves its compute, identity, database, Kubernetes and registry APIs from one endpoint and object storage (S3) from another. Add a profile to ~/.aws/config, with your own region and your Spinifex hostnames in place of the sandbox's:
[profile spinifex]
region = us-west-1
endpoint_url = https://api.spx3.com
services = spinifex-services
s3 =
addressing_style = path
[services spinifex-services]
s3 =
endpoint_url = https://s3.spx3.comKeep the access key in ~/.aws/credentials under the same profile name, then check both endpoints:
export AWS_PROFILE=spinifex
aws sts get-caller-identity
aws s3 lsCertificates on Spinifex services (the database, the registry) are signed by the installation's own certificate authority. Inside a Spinifex virtual machine, download that certificate from the metadata service:
curl -fsS http://169.254.169.254/spinifex/ca.pem -o spinifex-ca.pemCompare its fingerprint with the one your Spinifex administrator publishes before you trust the file.
One VM
- Launch a Debian 13 or Ubuntu 24.04 instance with at least 2 vCPUs, 4 GiB of memory and 40 GB of disk. Allow TCP 80 and TCP and UDP 443 in its security group, and SSH only from your administrators' addresses.
- Install Docker.
- Follow Install the ready-made package from Write the installation folder onwards.
One VM with managed services
Start from One VM, then move the database and files out.
Database. Create a PostgreSQL 18 instance in the same network as the VM, and allow port 5432 from the VM's security group only:
aws rds create-db-instance --db-instance-identifier lolly-work \
--engine postgres --engine-version 18 --db-instance-class db.t3.small \
--allocated-storage 20 --master-username lollyadmin \
--master-user-password "$DB_PASSWORD" \
--vpc-security-group-ids "$DB_SECURITY_GROUP"--publicly-accessibleSpinifex refuses the flag, because the database endpoint is a private address in the VPC.
In the re-run the database was available about four minutes after the request.
Lolly Work connects with full certificate verification. Put the Spinifex certificate authority where the server container can read the file, and set the connection to verify the host name:
DATABASE_URL=postgres://lollyadmin:<password>@<database endpoint>:5432/lolly?sslmode=verify-full
NODE_EXTRA_CA_CERTS=/app/spinifex-ca.pemIn the first run, Lolly Work applied all 64 migrations on the managed database over TLS 1.3.
Files. Create a bucket and a user that can reach that bucket only:
{
"Version": "2012-10-17",
"Statement": [
{ "Effect": "Allow",
"Action": ["s3:GetObject", "s3:PutObject", "s3:DeleteObject",
"s3:AbortMultipartUpload", "s3:ListMultipartUploadParts"],
"Resource": "arn:aws:s3:::<bucket>/*" },
{ "Effect": "Allow",
"Action": ["s3:ListBucket", "s3:ListBucketMultipartUploads", "s3:GetBucketLocation"],
"Resource": "arn:aws:s3:::<bucket>" }
]
}Give Lolly Work the bucket in instance.json and the user's key as the secret LW_BLOBS_S3_CREDENTIAL, written <access key id>:<secret access key>:
"blobs": {
"driver": "s3",
"s3": { "bucket": "<bucket>", "region": "us-west-1",
"endpoint": "https://s3.spx3.com", "prefix": "lolly-work" }
}On AWS, leave out endpoint. Lolly Work checks the store when it starts and logs what it found. Spinifex keeps an object's content type and metadata, so the log reads the store keeps content types and metadata. In the re-run, uploaded PNG and SVG files came back byte for byte with their own content types. For a store that drops them, Stores that drop object metadata explains how Lolly Work keeps them in records of its own.
Put a load balancer in front
An Application Load Balancer can end HTTPS for Lolly Work with a certificate from ACM. The re-run put one in front of One VM with managed services.
- Certificate. Import your certificate, its key and its chain into ACM. The runs used an imported certificate:
aws acm import-certificate --certificate fileb://work.crt \ --private-key fileb://work.key --certificate-chain fileb://chain.crt
- A plain HTTP port for the load balancer. In the installation folder, add a site to the
Caddyfilethat serves Lolly Work over HTTP on its own port, publish that port incompose.yaml(- 8080:8080under thecaddyservice'sports), and allow port 8080 into the instance only from the load balancer's security group::8080 { reverse_proxy server:8787 }
- Load balancer, target group and listener. A single subnet was accepted on the sandbox. Check the target with Lolly Work's
/healthz:aws elbv2 create-load-balancer --name lolly-work --type application \ --scheme internet-facing --subnets "$SUBNET" --security-groups "$LB_SECURITY_GROUP" aws elbv2 create-target-group --name lolly-work --protocol HTTP --port 8080 \ --vpc-id "$VPC" --target-type instance --health-check-path /healthz aws elbv2 register-targets --target-group-arn "$TARGET_GROUP" --targets Id="$INSTANCE",Port=8080 aws elbv2 create-listener --load-balancer-arn "$LOAD_BALANCER" --protocol HTTPS --port 443 \ --certificates CertificateArn="$CERTIFICATE" \ --default-actions Type=forward,TargetGroupArn="$TARGET_GROUP"
- The address. Point your domain at the load balancer's DNS name, and use that domain as Lolly Work's domain when you write the installation folder.
In the re-run the listener served TLS 1.3 and HTTP/2 with the imported certificate, and the target was healthy within seconds. Live collaboration worked through the load balancer: two people joined one session over WebSocket, both with an HTTP/1.1 upgrade and over HTTP/2, an edit reached the other seat in 173 ms (median of 20, measured from outside the cloud), and the sockets stayed open through 90 idle seconds.
The load balancer adds the client's address to X-Forwarded-For. With Caddy between the load balancer and Lolly Work, add the VPC range to Caddy's trusted_proxies and set trustedProxyHops to 2. Otherwise Lolly Work's per-address rate limits apply to everyone at once rather than to each person.
To cache public files at an edge as well, see Put a CDN in front of Lolly Work.
Render capacity
The re-run sent 300 durable render jobs through the load balancer from outside the cloud: one-page SVG and PNG renders of tools without hooks, on a 4 vCPU, 8 GiB instance running the ready-made package with RDS and S3, and the server's own renderer (no Chromium worker). Each job was submitted, polled until done and its output downloaded. The automation bucket was raised for the test, because every request came from one address.
| Jobs at once | Renders per second | Time per job, median | Time per job, 95th percentile | Queue and render on the server, 95th percentile | Server CPU |
|---|---|---|---|---|---|
| 10 | 13.4 | 610 ms | 856 ms | 251 ms | about 1.2 cores |
| 25 | 17.9 | 1,249 ms | 1,783 ms | 1,025 ms | about 1.6 cores |
All 600 jobs succeeded.
With the default buckets, the same 300 jobs from one address used up the automation bucket within seconds and then ran at about 0.4 renders a second, limited by the rate limit rather than the server.
Kubernetes
- Create the cluster. An EKS cluster on Spinifex is K3s underneath (K3s 1.32 on Alpine Linux in both runs). Create the cluster and a node group in the usual way, with two roles: one for the cluster and one for the nodes, which needs
AmazonEKSWorkerNodePolicy,AmazonEKS_CNI_PolicyandAmazonEC2ContainerRegistryReadOnly. The node group's role flag is--node-role:aws eks create-cluster --name lolly --kubernetes-version 1.32 \ --role-arn "$CLUSTER_ROLE" --access-config authenticationMode=API \ --resources-vpc-config subnetIds="$SUBNET",endpointPublicAccess=true aws eks create-nodegroup --cluster-name lolly --nodegroup-name lolly-nodes \ --node-role "$NODE_ROLE" --subnets "$SUBNET" aws eks update-kubeconfig --name lolly
In the first run the cluster was active in about 90 seconds and a two-node group in about 90 more. kubectl authenticates through aws eks get-token, as on AWS.
- Let the nodes reach the database. Allow port 5432 into the database's security group from the node group's security group. Without that rule the chart's migration Job times out.
- Choose where images come from. Nodes with internet access pull Lolly Work's signed images from GitHub's registry by digest; nothing more is needed. To use your own ECR registry, copy each image together with its signature, then refer to it as
<repositoryUri>@<digest>:oras cp -r ghcr.io/lolly-tools/lolly-work-server@<digest> <repositoryUri>:<tag> cosign verify --certificate-oidc-issuer https://token.actions.githubusercontent.com \ --certificate-identity-regexp '^https://github\.com/lolly-tools/lolly-work/\.github/workflows/release\.yml@refs/tags/v' \ <repositoryUri>@<digest>
oras cp -r copies the signature with the image, so cosign verify passes against your registry; cosign copy does not copy the current signature format, on AWS ECR either. The copy of the Lolly Work server image took about 10 seconds and verified.
- Install the chart. Follow Install on Kubernetes with an external database. Mount the Spinifex certificate authority as described in the chart's PostgreSQL certificate verification, and add the
blobsblock from One VM with managed services to the instance configuration. Production mode needs a catalogue generation; see what production mode needs from a pack. In the re-run, production mode with the image's demo pack,catalogPublicationGeneration: 1and a catalogue signing key inLW_CATALOG_SIGNING_KEYwas ready 35 seconds afterhelm installstarted. - Check readiness.
kubectl -n lolly get podsshould show Lolly Work ready. If it is not,/readyzanswers withchecksthat say which condition is holding readiness back.
Lolly appliance (preview)
The Lolly appliance is a disk image that boots into a working Lolly Work: openSUSE Leap 16.1 Immutable, K3s, Lolly Work in production mode, its own PostgreSQL, HTTPS with the machine's own certificate and Cockpit for the host.
The appliance is built on the Leap 16.1 release candidate, and no appliance image is published. Build the disk yourself or take it from Lolly Work's CI build, as in step 1.
One image definition builds two runtime profiles. k3s, the default, runs Lolly Work under K3s, installed by K3s's Helm controller. podman, for small machines, runs the same release as Podman containers defined by Quadlet units, and idles in about half the memory of the k3s profile. On both, lolly-update applies signed Lolly Work updates, host updates land in read-only root snapshots, and the host rolls back when Lolly Work does not come up after one. The steps below use the k3s profile.
Spinifex does not offer ImportImage or ImportSnapshot, so bring the image in through a volume and a snapshot:
- Get the x86_64 raw disk. Build
lolly-appliance-<version>-x86_64.rawwith the appliance'sbuild.shon an x86_64 Linux host, or take the compressed raw disk from Lolly Work's CI build, and check it againstSHA256SUMS. - Write the disk onto a new 20 GiB volume from any Linux instance in the same zone. On a new volume,
conv=sparseskips the empty blocks; in the re-run that wrote the disk in under a minute, where writing every block ran at about 30 MB/s:zstd -dc lolly-appliance-<version>-x86_64.raw.zst | dd of=/dev/vdb bs=4M conv=sparse,fsync
- Configure the first boot. The appliance reads a Combustion script (your SSH key and options such as the owner's email) from its own small partition labelled
ignition. With mtools, on the written volume:mmd -i /dev/vdb3 ::combustion mcopy -i /dev/vdb3 script ::combustion/script
Configure the first boot has an example script and the options.
- Snapshot, register and launch. Detach the volume, snapshot it, and register the snapshot with
aws ec2 register-image --boot-mode uefi --architecture x86_64 --root-device-name /dev/sda1 --virtualization-type hvmand the snapshot as the root device. Set the disk size when you register or when you launch, for example 40 GB on ac6a.large. - Sign in.
lolly-appliance owner-linkover SSH prints the owner's one-time setup link. Cockpit answers only from local networks, so reach port 9090 through an SSH tunnel.
In the re-run, root SSH answered 61 seconds after launch and Lolly Work's /readyz about 150 seconds after launch (138 seconds after the kernel started). After a reboot Lolly Work was ready 91 seconds after the kernel started. The machine used 1.5 GiB of its 3.8 GiB of memory. K3s set its container network's MTU to 1392 by itself, so the appliance needs no MTU setting. The first run built the same stack by hand from the plain Leap image and Lolly Work's K3s kit; the appliance now does those steps at first boot.
Not tested yet
The Chromium render worker and render workers scaling under load, several Lolly Work replicas, restoring the managed database from a backup, certificates issued by ACM, network load balancers and GPU capacity.