Operating
Each deployment gets one CloudWatch dashboard, named after the deployment and printed as the DashboardUrl output. It is generated from the resources that were synthesized, so it follows the configuration:
- a header with the edition, version and links to n8n, its logs and its ECS cluster
- alarm status, and task counts per role when Container Insights is on
- CloudFront (metrics from us-east-1) or the load balancer
- CPU and memory of each n8n role, and of the runner sidecars with Container Insights
- Logs Insights tables of recent errors per role
- the database, queue, EFS, bucket, NAT and origin-updater Lambda, when they exist
- links to Cost Explorer, the budget and cost anomalies
Resources outside AWS (an external database or Redis, the NAT of an existing VPC) appear as a note, never silently left out. A test checks that every resource of a monitored type in the templates has a widget.
Alarms are always created, because the dashboard shows them. They send email only when observability.alarms.email is set. Turn the dashboard off with observability.dashboard.enabled: false (the default for nano). With several deployments in one account and region, one overview dashboard answers "which one needs me?":
$ n8n-on-aws overview [--region eu-west-3] # list what it finds, write nothing
$ n8n-on-aws overview [--region eu-west-3] --deploy # write the dashboard n8n-on-aws-overview
$ n8n-on-aws overview [--region eu-west-3] --delete # remove itIt has one row per deployment: alarm status, service CPU and running tasks, CloudFront or load balancer requests and 5xx, database capacity, and links to the editor, the deployment's own dashboard and Cost Explorer filtered on its tag. The deployments are found by the n8n-on-aws:deployment tag of their stacks, not by name. The dashboard is written with put-dashboard and belongs to no stack, so destroy leaves it alone. Run --deploy again after adding or removing a deployment. It is one more dashboard: $3 a month beyond the first 3 in the account.