[04:36] <flaccid> 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] <flaccid> (or whichever java is installed and configured with alternatives)
[18:38] <jaoudestudios> hi
[18:39] <jaoudestudios> on ec2, if I stop an instance/vm do i still have to pay for it?
[18:39] <orangeacme> you pay per instance running per hour
[18:40] <erichammond> 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] <jaoudestudios> so if it is not running, then I dont pay for anything?
[18:40] <jaoudestudios> so whats stops me from havign 20 stopped instances and pay nothing
[18:40] <jaoudestudios> ah I see
[18:40] <jaoudestudios> I think :)
[18:41] <jaoudestudios> by stopped I mean, not running, but still available to boot up when required
[18:41] <erichammond> jaoudestudios: That would be an EBS boot instance, then.
[18:41] <jaoudestudios> and if it took 10GB of disk space, then I would be paying for that
[18:41] <erichammond> $1/month, yes
[18:42] <jaoudestudios> ok, thanks
[18:42] <erichammond> plus $15/GB/month of snapshot storage if you take snapshots of your EBS volumes (recommended)
[18:42] <jaoudestudios> it all sounds great, but when coming down to the details it is not that easy
[18:42] <erichammond> er, $0.15/GB/mo
[18:42] <erichammond> Yes, it is a bit complicated.
[18:42] <jaoudestudios> ok
[18:42] <jaoudestudios> can I clone?
[18:43] <erichammond> 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] <jaoudestudios> hmm ok
[18:43] <erichammond> Takes a bit of time, depending on how recently you took your last snapshot.
[18:43] <jaoudestudios> I am trying to way up the pros & cons of continuing with my dedi box or move to cloud
[18:43] <erichammond> 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] <jaoudestudios> 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] <erichammond> Personally, I'm paying more, but I have more power and flexibility and it is a ton of fun.
[18:44] <jaoudestudios> ok :)
[18:44] <jaoudestudios> what language do you code in?
[18:45] <jaoudestudios> I am a php dev, would I have to code any differently?
[18:45] <erichammond> jaoudestudios: You can use whatever runs on Linux.
[18:45] <erichammond> :)
[18:45] <jaoudestudios> :)
[18:45] <erichammond> I've been a Perl guy since 1993.
[18:45] <jaoudestudios> :)
[18:46] <jaoudestudios> yeah def might give it a go :)
[18:46] <jaoudestudios> erichammond: thanks
[21:38] <smoser> anyone ever end up with instances stuck in "shutting down" ?
[21:38] <smoser> they wont be killed,
[22:37] <careo> smoser: really? like if you call terminate-instances they don't die?
[23:35] <flaccid> smoser: that can occur, usually AWS needs to be contacted to kill a suck instance
[23:35] <flaccid> but do ensure you issued a terminate call at least twice