{"id":485,"date":"2009-01-19T19:47:22","date_gmt":"2009-01-20T03:47:22","guid":{"rendered":"http:\/\/www.codebelay.com\/blog\/?p=485"},"modified":"2009-01-19T19:49:36","modified_gmt":"2009-01-20T03:49:36","slug":"amazons-ec2-and-s3-computing-on-the-cheap","status":"publish","type":"post","link":"https:\/\/www.codebelay.com\/blog\/2009\/01\/19\/amazons-ec2-and-s3-computing-on-the-cheap\/","title":{"rendered":"Amazon&#8217;s EC2 and S3 &#8212; Computing on the Cheap"},"content":{"rendered":"<p>I was really inspired by the story of <a href=\"http:\/\/en.wikipedia.org\/wiki\/Pownce\">Pownce.<\/a>, and how they used <a href=\"http:\/\/aws.amazon.com\/s3\/\">S3<\/a> for storing media assets.<\/p>\n<p>I really liked how easy it was to share media with Pownce. Alas, it&#8217;s no more and shut down on December 15th of last year.<\/p>\n<p>What&#8217;s a guy to do? Well, using a combination of <a href=\"http:\/\/www.panic.com\/transmit\/\">Transmit<\/a>, a file upload and synchronization client, and <a href=\"http:\/\/aws.amazon.com\/s3\/\">S3<\/a> I can hack my own file sharing. I just upload the files I want to share and send the links to friends.<\/p>\n<p>Here&#8217;s a link to <a href=\"http:\/\/barcebucket.s3.amazonaws.com\/katy-perry.png\">an S3 media asset<\/a>.<\/p>\n<p>Once I felt comfortable about S3, I took the dive into <a href=\"http:\/\/aws.amazon.com\/ec2\/\">EC2<\/a>.<\/p>\n<p>Pros: You can have a server of your choice, in my case LAMP, running in less than 5 minutes.<\/p>\n<p>Cons: If the server crashes, all your data is gone.<\/p>\n<p>Solution: Use <a href=\"http:\/\/aws.amazon.com\/ebs\/\">ESB<\/a> for database storage and S3 to back up files and custom executables.<\/p>\n<p>How much does it cost?<\/p>\n<p>For 1 LAMP server with 1.7GiB RAM running with a virtual 1.7Ghz CPU, and about 160GiB of storage will run you about 10 cents an hour, which is not bad considering that a colo will charge you around $100 per 1U or 12.5 cents per hour, and you&#8217;re stuck with the hardware you have.<\/p>\n<p>The savings are even greater if you&#8217;re just setting up servers for prototyping and tearing them down. <b>My last EC2 bills averaged at about $35 per month<\/b>.<\/p>\n<p>The next few blog posts will go into more detail about how to set up your own EC2 virtual server, and the pitfalls I&#8217;ve run into.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was really inspired by the story of Pownce., and how they used S3 for storing media assets. I really liked how easy it was to share media with Pownce. Alas, it&#8217;s no more and shut down on December 15th of last year. What&#8217;s a guy to do? Well, using a combination of Transmit, a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,33],"tags":[264,261,263,262],"class_list":["post-485","post","type-post","status-publish","format-standard","hentry","category-techbiz","category-webapps","tag-cloud-computing","tag-ec2","tag-pownce","tag-s3"],"_links":{"self":[{"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/posts\/485","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/comments?post=485"}],"version-history":[{"count":0,"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/posts\/485\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/media?parent=485"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/categories?post=485"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/tags?post=485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}