News for hackers. Stuff that matters.
Re:The Meteoric Rise of DigitalOcean by derefr on Thursday March 13, 2014 @04:30PM (#7394758)
I felt the same way for a while, but eventually, while working on a large cloud-based project, I had an epiphany: the GUI is basically the phpMyAdmin interface of AWS.

phpMyAdmin is great when you're first learning to work with the LAMP stack; it lets you fiddle with values, manually create databases, munge columns, etc.

But.

If there are multiple instances of your system running "in the wild" (even just within your own company), and their versions will ever have even the slightest chance of getting out-of-sync? You really want the entire change-history of your modifications to the database checked into git. You want to be able to take any previous sorta-known database state, and move it toward the current well-known database state. To do that, you need programmatic migrations.

And as soon as your software ships a "db/migrate" folder, (non-readonly) phpMyAdmin access becomes anathema to proper configuration management.

AWS can be thought of as a big database that contains your EC2 instances and snapshots, your S3 buckets, etc. At scale, you only want to interact with this database programmatically.

So: if this was the correct hypothesis for why the GUI sucks, what would be an expected prediction? That the programmatic APIs for manipulating AWS would be great.

And they are! All the HTTP APIs for AWS--the ones you would use in any automated provisioning script--are simple, clear, and pain-free. They're definitely the "first-class" road to AWS, documented to heck, and it's clear that Amazon itself dogfoods them directly.

Re:The Meteoric Rise of DigitalOcean by avenger123 on Thursday March 13, 2014 @05:24PM (#7395178)
I would suspect AWS makes most of their money from clients that manage instances that are in the mid to high double digits and beyond. For these clients its likely that at some point automation has kicked in and the APIs get the job done much better versus having someone spend time clicking away in a browser.
Re:The Meteoric Rise of DigitalOcean by nl on Thursday March 13, 2014 @06:17PM (#7395512)
Most of their revenue, probably.

But I think there are plenty of mid-sized comapnies with multiple AWS accounts, with many machines in each one where no one is quite sure what they do or if they can be switched off.

Re:The Meteoric Rise of DigitalOcean by toomuchtodo on Thursday March 13, 2014 @07:24PM (#7395870)
Sounds like they need to hire someone to take care of that then.

Disclaimer: Sysadmin/Devops

Re:The Meteoric Rise of DigitalOcean by legojoey17 on Thursday March 13, 2014 @10:01PM (#7396521)
I know this is the case with probably all major clients to them. If I remember correctly from talking to Dropbox employees during a recruitment visit, they had spoken about how they helped Amazon AWS reach milestones as they accounted for approximately 50% of AWS's file storage service usage. Obviously this is done all programmatically as everything is at an extremely high scale.
Re:The Meteoric Rise of DigitalOcean by aragot on Thursday March 13, 2014 @05:47PM (#7395333)
But DigitalOcean also puts their APIs forward. It made me feel like: Wow, it's nice to use and they're geeks!

So how does DO's api compares to EC2?

Re:The Meteoric Rise of DigitalOcean by snuxoll on Thursday March 13, 2014 @05:54PM (#7395382)
They're a billion times saner, they have a very simple REST API that just takes a couple GET parameters and spits out nice JSON. I built a wrapper in scala using the dispatch http library and json4s in about 15 minutes, most of that was writing a couple functions to handle the difference between the formatting conventions used by DigitalOcean's JSON and scala/java standards ("droplet_id" vs "dropletId").

Meanwhile AWS has this nasty outdated SOAP API that you don't want to touch by hand with a 10-foot pole, you had better have a good AWS library for your existing language of choice or know how to make sense of a WSDL.

Re:The Meteoric Rise of DigitalOcean by 6cxs2hd6 on Thursday March 13, 2014 @06:50PM (#7395712)
> AWS has this nasty outdated SOAP API that you don't want to touch by hand with a 10-foot pole, you had better have a good AWS library for your existing language of choice or know how to make sense of a WSDL.

Um, no. Every AWS service has a REST API. The only difficult thing is calculating authentication headers, but that's nitpicky for a good reason.

S3's API is extremely RESTful -- not perfect, but really good. Some of Amazon's newer APIs aren't as RESTful, but they're usually still better than what many people call "REST" today (i.e. "Hey it's not SOAP, so who cares if every flipping thing is a GET request, it must be REST!").

Re:The Meteoric Rise of DigitalOcean by vacri on Friday March 14, 2014 @09:38AM (#7398607)
Ironically, your comment on the outdated SOAP API is based on knowledge that is quite outdated. AWS has had a REST API for basically the entire existence of DO.
[deleted]
Re:The Meteoric Rise of DigitalOcean by pjbrunet on Thursday March 13, 2014 @06:42PM (#7395666)
Ok I got way off topic. I don't understand why Amazon.com is so intuitive but Mechanical Turk and AWS are so "bizarre".
Re:The Meteoric Rise of DigitalOcean by zenbowman on Thursday March 13, 2014 @09:52PM (#7396486)
I work with a few ex-AWSers. Apparently work conditions are terrible and there's a lot of churn. That would explain why the design is so inconsistent.
Re:The Meteoric Rise of DigitalOcean by derefr on Thursday March 13, 2014 @06:37PM (#7395641)
Keep in mind that I was writing this as someone who mostly uses Riak these days. ;)
Re:The Meteoric Rise of DigitalOcean by whatusername on Thursday March 13, 2014 @06:36PM (#7395636)
I think you will find that was OP's point.
Re:The Meteoric Rise of DigitalOcean by mikeash on Thursday March 13, 2014 @04:36PM (#7394811)
I've never really used phpMyAdmin but I think I take your meaning. And I've always assumed that AWS made way more sense at large scale, since that's what it seems to be aimed at. So what you're saying makes a lot of sense.
Re:The Meteoric Rise of DigitalOcean by contingencies on Thursday March 13, 2014 @05:00PM (#7394983)
I would go one step further and say that both of them are missing critical features. I recently posted a more holistic discussion of cloud devops at https://news.ycombinator.com/item?id=7384393 but it received no comment.