Flipkart

Flipkart

Monday, March 26, 2012

Cracking the cloud: An Amazon Web Services primer


Cracking the cloud: An Amazon Web Services primer
It's nice to imagine the cloud as an idyllic server room—with faux grass, no less!—but there's actually far more going on than you'd think.
Maybe you're a Dropbox devotee. Or perhaps you really like streaming Sherlock on Netflix. For that, you can thank the cloud.
In fact, it's safe to say that Amazon Web Services (AWS) has become synonymous with cloud computing; it's the platform on which some of the Internet's most popular sites and services are built. But just as cloud computing is used as a simplistic catchall term for a variety of online services, the same can be said for AWS—there's a lot more going on behind the scenes than you might think.
If you've ever wanted to drop terms like EC2 and S3 into casual conversation (and really, who doesn't?) we're going to demystify the most important parts of AWS and show you how Amazon's cloud really works.

Elastic Cloud Compute (EC2)

Think of EC2 as the computational brain behind an online application or service. EC2 is made up of myriad instances, which is really just Amazon's way of saying virtual machines. Each server can run multiple instances at a time, in either Linux or Windows configurations, and developers can harness multiple instances—hundreds, even thousands—to handle computational tasks of varying degrees. This is what the elastic in Elastic Cloud Compute refers to; EC2 will scale based on a user's unique needs.
Instances can be configured as either Windows machines, or with various flavors of Linux. Again, each instance comes in different sizes, depending on a developer's needs. Micro instances, for example, only come with 613 MB of RAM, while Extra Large instances can go up to 15GB. There are also other configurations for various CPU or GPU processing needs.
Finally, EC2 instances can be deployed across availability zones—which is really just a fancy way of referring to the geographic location of Amazon's data centers. Multiple instances can be deployed within the same availability zone (such as US East Virginia), or across more than one if increased redundancy and reduced latency is desired

Elastic Load Balance (ELB)

Another reason why a developer might deploy EC2 instances across multiple availability zones is for the purpose of load balancing. Netflix, for example, uses a number of EC2 instances across multiple availability zones. If there was a problem with Amazon's US East center, for example, users would hopefully be able to connect to Netflix via the service's US West instances instead.
But what if there is no problem, and a higher number of users are connecting via instances on the East Coast than on the West? Or what if something goes wrong with a particular instance in a given availability zone? Amazon's Elastic Load Balance allows developers to create multiple EC2 instances and set rules that allow traffic to be distributed between them. That way, no one instance is needlessly burdened while others idle—and when combined with the ability for EC2 to scale, more instances can also be added for balance where required.

Elastic Block Storage (EBS)

Think of EBS as a hard drive in your computer—it's where an EC2 instance stores persistent files and applications that can be accessed again over time. An EBS volume can only be attached to one EC2 instance at a time, but multiple volumes can be attached to the same instance. An EBS volume can range from 1GB to 1TB in size, but must be located in the same availability zone as the instance you'd like to attach to.
Because EC2 instances by default don't include a great deal of local storage, it's possible to boot from an EBS volume instead. That way, when you shut down an EC2 instance and want to re-launch it at a later date, it's not just files and application data that persist, but the operating system itself.

Simple Storage Service (S3)

Unlike EBS volumes, which are used to store operating system and application data for use with an EC2 instance, Amazon's Simple Storage Service is where publicly facing data is usually stored instead. In other words, when you upload a new profile picture to Twitter, it's not being stored on an EBS volume, but with S3.
S3 is often used for static content, such as videos, images or music, though virtually anything can be uploaded and stored. Files uploaded to S3 are referred to as objects, which are then stored in buckets. As with EC2, S3 storage is scalable, which means that the only limit on storage is the amount of money you have to pay for it.
Buckets are also stored in availability zones, and within that zone “are redundantly stored on multiple devices across multiple facilities.” However, this can cause latency issues if a user in Europe is trying to access files stored in a bucket on US West, for example. As a result, Amazon also offers a service called CloudFront, which allows objects to be mirrored across other regions.
While these are the core features that make up Amazon Web Services, this is far from a comprehensive list. For example, on the AWS landing page alone, you'll find things such as DynamoDB, Route53, Elastic Beanstalk, and other features that would take much longer to detail here.
However, if you've ever been confused about how the basics of AWS work—specifically, how computational data and storage is provisioned and scaled—we hope this gives you a better sense of how Amazon's brand of cloud works.

Sunday, March 25, 2012

Ars readers call for hackerspaces in the Ars OpenForum

Ars readers call for hackerspaces in the Ars OpenForum
So who'd like to get started on an RFID teddy bear?
Ars Technica's beginnings are rooted in a community that has always tinkered, built, and modded computer hardware. As it has evolved, the do-it-yourself philosophy has also triggered other communities that make their own stuff. Most recently, the "make movement" has made a name for itself in the world of open source hardware and hacking. The movement covers a broad range of interests, edging into some hardcore do-it-yourself projects. Some groups meet in hackerspaces, but the movement at large seems mostly based on the spirit of building things yourself or with other people.
This month, svdsinner started a fascinating thread in the OpenForum titled "Forums and the modern make movement." He started the thread by discussing "The modern open source hardware/hardware-hacking movement that has arisen with the advent of ultra-low cost micro controllers, the skyrocketing usefulness-to-cost ratio of interesting electronics sensors like gyroscopes, accelerometers, etc., and the new e-commerce-enabled ease of buying a vast array of inexpensive electronic components regardless of whether they are 'available locally' or not. There is a huge alpha-geek driven culture (personal fabrication, 3d printers, home CNC, hobby robotics, rapid prototyping, quad-rotators, etc.) that while on one hand is a perfect fit with the targeted readership of Ars, has no place in the open forum where it can be discussed where it would not be out-of-place."
Other readers in the thread noted that they'd like to see a dedicated space for some of these make projects in the Ars OpenForum. We are taking in all these recommendations from the Forum as we evolve the topics and forums in the near future.
Though the definition of a make project can be quite broad, svdsinner provided a nice list of different types of makers out there: Engineer-types who just love to have an extensive toolset to fix/build whatever they want, robotics tinkerers, academics, small businesses, artists, and of course, alpha geeks. If you feel there's other types of projects that fall under the definition, be sure to let us know in the comments or via our Ars pages on social sites.
Ars reader Chuckaluphagus has started his own RFID Teddy Bear project, and is hoping that there will be interest in him chronicling his project in the forums. What's more, that post brought out other makers out of the woodwork. If you have a project similar to his, or simply want to bounce ideas off other members in the forum, you can add your contribution to the thread or register for an account to get started.
We'd like to ask you, the readers, where to take this next. Would you like to see expanded coverage of makers and their projects? Like some of the readers in the thread mentioned, should there be a dedicated space in the OpenForum for make projects? Let us know what you think.

Amazon

Flipkart