[04:36] is there a dynamic/arbitrary way to set JAVA_HOME ? i.e. without having to follow the symlinks from /usr/bin/java back to `/usr/lib/jvm/java-6-sun/jre/bin/java' ? [04:37] (or whichever java is installed and configured with alternatives) [18:38] hi [18:39] on ec2, if I stop an instance/vm do i still have to pay for it? [18:39] you pay per instance running per hour [18:40] jaoudestudios: It depends on what you mean by "stop". If you "terminate" an instance, then you stop paying for it. If you "stop" an EBS boot instance, then you stop paying by the hour, but you continue paying $0.10/month/GB of storage for the EBS boot disk. [18:40] so if it is not running, then I dont pay for anything? [18:40] so whats stops me from havign 20 stopped instances and pay nothing [18:40] ah I see [18:40] I think :) [18:41] by stopped I mean, not running, but still available to boot up when required [18:41] jaoudestudios: That would be an EBS boot instance, then. [18:41] and if it took 10GB of disk space, then I would be paying for that [18:41] $1/month, yes [18:42] ok, thanks [18:42] plus $15/GB/month of snapshot storage if you take snapshots of your EBS volumes (recommended) [18:42] it all sounds great, but when coming down to the details it is not that easy [18:42] er, $0.15/GB/mo [18:42] Yes, it is a bit complicated. [18:42] ok [18:42] can I clone? [18:43] jaoudestudios: In some ways, yes. You can take a snapshot of the root disk, register it as an AMI, and run a new instance of that AMI. [18:43] hmm ok [18:43] Takes a bit of time, depending on how recently you took your last snapshot. [18:43] I am trying to way up the pros & cons of continuing with my dedi box or move to cloud [18:43] jaoudestudios: It's cheap to try these things out to see if they work for what you want, but it does take a bit of reading to understand them. [18:44] yeah might be worth a go, I just dont want to end up with a massive bill at the end of the month [18:44] Personally, I'm paying more, but I have more power and flexibility and it is a ton of fun. [18:44] ok :) [18:44] what language do you code in? [18:45] I am a php dev, would I have to code any differently? [18:45] jaoudestudios: You can use whatever runs on Linux. [18:45] :) [18:45] :) [18:45] I've been a Perl guy since 1993. [18:45] :) [18:46] yeah def might give it a go :) [18:46] erichammond: thanks [21:38] anyone ever end up with instances stuck in "shutting down" ? [21:38] they wont be killed, [22:37] smoser: really? like if you call terminate-instances they don't die? [23:35] smoser: that can occur, usually AWS needs to be contacted to kill a suck instance [23:35] but do ensure you issued a terminate call at least twice