Amazon EC2 Now More Ready for Application Hosting
For months now, I've been geeked about Amazon's EC2 as a web hosting service. But until today, in my opinion, it wasn't ready for prime time. Now it is, for two reasons. One, you can get static IPs, so if an outward-facing VM goes down you can quickly start another one and point your site's traffic to it without waiting for DNS propagation. And two, you can now separate your VMs into "physically distinct, independent infrastructure" zones, so you can plan to keep your site up if a tornado takes out one NOC. If I were developing a new website I'd host it there; buying or leasing real hardware for a startup seems silly. If you have questions, or especially if you know something about other companies' virtual hosting options, post comments -- let's compare notes.
Nice, don't suppose there's any chance of IPv6 support - give each instance, running or not, a unique address.
If you're using Amazon for hosting, you can't switch hosting services; their system is too nonstandard. Do you want to be in a position where they can raise prices or cut off your air supply?
Is this a Slashvertisement?
I'm sure "SlashdotMedia" will improve on all the wonders that Dice Holdings blessed us all with
How much bandwidth transfer a month can I get there, and how much does it cost? What's the max sustained bandwidth that I can get from one of their servers?
And if I'm competing with Amazon by running a popular streaming radio station (even paying the required royalties, but of course not to Amazon), will they start shutting me down?
--
make install -not war
I think you are confused ... all the NOCs of Amazon could go down and your servers (which are in a Data Centre) will continue to operate.
http://en.wikipedia.org/wiki/Network_operations_center
If the prices are good I might go with them. I don't know if you guys know but I invented the roller blade. Someone stole the idea from me and get a patent on it before I could. I would have been rich beyond my wildest dreams. My new website will be for helping people get their ideas patented. If anyone has any information on who stole my roller blade concept, please let me know. Thanks and god bless.
So here's a little about what EC2 actually is, for those of you who don't know. You don't have to reply here, start your own comments ;)
The Elastic Compute Cloud was originally designed as a way to host applications that needed lots of CPUs, and the option to expand by adding more CPUs. It's a hosting service that lets you start up virtual machines to run any software you want: they have a wide variety of pre-packaged open-source operating systems you can pick to start up your VMs with.
Starting up a VM takes just a minute or two, and it's point-and-click thanks to the Firefox extension. Each VM comes in one of three sizes: small (webhead), large (database), and extra large (bigass database). They cost respectively $72, $288, and $576 a month (billed by the hour), plus bandwidth ($0.18/GB out, somewhat cheaper for data going in and there's a price break at 10 TB).
One of the concerns everyone raises with hosting on virtual machines is that if a VM instance goes down, you lose everything on it. It comes with hard drive storage (160 GB on the small size), but if something goes wrong, that data's gone.
I think the rejoinder here is that, on real hardware, if something goes wrong, your data's gone. You never set up an enterprise-level website on the assumption that any particular hardware has to survive. Single points of failure are always a mistake, and backups are always a necessity. When any machine explodes - real or virtual - the question is how fast your system recovers to "working well enough" (seconds, hopefully) and then how long it takes you to get it "back to normal" behind the scenes (hours, hopefully). Those answers shouldn't depend on whether there's a physical drive to yank out of a dead physical machine that may or may not retain valid data.
Which brings up what I think is one of the selling points of EC2: free fast bandwidth to S3, Amazon's near-infinite-size, redundantly-replicated data storage platform. That's a nice backup option to have available. That's part of why, if I were starting a new web service, I wouldn't host it on real hardware. I'd like not having to worry about backups, tapes, offsite copies... bleah, let someone else worry about it.
Slashdot hasn't run many stories on EC2 (none that I know of) because until now it's been a niche service. Without a way to guarantee that you can have a static IP, there had been a single point of failure: if your outward-facing VMs all went down, your only recourse was to start up more VMs on new, dynamically-assigned IPs, point your DNS to them, and wait hours for your users' DNS caches to expire. That meant that while it may have been a good service for sites that needed to do massive private computation, it was an unacceptable hosting service.
Now with static IPs, you basically set up your service to have several VMs which provide the outward-facing service (maybe running a webserver, or a reverse proxy for your internal webservers), and you point your public, static IPs at those. If one or more of them goes down, you start up new copies of those VMs and repoint the IPs to them. No DNS changes required.
I know there are other companies offering web hosting through virtual servers. Please share information about them, the more we all know the better.
Okay, I really feel old now. Do "The Kids These Days" really say things like "I've been geeked"? And if so, why? Where the fsck did such a stupid saying come from?
Oh, and get off my lawn.
"You cannot simultaneously prevent and prepare for war." -- Albert Einstein
I use Mosso - they are inexpensive and are hosted and owned by Rackspace. Therefore the service is fantastic!
The more I learn about Amazon's AWS offerings... the more confused I get. I've read a TON of material, reviewed the APIs, looked at sites built on this platform and have read many blog entries. I feel like I "know" a lot, but understand very little. Someone help?
1. What is a perfect "typical" application for AWS? (And don't answer, "one that needs to scale...". I'm looking for a realworld example.)
2. Anyone here on Slashdot using these services? Nervous about single point of failure? (And I don't mean just technical, but also financial, legal, security, business continuity, etc.)
3. EC2 / S3: is there any value in using just one? I've noticed there are additional services now, too
4. In the days of SOx / PCI / CISP compliance, is it even possible to set up a financial app on AWS?
5. Also, finally, maybe a question to Amazon... why? Someone did the financials recently and it was a fascinating study. The short of it is that at max capacity, the net income from all of AWS for Amazon is so tiny, you have to wonder why they even bothered... [need citation]
A classic case of wanting to like the technology, but not really sure how to use it. Thanks.
Amazon just has a very interesting service architecture. This is why you keep seeing articles all over the place about it.
Cheap, affordable, reliable VPS solutions: www.slicehost.com
I have been with them for a few months, and their interface's ease of use, and the level of support they provide are just what I was looking for.
There's still one glaring problem. There is no persistent storage (other than shuttling data to S3). That means that if your website is database-backed, you need to figure out what to do should your instance crash. Hourly backups? Mounting S3 as a slow FUSE filesystem that you can put your database on? It's all ugly.
And it's still not a great value. It seems cheap. $72/mo for a 1.7GB RAM server. Well, look at Slicehost and you can get a 2GB RAM Xen instance (same virtualization software as EC2) for $140 WITH persistent storage and 800GB of bandwidth. That doesn't sound like a great deal UNTIL you calculate what EC2 bandwidth costs. 800GB would cost you $144 at $0.18 per GB bringing the total cost to $216 ($76 more than Slicehost). That 18 cents doesn't sound like much, but it adds up. The same situation happens with Joyent. For $250 you get a 2GB RAM server from them (running under Solaris' Zones) with 10TB of bandwidth. That would cost you $1,872 with EC2. Even if you assume that you'll only use 10% of what Joyent is giving you, EC2 still comes in at a cost of $252 - and without persistent storage!
EC2 really got the ball rolling, but it just isn't such a leader. Other operations have critical features (persistent storage) that EC2 is lacking along with pricing that just isn't more expensive. I want to like EC2, but their competitors are simply better.
My major concern (last time i checked) was fail over & virtual ips. I think they fixed this with the new elastic ip. I will have to check again.
However, another issue i had was to send traffic between 2 EC2 nodes. They don't mention (maybe i missed) nor guaranty the bandwidth between the nodes in the same availability zone. This is crucial if you are trying to run a very fast performance tests between the 2 nodes and you need minimum delays. I am not sure if the bandwidth between the EC2 nodes is caped or no as well.
"More ready" is wonderfully relative.
"Less unready" is just as accurate, and perhaps more precise.
Without an SLA, EC2 or SimpleDB, or "Head in The Cloud" is an experimental platform.
"Flyin' in just a sweet place,
Never been known to fail..."
We looked at the EC2 solution when we started developing our hosted offering and didn't care for the new IP address when, and if, something went down. We went with a hosting company called LayeredTech. They offer public and private VPS and VPDC solutions. The really cool thing that has impressed me is they run 3Tera's AppLogic platform. It lets you visually (through a web ui) create "applications" based on "appliances". There is a standard portfolio of prebuilt applications (SugarCRM, etc.) and templates for LAMP, etc. So, we build our application by taking a firewall appliance, a CentOS appliance, a gateway, a MySql appliance, glue them together, customize them, and then create our own template. You can specify down to the appliance level, the amount of cpu, memory, disk, and bandwidth each are assigned which let's you scale up your capacity simply by tweaking values through the UI. We can now deploy our Rails/Java hosted offering for new customers in about 20 minutes on our grid. AppLogic has automatic failover so that if anything goes wrong, it reploys your application to a new node in your grid and restarts it. It's not as cheap as EC2, but much more powerful. It's definitely worth a look.
Considering today's hardware, that's a very expensive "lease".
Moreover, from TFA:
So, if your instance starts up and then crashes immediately due to software failure? That's $0.10 you just spent.
Better make sure your instance is running production quality code, otherwise crashes just after the hour mark can get pretty expensive pretty quick.
Summary: Amazon's hosting is neat, but expensive. There are cheaper alternatives.
My company uses EC2 + S3 + SQS + Rightscale (http://rightscale.com) to manage our infrastructure.
First off, Amazon has an excellent product. It is essentially Hardware As A Service, and the tools they provide abstract it as such.
The most common argument against using EC2 for hosting is that if your server goes down, you will lose any data created since the last time you saved a snapshot. While this is true, it forces you to bring a backup + recovery plan to the front of the table. Provided you have a backup + recovery plan in place, you no longer have to worry about fixing a server ever again. If something goes wrong with one of our application servers, I would simply fire up a new instance, link it in with DNS, and terminate the old server. With rightscale, this is all pushbutton.
Consider that scenario with running your own colo server. You could potentially spend hours diagnosing + fixing an issue with a server before you could bring it back up. Ok fine, the way to mitigate that is to have a hot backup running. But now we're talking about a ton of cash to support 2 servers on a month-to-month basis. We have found that amazon's costs to run EC2 instances are very competitive for the specs.
Note: I'm not a shill for either rightscale or amazon, I just find that these 2 companies are the forefront of where hosting is going, and their products are awesome. It's all about virtualization!
'When the going gets weird, the weird turn pro.' -HST
is that true about no SLA?
That would make me pretty nervous committing my company's business to Amazon without an SLA....
I'll see your hokum and raise you a boondoggle.
I use linode for my VPS hosting. Though I only use it for blog/family photos, I love how easy it was to set everything up. Linode only lets you run linux though, but offers a choice of distribution. I use their CentOS 5 build. It comes with persistent storage, and a nice little web console to manage. It's great to play around with, as their cheapest option is $20 a month (I bought when it was at a special and only $10 a month for the lowest option).
;-)).
:-).
Highly recommend it, the guy who runs it is very responsive in the forums, though I have never had a problem (don't think my site gets much traffic though
Only thing that would potentially prevent me from using VPS for a business though is company-sensitive data. Do you guys who have used VPS for company servers do anything to protect your data? That's the one advantage of having your own hardware that I don't know if any VPS really matches. Who knows, maybe having your own box in someone else's rack gives you the same issue anyways. I think I'm probably just too paranoid
"Being geeked" is a term my friends use to describe someone that is very high on drugs.
Kids these days..
I went to eat some animal crackers and the box said, "Do not eat if seal is broken." I opened the box and sure enough..
Hmmmnn. I been looking. The DB is definitely no SLA. Looks like EC2 and Storage got one, six months ago.
"Flyin' in just a sweet place,
Never been known to fail..."
FreeBSD support for xen hasn't been merdged into mainline just yet (acutally, last time I looked there was a patchset for FreeBSD 7 that was broken by xen 3.0.3 that had been idle for a while.. looking again, Kip Macy looks to have updated it to work with FreeBSD-Current: http://wiki.freebsd.org/FreeBSD/Xen, so maybe I'll look into it again when I get a chance.)
NetBSD/Xen is quite stable on i386/non-PAE and netbsd-current has i386-PAE and x86-64 support for xen... If you like OpenBSD, NetBSD might be a better choice than Free (OpenBSD is very close to NetBSD) Any xen provider that can handle i386-non-PAE should be able to give you good NetBSD images. (I won't have a non-PAE box available for 3 weeks or so)
Within the context of ec2, last time I looked ec2 was i386-PAE, so you should be able to run netbsd-current (or even freebsd-current according to the above link) on it.
E-mail me if you want to continue this discussion within the context of my hosting company.
Some days ago I posted an article on my blog in which I try to compare different cloud services and also give my 2 cents opinion about the technology itself (disclaimer: I directly tested only two services, EC2 and GoGrid.)
Beyond the comparison, in my post I say that I was wrong trying to use a utility computing platform as EC2 like a web hosting platform; also, there other very interesting uses of the technology behind the clouds (e.g. creating disposable environments for application testing.)
This is a service I find interesting and appealing in many ways, and I intend to investigate it further after reading this thread. But upon using Amazon's handy calculator, my costs for comparable services would be roughly *6 times* what I'm currently paying for leasing two physical machines and the bandwidth to go with them. For quick projects to test out something, this would be a good service. But for a day in/day out stack, I don't think this is it, at least not for me.
I want a new quote. One that won't spill. One that don't cost too much. Or come in a pill.
Most SLA's are worthless. Unless there are SIGNIFICANT financial penalties for downtime they make little difference.
They help you sue - and to reach out-of-court refunds.
"Flyin' in just a sweet place,
Never been known to fail..."
We've been using Joyent and are very happy. I've used EC2 for a few things and I think Joyent is more economical for many applications.
"It was hell!" recalls former child.
That depends a lot on the scale of your operation and the scale of your hosting service. The value of an SLA is that you can sue to recover damages in case of non-compliance. But it may not be possible to recover real damages in court: Your provider may not have pockets that deep, you may not have pockets as deep as your lawyers' thirst for money, and the law may not allow for full recovery in your circumstance.
EC2 is up and stays up. Reliabilty counts for a lot more than legal recourse, in my book. SLAs don't create reliability, they *help* (hopefully) to create legal recourse, which is a very poor substitute.
-I like my women like I like my tea: green-
I understand that EC2 is *nix only, with nonpersistent filesystems, and that S3 is an apparently very reliable remote filesystem that you can get to really fast from EC2 for free.
I understand the huge value of this for transient (1 month) intensive very bursty workloads. Which, mostly, seems to be what's it's targeted at.
But for actual normal servers I don't quite see it... I mean one option is that it's cheap. Which it might or might not be, depending on who you compare it to. Maybe it's the most reliable option out there at some price point, but the static IPs (for instance) are pretty young to consider this true, and it's not necessarily cheaper than the discounter's dedicataed servers. If we just assert for the discussion that it's not cheaper per power, then the question is, is it advantageous in other ways?
It seems like you can take your same instance and reboot it bigger, which is nice, but not _really_ that different than most hosting, which will move your drives to newer machine. And it seems like coordinating this would still be a fair headache, and you don't really want to ever have 0 instances during the transition, so you're talking about some overlap.
So it seems like you'd only be really interested in this if you were always going to have your main instance up, and then you were sometimes going to have none but sometimes going to have many other instances up. Past a certain scale it might be worth your time to have more instances 9-5 and less at night, or something (depending on your users) But the setup seems like a lot of issues (not to make it just run, but to really take advantage of it.)
I'm also curious whether it supports automatic instance restarting... e.g. if a zone goes down, can you tell it you definitely want it to put your instance up again in a new zone? (Understanding that your instance has to be smart enough to boot into a useable state unmanaged... but it's a lot better than you having to monitor it.)
Looking for freelance Actionscript (Flash/Flex) or ColdFusion work and/or freelance developers. Email me, put Slashdot
or some other method to let you pick the kernel? (even then, you are going to have something of a hard time with FreeBSD, it's xen support is rather, uh, alpha)
While this technology seems great and I'd love to play with it, my company is highly distrustful of America and we basically can't use anything which is under the legal hammer of the US Govt. We've just heard too much about secret data mirroring, warrantless searches, endless "monitoring" of everything - it's a nasty state of affairs.
.. ; )
And it gets worse the larger the US Corporation. I don't seriously think that the smaller hosting providers have any kind of NSA supervision, we're using a US Colo facility right now. But it gets easier and easier to believe, as the company size goes up and transparency goes down, that there's data monitoring at some or all of the "big" facilities.
Is this groundless, irrational, kneejerk paranoia? Maybe. But there's a lot of circumstantial evidence. It's all to do with the CIA and NSA - they're masters, absolute masters, of the long-term strategy game. Through their investment arms they choose likely-looking candidates and "bless" them - with their money, and immense influence in diverse circles, they choose, fund and henceforth influence the winners. It's a very clever game, I have to hand it to them.
How to detect such compromises in a company? It's almost impossible but at the holistic level there does seem to be a certain "smell" around the "blessed" players. Google's technology stood by itself, but Facebook? Facebook's rise has been too many ducks in a row for me, and the TLAs couldn't ask for a better information-gathering service. And now they're adding IM - how convenient. I'm sure the privacy of arabs who are members of groups critical of America writing each other messages in farsi will be utterly inviolate!
What has any of this to do with EC2? Well, nothing, except that it has the same kind of smell to me. Large, opaque corporation with obvious dependency on Govt. benevolence? Check. Opportunity to create a single mega-source of intelligence? Check. Good fundamental technology? Check. Slightly suspicious "blessed" feeling around media coverage all choosing an "official" solution to the on-demand problem? Double plus check.
This may all be paranoia, I certainly can't prove anything, and I doubt I'll be able to any time soon. But historically there is ample precedent elsewhere. Many, many intelligence agencies have played the "kingmaker" role everywhere in the world - pick a winner, make sure he's the winner, and make sure he's yours. Historically it's been many different types of company - I am thinking especially of media but it's everywhere. And it's not even solely about surveillance or control - it can just be to strengthen the country's economy by hidden "we're all on the same team" support - look no further than Japan Inc. in the 80s or the Chaebols in Korea today for the textbook example of how that's done. And do I even need to mention NSAKEY?
Am I crazy? You might think so, but I'm not alone. I might not be able to actually disclose who wrote that writing on the wall, why, when or how, but it's pretty obviously there by now.
Especially in the Information Technology realm, it's now USA Inc., and IMO anyone who values their data and/or privacy should at least consider this before entrusting it to an American corporation.
OK, replies denouncing me as a nutcase to start in 3, 2, 1
Does anybody have experience with using EC2 as failover? Can it be fully automated?
I operate a regular database backed web site, and have spare servers sitting around in case something goed awry. It would be great if I could avoid that redundancy and set things up so that EC2 instances get fired up if my heartbeat server detects the site is down, pipes the database over (or the latest backup if that's unavailable), and then redirects the load balancer to the EC2 instances. I'd like to do all of this without human intervention (since I hate getting up at 3 AM and I make mistakes a lot)
If this can be done reliably it would be an awesome service, but I have no clue how the business model for Amazon would work, since I would only be really using it for a few hours a year
This sig is just as redundant as the rest of this posting
I have a web application that runs on a fairly standard Tomcat/Linux/Oracle stack. Is there anyone else out there using EC2 for something similar? I would be very interested to hear about your experiences with AWS. Contact me at scarolan[at]gmail[dot]com if you have any info.
Hey I spent the last few days learning a bit about EC2. I am definatly still a newbee but if any one is interested I recorded a screen cast of my session creating an instance, lunching a webserver and connecting to the Fedora instance with SSH. You can see it here: http://www.youtube.com/watch?v=bBajLxeKqoY