Issue with google cloud server

Our WordPress website (URL Removed by Staff), hosted on Google Cloud, encounters a “database connection error” whenever it experiences traffic spikes. The site resumes normal operation only after the server is restarted.