Learn how to take your infrastructure to the next level with advanced best practices
π Read our Best Practices Guide before proceeding.This guide will provide advanced information for users who want to maximize the value and usage of the Aptible platform. With these advanced best practices, youβll be able to deploy your infrastructure with best practices for performance, reliability, developer efficiency, and security.
before_release
are run before the new containers are added to the load balancing pool, this does mean any migrations not compatible with the old running code may result in noticeable errors or downtime during deployment. It is important that migrations are backwards compatible to avoid these errors. More on the release process here.exec
in the Procfile
exec
to ensure the process assumes PID 1. More on PID 1 and exec
here./healthcheck
. Enabling strict health checks also allows users to configure the route Aptible checks to return healthy/unhealthy using the criteria established by the user. Enable strict runtime health checks using the steps here.