{"id":233,"date":"2009-03-31T22:32:00","date_gmt":"2009-03-31T22:32:00","guid":{"rendered":"http:\/\/blog.trungson.com\/?p=233"},"modified":"2009-03-31T22:32:00","modified_gmt":"2009-03-31T22:32:00","slug":"getting-started-with-ec2-tutorial","status":"publish","type":"post","link":"http:\/\/blog.trungson.com\/?p=233","title":{"rendered":"Getting started with EC2 tutorial"},"content":{"rendered":"<p>I just start playing with EC2 today and these are some useful notes and observation. The small standard instance is quite slow, only scores 50 under Unixbench-WHT. Our quads E5405 are around 410+, Q9550 is at 650-750.<\/p>\n<p>I also was confused about S3 versus EBS. The console management makes life much easier, but could be improved even further. This is what you do after attaching a EBS volume to an instance:<\/p>\n<blockquote><p>mkfs -t ext3 \/dev\/sdx<br \/>\nmkdir \/mnt\/data-store<br \/>\nmount \/dev\/sdx \/mnt\/data-store<\/p><\/blockquote>\n<p>For CentOS AMI (ami-0459bc6d), you need to run this to be able to customize the AMI and build your own<\/p>\n<blockquote><p>depmod -a<br \/>\nmodprobe loop<\/p><\/blockquote>\n<p>As for performance, it&#8217;s pretty disappointing indeed. I ran Unixbench WHT 4.1 and small instance only got 51 (CentOS 5 32-bit) and the large instance got 111 (CentOS 5 64-bit). If you run an instance 24\/7, it&#8217;s much more expensive for the same performance of a dedicated server. Our quad core servers usually get 600+ on the same test. The price you pay for EC2 is &#8220;on-demand&#8221;, meaning that you need to automate it to the point scaling up during peak is seamlessly and not having to run a single or even multiple instances all the time.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I just start playing with EC2 today and these are some useful notes and observation. The small standard instance is quite slow, only scores 50 under Unixbench-WHT. Our quads E5405 are around 410+, Q9550 is at 650-750. I also was confused about S3 versus EBS. The console management makes life much easier, but could be [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"_links":{"self":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts\/233"}],"collection":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=233"}],"version-history":[{"count":0,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts\/233\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=233"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=233"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=233"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}