You are here

amazon ec2

How-to install Ruby and Rails on a Amazon EC2 Server

To install Ruby and Rails on your Amazon EC2 server there are a few steps you need to follow, but none of them quite hard. By default ruby is already installed on your server by Amazon - check it by running $ ruby -v.

$ ruby -v
ruby 1.8.7 (2011-06-30 patchlevel 352) [i386-linux]

How to connect to Amazon EC2 using Putty SSH

If you use Windows to connect to your servers, the most used software to connect using SSH are usually Putty or Cygwin. This tutorial will use Putty to allow you to connect to an amazon EC2 server.
When you build your servers you created a ".pem" file which is the public-key of a specific certificate. Putty does not understand this key, so it is necessary to create a "ppk" file - Putty Private Key.

Installing Apache in your Amazon EC2 Cloud Server

Now that you have your Amazon EC2 Cloud server, you need to start setting it up. (Did u get free cloud server?)

I think starting with an apache server would be a good (and very simple) option. All you have to do is type the command:

$ sudo yum -y install httpd

It will install a brand new apache server in lightning speed.

Now let us start the server services and have them start up automatically on a reboot:

Amazon Elastic Cloud (EC2) for free

Amazon has a program to help users get started in the cloud for free. It is called AWS Free Usage Tier and it is offered as no charge for new Amazon EC2 customers.
You can run a micro instance for free for a year with a fairly good pack of services for free:

Subscribe to RSS - amazon ec2