a. Unless you like throwing money out the window, there is no need to host your stuff on AWS. It's the most expensive of the cloud offerings. Go with Linode or Slicehost. b. You'll have to use EBS if you want persistent disk storage with an AWS instance. Otherwise when you reboot, goodbye to everything on your harddisk. But, seriously, reconsider your aims of putting up a 24/7 web hosted up on EC2. You're wasting mon…
Ask HN: Explain AWS
11–20 of 34 posts
Re: Ask HN: Explain AWS
#12Every EC2 instance has about 150GB of transient disk space. It works like a regular disk but once you shutdown the instance (or in the rare event the instance fails) the disk is gone forever. To solve this problem, Amazon provides EBS volumes ("elastic block storage"). These are like raw disks that you can create on the fly. You create one, attach it to your instances, give it a filesystem, and then mount it. You can…
I've found it easier to think of an EC2 image's 150GB of 'disk' as RAM, and Elastic Block as an actual hard drive. EC2's disk is there when it's powered on, but when you turn it off, all data disappears. Elastic block is really EC2's hard drive. Two issues that burned me a couple of months ago with EC2 and Elastic Block: I built my server and got it running just right. I then wanted to back it up, so I bundled it (sa…
How are you running your automated backups? Have you automated deployment too?
Re: Ask HN: Explain AWS
#13Each EC2 instance is a virtual, private server which looks just like any other linux box. However, files on disk are part of shared drives and are not guaranteed to persist. You have three choices : attach and pay for an elastic block store that IS persistent, make periodic backups to S3 or forgo the use of the disk altogether and use SimpleDB instead of mySQL. I'd recommend using an elastic block store.
Re: Ask HN: Explain AWS
#14a. Unless you like throwing money out the window, there is no need to host your stuff on AWS. It's the most expensive of the cloud offerings. Go with Linode or Slicehost. b. You'll have to use EBS if you want persistent disk storage with an AWS instance. Otherwise when you reboot, goodbye to everything on your harddisk. But, seriously, reconsider your aims of putting up a 24/7 web hosted up on EC2. You're wasting mon…
Re: Ask HN: Explain AWS
#15If you haven't done so already, check out RightScale (www.rightscale.com). They offer a dashboard that helps users access AWS.
Re: Ask HN: Explain AWS
#16a. Unless you like throwing money out the window, there is no need to host your stuff on AWS. It's the most expensive of the cloud offerings. Go with Linode or Slicehost. b. You'll have to use EBS if you want persistent disk storage with an AWS instance. Otherwise when you reboot, goodbye to everything on your harddisk. But, seriously, reconsider your aims of putting up a 24/7 web hosted up on EC2. You're wasting mon…
I've helped companies build deployment processes with EC2 that allows them to launch a staging environment with a single command that includes a complete copy of production data. They run their tests, then cut a release and shutdown the staging environment with another single command. That's not possible without EC2 and EBS.
Re: Ask HN: Explain AWS
#17Every EC2 instance has about 150GB of transient disk space. It works like a regular disk but once you shutdown the instance (or in the rare event the instance fails) the disk is gone forever. To solve this problem, Amazon provides EBS volumes ("elastic block storage"). These are like raw disks that you can create on the fly. You create one, attach it to your instances, give it a filesystem, and then mount it. You can…
Thanks for your reply. I now understand how it all works.
Re: Ask HN: Explain AWS
#18a. Unless you like throwing money out the window, there is no need to host your stuff on AWS. It's the most expensive of the cloud offerings. Go with Linode or Slicehost. b. You'll have to use EBS if you want persistent disk storage with an AWS instance. Otherwise when you reboot, goodbye to everything on your harddisk. But, seriously, reconsider your aims of putting up a 24/7 web hosted up on EC2. You're wasting mon…
It's also hard to dynamically scale with Slicehost or Linode. You can't have a script bring an instance up for an hour and then shut it down when the load drops off. (Actually, you probably can, but that's not what it's designed for.)
Obviously EC2 is not for everyone, but it is good if you need its features.
Re: Ask HN: Explain AWS
#19Every EC2 instance has about 150GB of transient disk space. It works like a regular disk but once you shutdown the instance (or in the rare event the instance fails) the disk is gone forever. To solve this problem, Amazon provides EBS volumes ("elastic block storage"). These are like raw disks that you can create on the fly. You create one, attach it to your instances, give it a filesystem, and then mount it. You can…
2- the problem with using EBS comes when you have a larger DB, like, oh, 80GB or so. It takes no less than 6-8 hours to produce a snapshot of that -- I just tried it. You can do a simple rsync to another instance in like 2-3 hours. I want to like EBS but it seems ... slow.
Re: Ask HN: Explain AWS
#20a. Unless you like throwing money out the window, there is no need to host your stuff on AWS. It's the most expensive of the cloud offerings. Go with Linode or Slicehost. b. You'll have to use EBS if you want persistent disk storage with an AWS instance. Otherwise when you reboot, goodbye to everything on your harddisk. But, seriously, reconsider your aims of putting up a 24/7 web hosted up on EC2. You're wasting mon…
That makes it worth the slightly higher costs for me.