main: add basic functional test

wait on #1315 
i steal the series of naming for amazon ec2.
launch -> launch a member
stop -> stop the member, but the data of the member is reserved
start -> start the member using data reserved
reboot -> restart the member
terminate -> stop the member and remove the data dir