guyp
Intern
Intern
  • UID3802
  • Fans0
  • Follows0
  • Posts1
Reads:88Replies:1

[Forum Admin]Freeze Elastic machine - patments

Created#
More Posted time:Oct 6, 2017 4:52 AM
Hi,


I want to use a windows VM from time to time to run an heavy software.
Is there a way to run a machine for 1 hour, and then freeze it - so at the end I'll pay just for 1 hour ?
So instead of paying ahead of all month (very expensive for high performance CPU) I'll pay just for the time I've used is in the month.


Thanks.

jdp
jdp
Intern
Intern
  • UID2712
  • Fans0
  • Follows0
  • Posts7
1st Reply#
Posted time:Oct 12, 2017 16:16 PM
Hi guyp,

Currently stopped instances are billed at the same rate as running instances. In the future the plan is to charge for CPU time only for running instances (disk may still incur a charge).

For the time being, you could do something like this:

- Start up a machine
- Set up your software and use the machine for however long you need
- Shut down the machine and create a snapshot of its system disk
- Turn the system disk into a custom image
- Release your instance (which deletes the instance)

Next time you need to use the machine, you can pick up where you left off by creating a new Pay-As-You-Go instance and setting the system disk to the custom image you created before.

It's a little cumbersome, but should work as a short term workaround until Alibaba Cloud stops billing for stopped instances.

NOTE: You need to ensure when making the snapshot and custom image that you UNCHECK the box (checked by default) which deletes snapshots at the time the instance is deleted. You might need your snapshots later if you have problems with the custom image.
Guest