Without knowing anything i got on amazon's site related to AWS (Amazon Web Services) and started to read the docs. After setting up the tools i started an instance provided by amazon (it was a Fedora Core instance) and saw the whole thing run.
Coding Library:
Ruby
More Amazon EC2 Resources:

