Service management

The AMI provides the following systemd services, which you can control using the usual commands (systemctl status | start | stop):

  • puma - Control the Puma server (NGINX will reverse proxy to this server)

  • nginx - Control the NGINX web server

In case of failure or unexpected errors, use journalctl -f -u <service> to monitor the services.