News for hackers. Stuff that matters.
Re:DigitalOcean Raises $37.2M From Andreessen Horowitz to Ta... by jcampbell1 on Thursday March 06, 2014 @11:26AM (#7354665)
I don't get the analogy. With EC2 you either lose your data when rebooting, or you have to use network storage (iSCSI) which has advantages and disadvantages.

BTW, when I invest in a corporation, I do get double taxed. The profits are taxed at the highest possible income tax rate, then I pay 15% tax on the distribution of profits.

Of course if I work for that corporation, I opt to take the "profits" as a bonus. I pay all the taxes in that case, but at least there isn't double taxation.

Re:DigitalOcean Raises $37.2M From Andreessen Horowitz to Ta... by aluskuiuc on Thursday March 06, 2014 @01:16PM (#7355527)
I'll pick this comment out of the many to reply to rather than spamming - you do not lose your data when you reboot an EC2 instance. Local ephemeral stores are retained unless you terminate or 'stop' your instance - but a reboot is just fine.
Re:DigitalOcean Raises $37.2M From Andreessen Horowitz to Ta... by zibit on Thursday March 06, 2014 @08:32PM (#7357904)
"Local ephemeral stores are retained unless you terminate your instance"

That sentence makes no sense to people with no AWS experience. But if you give someone with Linux experience secure shell access to a DigitalOcean server they can hit the ground running.

Re:DigitalOcean Raises $37.2M From Andreessen Horowitz to Ta... by singingcheese on Friday March 07, 2014 @01:06AM (#7358769)
If you shut down your server you lose the data that was stored on the local drives, no different to DO. If you shut down your droplet on DO you lose the data stored on the local drives (in fact DO now scrubs the disks on shutdown after a recent security screw-up). The only difference is that most folk on AWS use EBS storage (something which DO still doesn't offer) which allows you to have drives which can continue to exist after your server is no more and allows you to attach more storage without getting a bigger server.

It's not rocket science:

instance = virtual server ("droplet" in DO speak)

terminate = shut down

ephemeral store = local disk

An EC2 instance is just a virtual server so anyone who knows Linux, Windows, BSD or even Solaris can "hit the ground running" there too.

Re:DigitalOcean Raises $37.2M From Andreessen Horowitz to Ta... by zibit on Friday March 07, 2014 @04:55AM (#7359379)
When you say shutdown are talking about issuing commands from the command line like 'shutdown now' or 'reboot'? Because with Digital Ocean you DO NOT lose your data when you issue those commands. I know from experience.
Re:DigitalOcean Raises $37.2M From Andreessen Horowitz to Ta... by fm2612 on Friday March 07, 2014 @05:21AM (#7359463)
Terminate in EC2 is basically the same as the Destroy call of DO. In both cases you will destroy the data stored locally. Rebooting an EC2 instance will not result in data loss, same as DO.
Re:DigitalOcean Raises $37.2M From Andreessen Horowitz to Ta... by jcampbell1 on Thursday March 06, 2014 @11:08PM (#7358460)
I really appreciate your comment. I feel really dumb for not knowing that. I always assumed the worst. Want to reboot and instance to just check the init process?... can't do that on Amazon. I'll pick a different platform. I was way off base.

That being said, do they dump your instance if they reboot the physical server? I was under the impression that "Oh we want to upgrade they hypervisor kernel, your instance is toast", was fairgame/default on Amazon.

Re:DigitalOcean Raises $37.2M From Andreessen Horowitz to Ta... by ceejayoz on Thursday March 06, 2014 @11:30PM (#7358514)
> That being said, do they dump your instance if they reboot the physical server? I was under the impression that "Oh we want to upgrade they hypervisor kernel, your instance is toast", was fairgame/default on Amazon.

Nope. In most cases, you get two weeks warning before a physical host is decommissioned. I've gotten as little as 24 hours (guessing it was a more significant than usual hardware issue).

When that happens, you can just stop the instance, then start it again. That moves it onto a new physical host. If you don't do it in the 14 days, Amazon does it automatically. No loss of data, and just a few minutes of downtime if your startup scripts are OK.

Re:DigitalOcean Raises $37.2M From Andreessen Horowitz to Ta... by jcampbell1 on Friday March 07, 2014 @01:27AM (#7358837)
You mean they copy the ephemeral disk over? Really?

Amazon should really advertise this, if that is the case. I was under the impression that Amazon couldn't be relied on as a VPS.

Re:DigitalOcean Raises $37.2M From Andreessen Horowitz to Ta... by aluskuiuc on Friday March 07, 2014 @02:24AM (#7358931)
If you get a notification that your instance is going to get terminated - then yes, you can stop/start, but then you will lose ephemeral disks (but not EBS volumes). If you get a notification that your instance is just going to get rebooted, then nothing's going to get lost.

As I said above - the terminology can get hairy pretty fast. It's valuable to take stock of what you really need persisted, and what use can be made of 'scratch disks'. Local ephemerals are fast and cheap (included in the price of any instance). They come with the operational overhead of needing to rsync data off of them yourself if you want to retire that instance however.

Re:DigitalOcean Raises $37.2M From Andreessen Horowitz to Ta... by ceejayoz on Friday March 07, 2014 @07:34AM (#7359841)
No, not ephemeral disks. They're typically used for temp files, caches, etc., or servers you can afford to lose. EBS volumes are persistent and work just fine between stop/starts.
Re:DigitalOcean Raises $37.2M From Andreessen Horowitz to Ta... by aluskuiuc on Friday March 07, 2014 @02:19AM (#7358921)
Eh, don't feel dumb. I can't really claim it's totally unambiguous and not confusing. Rebooting the physical server should only reboot your instance.
Re:DigitalOcean Raises $37.2M From Andreessen Horowitz to Ta... by fm2612 on Friday March 07, 2014 @05:26AM (#7359481)
Rebooting the physical server does only reboot your instance. The your instance is toast thing is for hardware failure.
Re:DigitalOcean Raises $37.2M From Andreessen Horowitz to Ta... by bmelton on Thursday March 06, 2014 @12:17PM (#7355064)
But there are a myriad of scenarios where booting to a AWS image, effectively a CD, is preferred. Having a non-writable filesystem is cool, where that non-writability allows for the saving of temp files and such, but if it were ever compromised, I would just reboot it, and it's exactly how it used to be. Even smarter, I would boot up another clean instance and take that one down, then remap the elastic IP to cut over.

For data that must be stored, I can use a EBS, or a database instance.

Like the grand-parent said, you pick what makes sense. Saying that ephemeral storage is a bad thing would be true if that were all they offered, but it isn't, and it ephemeral images are sometimes preferred.

Re:DigitalOcean Raises $37.2M From Andreessen Horowitz to Ta... by singingcheese on Friday March 07, 2014 @01:26AM (#7358835)
A reboot doesn't cause you to lose data on your ephemeral storage. I think you mean "stopping" an instance and then "starting" it again (on another host), not rebooting it.
Re:DigitalOcean Raises $37.2M From Andreessen Horowitz to Ta... by bmelton on Tuesday March 11, 2014 @03:25PM (#7381553)
You are correct, that is what I meant, but I've taken to calling it 'rebooting' because all the intro-to-EC2 stuff I've seen listed their "how to reboot the instance" instructions as stopping and starting it, so I figured it's the appropriate vernacular, however incorrect it might otherwise be.