Are you running the whole lichess on one machine, or is this one shard only? 30 GB RAM for one instance of application seems very high.
(sorry did not have time to read the whole article yet)
See https://lichess.org/source for a list of all the services with a more-or-less up to date diagram.