An EC2 may get terminated for a variety of reasons. And since it usually runs something crucial for the applications such as frontend, backend, or the database, it’s important to figure out what actually went wrong with it. Therefore, as a DevOps/SRE/SysAdmin, it’s a good idea to have logs and…