Admin processes
Last but not least, the twelfth factor is related to administration in terms of running management tasks.
These tasks should be run in the runtime execution environment, hence they should be shipped with the application itself and should be used to fix/compensate migration aspects of the application. Suppose you changed your domain model; this should also be reflected at the database level, so some script to alter the database schema should be provided and executed before the app can be used/consumed.
As a twelve-factor application is self-contained, it needs some kind of mechanism to first launch the admin management process and then be available. Fortunately, with the rise of Docker, such tasks have become even easier.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access