Guide

A production readiness checklist for the day you go live

Launch-day problems are often plain configuration gaps. Sign-in returns to localhost, events go to a test address, email is still switched off, and the plans exist in staging only. Each of these can be checked in advance.

6 min read · Last checked

In short

Key points

  • Check Production as its own environment. Development and Staging being healthy says nothing about it.
  • The checklist marks six things as blockers: Production missing or turned off, no sign-in return address, a local or non-secure return address, a non-secure event address, email not set to Live, and features or plans that exist earlier but were never promoted.
  • Promote with a reviewed difference, then re-read the checklist. Promotion is a deliberate step, not something that happens by itself.
  • Separate development and staging environments start on Growth. On Starter you run in Production only, so the checklist applies to your one environment.

Why a checklist, and why per environment

Each environment in TenancyEngine (Development, Staging and Production) has its own client ID, its own sign-in and sign-out return addresses, its own event address and its own customer email mode. That separation is the point: a mistake in Staging cannot break Production. It also means a correct Staging proves nothing about Production, because the values are different rows.

The Compare environments view in the console lays the three side by side and lists what stands between your app and a live launch. The items below are the checks it makes, with the reason each one matters.

Production exists and is turned on

If Production has not been set up, or has been disabled, nobody can sign in to it. Disabling an environment blocks new token issuance on purpose, which makes it a useful switch during an incident and an easy thing to forget afterwards.

Sign-in return addresses are real and secure

Sign-in finishes by sending the person back to your app. With no return address registered for Production, sign-in cannot finish. A return address that still points at a local or non-secure address is flagged as well, because it was probably copied from Development.

Use https addresses on your own domain. Check the sign-out return addresses at the same time, since they are a separate list.

The event address can actually receive events

TenancyEngine tells your backend about changes, such as a plan change or a threshold crossing, by calling the event address you set for the environment. If Production points at a local or non-secure address, the events would never arrive, and the first symptom is a customer who upgraded and still sees the old limits.

Treat the address like any other production endpoint: verify the signature on every call and answer quickly. If your server may be down during a deploy, plan to catch up afterwards with the event feed described in the guide on missed events.

Customer email is set to Live

Each environment has a customer email mode. If Production is not Live, customers will not receive sign-up or invoice emails. This is a safe setting in Development and an expensive one in Production, which is why it is checked.

Your own domain is verified, if you use one

A Production domain that has not been verified yet is not being served. The view flags it as something to check, not a blocker, since a launch on the default address is still possible. Custom domains are limited by plan: one on Growth and five on Scale.

Features and plans exist in Production

This one is easy to miss. Features and the plans you sell are defined per environment. If Development or Staging has them and Production has none, the checklist flags that Production has no features, or that customers have nothing to choose from. The fix is to promote.

Promote from the Features and Offerings pages after reviewing what will change. The Compare environments view is read-only on purpose: it tells you where you stand and links to the place you fix it.

  • Open Compare environments and read the list of items to fix.
  • Fix each blocker where it links you, then reload the view.
  • Review the difference between Staging and Production, and promote.
  • Sign in as a test customer on Production and check the plan and limits you expect.

What the checklist cannot tell you

It reads configuration. It does not test your own servers, your database migrations or your deploy. Walk through sign-up, a plan change and a failed payment on Production with a test customer before you announce anything, and keep the rollback path for your own code ready.

Honest limits

What to know before you rely on this

  • Development and Staging environments, and promoting between them, start on Growth. Starter has Production only.
  • The Compare environments view only reads. It never changes your configuration.
  • The checklist covers TenancyEngine configuration. Your own hosting, database and deploy are outside it.

Questions people ask

Does the checklist block me from going live?

No. It lists what to fix and links to the place to fix it. Whether to launch is your decision.

Why is the server sign-in secret only a warning?

Only apps with a backend that completes sign-in need one. If your app signs people in from the browser alone, you can ignore that warning.

Can I run this check on Starter?

Starter has one environment, Production, so there is nothing to compare. The same items still apply to it: return addresses, event address and email mode.

Sources

Keep reading

Try it on the free plan

One app and five customers, no credit card required.

Request access More guides