Why does the instance stop automatically?
Edited
We noticed that you're using the Spot instance. Spot instances use spare computing capacity, so instances can be stopped (evicted) at any time without prior notice. Spot instances are good for non-critical workloads but not recommended for workloads that require continuous availability.
