On Amazon Web Services, I will set up a micro instance in a Spot Request.
In that micro instance I will set up Ubuntu Server 14.04.1 LTS (Trusty Tahr).
The following examples are for the US East (N. Virginia) Availability Zone.
Request Spot Instances
Step 1: Choose an Amazon Machine Image (AMI)
Ubuntu Server 14.04 LTS (PV), SSD Volume Type
Note the AMI ID (ami-84562dec) and the Virtualization type (paravirtual)
Step 1a: Determine Ubuntu AMI details
Spot Instances require the "t1.micro" instance type, which can only run the paravirtual type of AMI (not HVM). Therefore, note the relevant Kernel ID (AKI-ID)
http://cloud-images.ubuntu.com/locator/ec2/
us-east-1; trusty 14.04 LTS; amd64; PV (not HVM)
Step 2: Choose an Instance Type
t1.micro (Variable ECUs, 1 vCPUs, 0.613 GiB memory, EBS only)
Step 3: Configure Instance Details
Maximum price $0.01
Persistent request [yes]
Kernel ID aki-919dcaf8
Step 4: Add Storage
Delete on Termination [yes]
Additional storage is optional. Also I'm choosing to let the root volume get destroyed whenever the instance terminates. I'm planning on regularly snapshotting and relying on those to maintain state. Remember that Spot Requests are fragile and could disappear at any time. Even after choosing "persistent request" in the previous Step 3, a newly created instance can only use snapshots (or instance-images) for sources of its root volume. In other words, it doesn't matter if a volume survives when its spot instance terminates, because new instances can't directly use previous volumes anyway.
Step 5: Tag Spot Request
[optional, but it's helpful to at least enter a Name for your own reference]
Step 6: Select a Key Pair
On my local computer, I made a new Key Pair for this tutorial. I will now import it into AWS.
[waiting for approval of Spot Request]
[success]
[initial login]
See my steps here.
[use tmux to background your work]
See my usage here.
[backup your progress up to this point]
Make a checkpoint backup of the server's state.