Restart authserver after worldserver has registered itself in the auth database
This isn't an issue in the bundled docker-compose.yaml as we simply pause for a few before starting the authserver container. During that period the worldserver will have created all the necessary tables.
In the case of the CFN template, we are deploying to discrete EC2 instances. Perhaps the use of a simple SQS queue that the worldserver 05-register-realm-with-authserver.sh script could fire something off into. (This functionality would do well to move into a systems unit along with some of those other scripts so that we can set dependencies, where by starting the worldserver service would always trigger a single execution of registration unit).
There could then be a similar unit running all the time on the authserver waiting for messages that could restart the authserver. SQS would seem to be the simpler option compared to SNS (even though SNS would technically be the more "correct" solution), because messages could be pulled easily from the authserver using a basic shell script rather than having to have an active listener for SNS to communicate with.