Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Amazon EC2 Now More Ready for Application Hosting

Posted by jamie on Thu Mar 27, 2008 11:44 AM
from the in-my-humble-opinion dept.
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.
+ -
story

Related Stories

[+] Hardware: Amazon Betas 'Elastic' Grid Computing Service 78 comments
RebornData writes "I receieved an e-mail this morning inviting me to participate in a limited beta of Amazon EC2: the Amazon Elastic Compute Cloud. It's a grid computing service that allows you to create and upload your own Linux-based machine images and run them in Amazon's system, starting at $.10 per "instance hour" (each machine instance being equivalent to a 1.7GHz Xeon with 1.75GB of RAM, and 160GB disk). You can use their tools to create and start new instances dynamically to meet whatever your particular capacity needs are at any given moment. Fedora Core 3 and 4 are explicitly supported, but any distro based on the 2.6 kernel should work. The service documentation provides more technical details. Unfortunately, it appears that the beta is limited to existing Amazon S3 users, and is already full."
[+] Amazon EC2 Open To All 64 comments
An anonymous reader writes "Amazon just announced that the beta program for their EC2 (Elastic Compute Cloud) service is now open to all developers. They have also added new instance types. It appears that you can now get the equivalent of an 8-core machine. Is cloud computing for the masses finally here?"
[+] Hardware: Amazon and Hardware As a Service 53 comments
sioux_chance writes to recommend an article up on ReadWriteWeb comparing Amazon's S3 and EC2 services with Google AdSense. (They are not the first to coin the term "HaaS" for hardware as a service.) The analogy is that Google increased the granularity of (the article invents the term "fragmentized") the revenue side of the Web business, whereas Amazon's HaaS does the same for the cost side. A comment to the blog posting points out that NearlyFreeSpeech.net has been selling fine-grained hardware capacity for years, but Amazon does bring a greater scale to the business.
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • IPv6 (Score:4, Interesting)

    by rubeng (1263328) on Thursday March 27 2008, @11:46AM (#22883202) Journal
    Nice, don't suppose there's any chance of IPv6 support - give each instance, running or not, a unique address.
    • Re:IPv6 (Score:4, Insightful)

      by tolan-b (230077) on Thursday March 27 2008, @12:02PM (#22883386)
      I suspect only tunneled over IPv4.

      What I'm personally waiting for from EC2 is European datacentres, as I have an application that's latency sensitive. :(
      • Re: (Score:3, Informative)

        What I'm personally waiting for from EC2 is European datacentres, as I have an application that's latency sensitive. :(
        You can use Amazon's S3 Europe [amazon.com] for serving static files from their European datacentre.
         
        • Re: (Score:3, Insightful)

          Yeah I need low latency to the server running the app. Hopefully the fact that they've opened a Euro datacentre for S3 is an indication they might do the same for EC2 though.
          • "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.
            • by aminorex (141494) on Thursday March 27 2008, @03:32PM (#22886070) Homepage Journal
              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.
  • 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?

    • by nacturation (646836) * <nacturation@@@gmail...com> on Thursday March 27 2008, @11:56AM (#22883330) Journal

      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?
      EC2 allows you to setup your own servers on their infrastructure. Ultimately, this is as standard as getting a virtual or dedicated server at any one of thousands of other hosting providers. Switching is as easy as replicating the environment you've created for yourself (which is likely a standard LAMP stack anyways) and then doing a DNS change.
       
      • Re: (Score:3, Interesting)

        by Anonymous Coward
        Yes and no. Since it's not persistent, you have to set up some kind of backup/replication from day one -- S3 being the common choice here. My startup uses EC2+S3, and just getting a Linux image serving a webpage is completely standard (yay), but setting up all the replication and monitoring and whatnot that a real server actually needs is kind of a pain. You end up with a lot of EC2/S3-specific fun, at least on the administration side.

        As just one example, we don't do full backups, but rather have our ima
    • Re: (Score:3, Informative)

      it's pretty much a standard i386/PAE Xen image... I've not tried, but if you take a image of your filesystem, you should be able to move it to another Xen hosting provider that supports i386/PAE. Of course, most competitors don't have Amazons wiz-bang provisioning technology. Uh, not to whore out my own links, but I run a small Xen hosting provider [prgmr.com] (btw, ec2 kicks my ass when it comes to price per megabyte of ram) - and I (and I assume many of my competitors [xensource.com]) provide a read-only rescue image where you
    • by dogas (312359) on Thursday March 27 2008, @12:33PM (#22883782) Homepage
      Your comment makes it apparent that you really don't understand how hosting a website works.

      My company uses EC2 (plus a few other amazon services, which I find to be spectacular) for hosting our application. If we wanted to move to another server or company or datacenter, it's just a matter of setting up the new server and repointing the DNS. Also what is nonstandard about their servers? You basically set them up however you want. You want to run linux? cool. FreeBSD? awesome. Basically you can run any *NIX clone you please. Fortunately lots of people provide excellent templates, so rolling your own is not really necessary.
  • I have a question: (Score:5, Insightful)

    by Megaweapon (25185) on Thursday March 27 2008, @11:50AM (#22883240) Homepage
    Is this a Slashvertisement?
    • by jamie (78724) * <jamie@slashdot.org> on Thursday March 27 2008, @12:01PM (#22883372) Homepage Journal

      Just in case you were serious... :)

      Slashdot, and the company that runs it Sourceforge Inc., aren't using Amazon Web Services for anything that I know of. Slashdot runs on real hardware, not VMs, and we're not planning on changing that anytime soon. I don't know anyone using AWS, which is part of why I'm looking for Slashdot reader feedback. My experience with it is limited to starting up some instances and playing around with installing Apache to see how it all works, and I did that on my own nickel. I chatted with someone at Amazon about AWS last year, but I didn't sign an NDA so I learned about today's news through their public mailing list.

      • Re: (Score:3, Interesting)

        Doug Kaye from IT Conversations has been doing some pretty heavy stuff on EC2. He did a podcast with an Amazon guy on Technometria where they got in to a lot of detail have a listen [conversationsnetwork.org].
        • Even if it is an advert (and I suspect it isn't, though I have no proof), it's still an interesting discussion. I've been looking at the AWS line-up, and it'll be interesting to see what this thread throws up in terms of for and against.
        • by jamie (78724) * <jamie@slashdot.org> on Thursday March 27 2008, @12:46PM (#22883966) Homepage Journal

          That is avoiding the question. The question is if Slashdot is getting some sort of kickback or favor for running this article.
          The answer is: of course not. We never do that.
    • No (Score:3, Interesting)

      Amazon just has a very interesting service architecture. This is why you keep seeing articles all over the place about it.
        • Re:No (Score:4, Informative)

          by tolan-b (230077) on Thursday March 27 2008, @12:29PM (#22883704)
          Because having your own hardware you can't scale up to 50 server instances for half an hour and then scale back down to 1 when traffic decreases, just as one example.
          • Re: (Score:3, Insightful)

            Yes you can. Nothing stops you using EC2 for "overflow". EC2 for instances you use most of the time isn't cost effective compared to a number of other hosting providers, which is no surprise since you pay for Amazon to keep a huge amount of spare capacity to handle surges.
        • Re: (Score:3, Insightful)

          For me, it'd be more about hassle than price. If I'm developing a new service, it starts with just one server and I don't want the hassle of figuring out where the best host is. I want the flexibility to cancel the whole thing with no contract (billed by the hour) and just walk away if it turns out not to be a good idea. I also want the flexibility to scale quickly from 1 machine to 10 and 100 without having to worry about picking out the hardware, billing, power, cooling, network architecture, backup, fixi

        • Amazon's angle is that it scales up and down with the application demands. That's the 'elastic' part. It's more cost-effective than owning your own hardware for many applications. Suppose you had a web application that did some image processing. If you only get a handful of visitors then any decent hosting will do the job. When you get a traffic spike then your app can bring down the server or at least get your site cut off due to CPU quotas. Otoh if you design it to take advantage of EC2 then you can scale
  • 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?
    • Re: (Score:3, Informative)

      pricing and bandwidth is oulined here [amazon.com] about halfway down the page. and a nifty pricing calculator here [amazonaws.com].

      looks pretty reasonable to me, but i dont really have anything to compare it to. no minimum fee. it's completely based on bandwidth, resources, and usage.
      • The calc shows that data transfer costs $0.18:GB out ($0.10:GB in), with no maximum (or minimum) charge. It doesn't show max bandwidth, but I'd expect Amazon to have some fat connectivity, though I'd want a CIR (Committed Information Rate, or guaranteed minimum rate) for any real pro application.

        But I can get data transfer (in or out) for $0.05:GB up to 2TB:mo, with root access on an actual dedicated server, not VPS ($0.03:GB for VPS). At a datacenter I've used for a couple years, with good support, >99.
        • Um, you forgot to tell us who your existing hosting company is.
            • Re: (Score:3, Interesting)

              At my last company we were looking at EC2 as a "backup" solution to handle spikes - for that it may be cost effective. But looking at our bandwidth graphs, and the cost differential, spikes of the kind of magnitude where it'd make a difference were incredibly rare. We had maybe one event over 2+ years where it'd made a difference. If you prepare your system for virtualization anyway, you could handle that by bringing up just extra capacity on EC2 and using your cheaper host for normal day to day use.

              In fa

  • NOC (Score:2, Informative)

    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 [wikipedia.org]
    • Ah, I was using the term to mean data center. Didn't realize they were sometimes physically separated. My misunderstanding.
  • Some more about EC2 (Score:5, Informative)

    by jamie (78724) * <jamie@slashdot.org> on Thursday March 27 2008, @12:05PM (#22883434) Homepage Journal

    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 [amazonwebservices.com]. Each VM comes in one of three sizes [amazon.com]: 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 [amazonwebservices.com], 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.

  • check out Mosso (Score:4, Interesting)

    by tnhtnh (870708) on Thursday March 27 2008, @12:11PM (#22883492)
    I use Mosso - they are inexpensive and are hosted and owned by Rackspace. Therefore the service is fantastic!
      • Re:check out Mosso (Score:4, Informative)

        by lb746 (721699) on Thursday March 27 2008, @12:44PM (#22883938)
        What's also interesting about Mosso is their billing method being based on requests and not on the type of requests/media or demands your applying to the servers. What would cost you $1.89 a month on S3, costs you $100 on Mosso. You can easily max out your monthly request amount on Mosso with 3 small websites, so make sure you look into this factor carefully before considering their services.
  • by smackenzie (912024) on Thursday March 27 2008, @12:14PM (#22883516)
    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.
    • by PsychoKiller (20824) on Thursday March 27 2008, @12:48PM (#22883984) Homepage
      1) Don't limit your ideas about using EC2 to hosting. You can run whatever you want on their instances. Think about a company that does some kind of data acquisition/processing. You could set up a system for them that does a run in 1 hour (since that's the minimum billing slice) instead of their current process that takes a month on a single workstation (or even cluster of workstations in their office). The results get stored on S3 where they download them over an encrypted connection.

      2) Yes, very nervous. Especially with the privacy laws in the States. I'm Canadian, and I would be talking to lawyers about data storage issues before having sending customers' data down South.

      3) EC2 is useless without S3, since your images are stored on S3. S3 is useful without EC2, as you can use it for static storage and BitTorrent hosting.

      4) See my response to #2.

      5) I don't work for Amazon. :P
      • I like the theory that they are mostly running it on their "Christmas capacity" as far as explaining why they are doing it.


        If that's the case, what happens when Christmas rolls around?
  • Slicehost.com (Score:3, Interesting)

    by casings (257363) on Thursday March 27 2008, @12:21PM (#22883594)
    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.
    • in the UK, bytemark.co.uk get very good ratings for service. I am not a bytemark staff member, but I am a customer!
  • by saterdaies (842986) on Thursday March 27 2008, @12:24PM (#22883640)
    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.
    • You get database backup by replicating to another VM, presumably one in a different "zone" for physical separation. Then that backup VM every n hours stops its replication, dumps to S3, and starts replication back up (exactly like a physical machine would stop, dump to tape or to a remote disk, and restart).

      Database high-availability is similar. In the extreme case, you replicate your live master to the master database in another zone that entirely duplicates your live zone's setup (same number of webheads, same databases in same replication configuration, etc)... then if the live zone falls into the ocean you point your IPs to the webheads in the HA zone and resume activity within seconds, having lost only a fraction of a second of data stream.

      Having dealt with Slashdot's webheads and databases losing disk, and in some cases having to be entirely replaced, I don't see how persistent storage is a big selling point. I mean it's nice I guess, but not something that I'd sacrifice any functionality for. Applications have to be designed to run on unreliable hardware.

    • It's $72/month if you're at 100% cpu all momnth. It's $.10 per cpu hour, which is retardedly cheap, because you only pay for what you use.

      I haven't used it because of the lack of a static IP. Now, it's a viable solution for the real world.
      • Re: (Score:3, Informative)

        Billing is based on instance-hours not cpu-hours. So, for every hour or partial hour your instance is running, you get charged. It doesn't matter if you're a 1% cpu usage or 100% cpu usage during that time: http://www.amazon.com/ec2 [amazon.com]
    • Re: (Score:3, Interesting)

      It seems like you answered your own question about persistent storage. S3 is persistent storage.

      If you are running a database backed application on EC2 without a master/slave setup, and your master goes down, to me, that seems like a failure to plan for the worst on your end. It's really not an argument that even though you DO have persistent storage, your data is safe on that server. Your data is never safe. Hence, a backup/replication plan is ALWAYS needed. Services like EC2 force you to think abou
        • Re: (Score:3, Informative)

          I think if your setup requires a SAN, you're too big and enterprisy for EC2.

          S3 has been working well for us. While the semantics are different than typical storage, I would argue that they are far from useless. Since files on S3 can be made publicly accessible via a web address, we use S3 to host our assets for our website (css, javascript, images), as well as db backups and other backups.

          We have not had to design our app for EC2. We do make use of S3 for storing user data, so we have S3 libraries in our
    • Re: (Score:3, Insightful)

      Well, look at Slicehost and you can get [...] WITH persistent storage

      The Amazon machines offer storage that persists for the life of the virtual instance. That's until you kill the instance or until the hardware fails. (It does persist through reboots and OS crashes.) And unless Slicehost is running some crazy magic beyond the RAID-10 setup they mention, a hardware failure could still wipe out your data, and will certainly cause downtime during which you will have an opportunity to wonder when and whether y
  • 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
  • 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 templat
    • No, no one has used AppLogic because the minimum price just to try it out is hundreds of dollars per month. EC2 is somewhat flawed but they are getting a lot of business because it is so cheap to try.
  • by dogas (312359) on Thursday March 27 2008, @12:41PM (#22883886) Homepage
    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!
    • Re: (Score:3, Interesting)

      "Software failure" in that case refers to a failure of Amazon's Xen software that runs your virtual machine.

      Amazon doesn't know or care whether your software is "production quality code" or not. You pay $0.10/hr whether your code is debugged or not :)