The stacks#
| Stack | Who creates it | When | What it holds |
|---|---|---|---|
harebell |
You, once | At connect time | The trust and the roles Harebell works through. |
harebell-zone |
Harebell | When your account connects | Your DNS zone for app addresses. |
harebell-base |
Harebell | Right after connecting | The network, front door, gateway and data stores that every app shares. |
harebell-app-<name> |
Harebell | At an app's first release | One app's image repository, roles, service or schedules. |
harebell-res-<app>-<resource> |
Harebell | At a release that asks for a resource | One resource from a template, such as a database. |
harebell-dev-<app>--<builder>-<resource> |
Harebell | When a builder tries an app privately | A resource of one private copy. Removed when the copy is. |
harebell-test-<template>-... |
Harebell | While an admin tests a template | A temporary stack for a change set that never runs. Deleted straight away. |
Harebell creates and changes everything after the first row through the roles in the first row, and never with more than those roles are allowed to do. Connect your cloud account shows how the first stack is made.
The harebell stack#
This is the only stack you create yourself, from a link or a command the console gives you. It sets up trust and roles, and no running services.
| Resource | What it is for |
|---|---|
| An OIDC identity provider for Harebell's issuer | Lets Harebell's control plane prove who it is without any long-lived key in your account. |
Managed policy harebell-boundary |
A permissions ceiling for the roles Harebell's own stacks create, so they cannot reach beyond Harebell's resources. |
Managed policy harebell-templates-boundary |
The ceiling for template stacks, which keeps them to resources named for their own stack. See Templates. |
Role harebell-cloudformation |
The role CloudFormation uses to create Harebell's own stacks. |
Role harebell-templates |
The role CloudFormation uses for template stacks, held to the templates boundary. |
Role harebell-control |
What Harebell's control plane signs in as. It can read your bill and the state of Harebell's resources, start builds and releases, and run CloudFormation through the other two roles. It can never read secret values, and it cannot apply updates to its own permissions. |
Role harebell-build |
The role CodeBuild runs a build as. |
Role harebell-events-hello and a rule harebell-hello |
Only when an event bus is configured: they send a first event, so Harebell can see your account is connected. |
One parameter is yours to decide. ReadLogsAndTraces defaults to true, and lets the control role read your apps' logs and traces so Harebell can show a builder what went wrong. Turn it off if your policy forbids it. When Harebell needs a change to its access explains how new versions of this stack are reviewed.
The harebell-zone stack#
One Route 53 hosted zone named <org>.<region>.harebell.run, where the region is Harebell's own region such as us or eu. Harebell adds a delegation to it from its own zone, in Harebell's account, so your apps' addresses resolve. The zone is where the wildcard record for your apps lives. See Addresses and network.
The harebell-base stack#
This stack is the platform. It is large, so the tables below follow how the pieces work together and not the template's order.
Network#
| Resource | What it is for |
|---|---|
| A VPC, 10.250.0.0/16, two public, two platform and two workload subnets across two availability zones | The private network all of Harebell lives in. The public subnets hold the load balancer and the NAT, the platform subnets hold the front door and gateway, and the workload subnets hold your apps. |
One NAT gateway and an elastic IP named harebell-nat |
The one path out to the internet. It is also the address your company databases see when Harebell's gateway connects to them, so it is the address to allow. |
Security groups harebell-load-balancer, harebell-frontdoor, harebell-gateway, harebell-workloads, harebell-endpoints and harebell-databases |
Say who may talk to whom. Apps have no route to the internet and no rule to reach one. |
| Gateway endpoints for S3 and DynamoDB, and an interface endpoint for CloudWatch Logs | Keep traffic to those services inside the network. The S3 endpoint is limited to buckets named harebell-*. |
A DNS Firewall rule group with the lists harebell-allowed, harebell-everything, harebell-gateway and harebell-web |
Decides which names a workload can resolve. Everything is blocked except your cloud provider's own services, harebell.internal, the image registries and the names the gateway answers for. |
Flow logs to /harebell/network |
A record of network connections, delivered by the role harebell-network-logs. |
Private hosted zones for the ECR registry and postgres.harebell.internal, and a Cloud Map namespace harebell.internal |
Let apps find the gateway and pull images over private addresses. |
The edge and the services#
| Resource | What it is for |
|---|---|
An internet-facing load balancer harebell, with listeners on 80 (which redirects to 443) and 443 |
The only thing on the public internet. It terminates TLS, using the policy ELBSecurityPolicy-TLS13-1-2-2021-06, and forwards to the front door. |
A certificate for *.<zone> and the zone, and a wildcard alias record |
Give every app its address and HTTPS without any per-app setup. |
An ECS cluster harebell-workloads |
Where the front door, the gateway and every app run, on Fargate (ARM64). |
Service harebell-frontdoor: 512 CPU, 1024 MB, two to eight tasks, scaling at 60% CPU |
Signs people in and checks, on every request, who may open which app. |
Service harebell-gateway: 256 CPU, 512 MB, two tasks |
The only way an app reaches company data, Slack, outside services and AI models. Holds the credentials so apps never do. |
Roles harebell-frontdoor, harebell-gateway and harebell-task-execution |
What those tasks run as, each with only what it needs. |
Data and keys#
| Resource | What it is for |
|---|---|
DynamoDB table harebell-access, with point-in-time recovery and expiry |
The access copy: who may open which app and which grants are approved. The front door and gateway read it so they keep working if Harebell is unreachable. |
DynamoDB table harebell-observe |
Minute-by-minute counts of each app's requests, outside calls and AI use, written by the gateway and expired automatically. |
KMS keys with aliases alias/harebell-tokens, alias/harebell-holds and alias/harebell-secrets |
Seal sign-in tokens, held messages and stored secrets. The keys stay in your account. |
Secrets Manager secrets harebell/gateway-ca, harebell/frontdoor-key, harebell/sign-in, harebell/connections/slack and harebell/connections/slack-config |
The gateway's signing authority, the front door's key, your sign-in client secret and your Slack connection. Each has a resource policy that limits who may read it. |
Harebell's control plane holds no copy of these. The security model explains why.
Queues, schedules and events#
| Resource | What it is for |
|---|---|
SQS queues harebell-gateway-jobs, harebell-runs and harebell-events, each with a -failed queue |
Carry work from the control plane to the gateway, a job's runs to the app, and incoming events to the front door. A message that fails repeatedly lands in the -failed queue where you can see it. |
A scheduler group harebell-<install>, with roles harebell-scheduler-jobs and harebell-scheduler-events |
Where schedules for jobs and agents are kept, and the roles they run as. |
EventBridge buses harebell-scheduler and harebell-notices, with pipes and the roles harebell-scheduler-pipe and harebell-notices-pipe |
Carry scheduler results and platform notices to the right queue. |
When an event bus is configured: queues harebell-watch and harebell-scheduler-failed (with failed queues), rules named harebell-watch-* and the role harebell-events-forward |
Forward events about Harebell's own resources (stacks, tasks, services, builds, the certificate and health) to Harebell so the console is current without polling your account. They carry no app data. |
Audit and builds#
| Resource | What it is for |
|---|---|
Log group /harebell/audit, kept 400 days |
The audit trail's first stop. |
S3 bucket harebell-audit-<account>-<region>, a Firehose stream harebell-audit and the roles harebell-audit-delivery and harebell-audit-subscription |
Copy the audit trail to versioned, encrypted storage that is kept even if you delete the stack. A bucket policy with the statement HarebellNeverRewritesIt denies deleting objects or changing the bucket's versioning and lifecycle, so a mistaken update cannot erase the trail. Object Lock can be turned on and is off by default. |
Alarms harebell-gateway-audit-lines-dropped and harebell-frontdoor-audit-lines-dropped |
Change state if an audit line could not be delivered. They notify nobody until you connect them to something. |
Bucket harebell-sources-<account>-<region> |
Holds the code builders publish, versioned, with older versions expiring after 30 days. |
CodeBuild project harebell-build |
Builds each release's container image from that code. |
Log groups /harebell/workloads (90 days), /harebell/builds (30), /harebell/gateway and /harebell/frontdoor (90), and /aws/lambda/harebell-databases (90) |
What the services, builds and the database helper write. |
The audit trail page explains how to read these.
Development databases#
An Aurora PostgreSQL Serverless v2 cluster harebell-devdb (0 to 2 capacity units, pausing after 5 minutes idle) is shared by all private copies, and a Lambda function harebell-databases with its role harebell-databases creates a database inside it for each copy. A snapshot is taken if the cluster is deleted. Released apps never use it.
The harebell-app-<name> stack#
One per app, job or agent, made at its first release and changed by later ones.
| Resource | What it is for |
|---|---|
An image repository harebell/<name> |
Holds the app's built images. Scanned on push, and untagged images expire after a day. |
A build role and a CodeBuild project harebell-build-<name> |
Build this app's image. |
Roles harebell-app-<name>, harebell-id-<name> and a development role |
What the app's tasks run as, the identity it proves to the gateway, and the narrower role a private copy uses. |
A Cloud Map service and an ECS service harebell-app-<name> |
Run the app (one task) and make it reachable by the front door. Jobs have schedules and no service. |
Schedules in the group harebell-<install> |
For jobs and agents that run on a timer. |
Resource stacks from templates#
A release that asks for a resource creates one stack, harebell-res-<app>-<resource>, from the template the builder named. The starters create:
| Template | Released version | Development version |
|---|---|---|
postgres |
An Aurora PostgreSQL Serverless v2 cluster of its own, 0.5 capacity units at the least and 2, 4 or 8 at the most, 7 days of backups, signing in with the app's identity. | A database inside harebell-devdb. |
file-storage |
A private S3 bucket, versioned and encrypted with KMS. The bucket is kept for 30 days if the stack is deleted. | A bucket whose files expire after 7 days. |
queue |
An SQS queue with a dead-letter queue after five failed receives, and an alarm if the oldest message is over an hour old. | A plain queue. |
Anything else is whatever your own templates define, within the limits Templates describes. When a release removes a resource its stack is deleted. A database's final snapshot and a retained bucket stay for 30 days and are then removed.
What Harebell does not create#
It creates no VPC peering, no VPN, no Transit Gateway and no inbound path other than the load balancer. It does not touch resources you made yourself, and it holds no IAM user or access key in your account.