Using stateful instance actions, you can change the instance state while keeping its data and IPs.
In order to change the state, click on ‘instances’ tab and select the instance:
Note: You can select multiple instances and perform the Pause and Deallocate actions on them.
Step 1: Go to Instances tab, choose the instance or instances you want:
Step 2: Click on Actions, choose the action you want to perform:
Pause – Equivalent to stopping the instance from AWS. All the data will be saved (According to the stateful configuration), the actual Spot instance will be terminated and when it will be resumed, it will be exactly in the same state in terms of data and network interfaces.
Resume – This will be used to start the instance after pausing it.
Recycle – Equivalent to rebooting or restarting the machine. Of course, all the data will be saved.
Deallocate – Delete all resources (Root volume, data volumes, snapshot and network interfaces) and terminate the instance. We will keep the last snapshot (and in cases of re-attaching – the volumes) for 96 hours and then remove them. When deallocating a machine, its data will be lost.