I have a processing that occurs in my stays, however, sometimes "auto scaling" ends the instance in the middle of the process (which may take a while). I already looked in the documentation for a way to block this at the beginning of the processing and then unlock, without success. The process occurs using PHP-CLI.
Does anyone know of any library or method that would allow me to do this?