Thursday, May 17, 2012

Try "Ubuntu Cloud Guest" free

Yep here is a solution to try cloud free of cost.
 Almost all cloud provide free trail, but they need your credit card number for sign up and we students don't have a credit card.

Ubuntu Cloud Gust is cloud running on top of Amazone EC2 and CANONICAL will pay for you. You can try it for one hour. It is based on AWS trial : AWS Trial is a web service that allows someone with an AWS account to allow others to launch "trial" instances, which give them 1 hour to play for free.

Below I am describing the sign up process and how to run it.
Here I am using linux terminal for ssh, you can use putty if you are using windows.
Here I will describe how to provision the image and how to create a web server in it and access it publicly.

the procedures are.

  • Click on "Let's go to the cloud" button on the bottom of the page.


  • If you have an UBUNTU account sign in using your email address and password or create an account.


  • Click continue



  • Click on yes sign me in
  •  Select Type of operating system you want . Here I am selecting Ubuntu server Base Install . 
  • Accept the license agreement and click Launch button.



  • Now wait for three minutes to provision your image. 



  • After that your image ip address one time password and  ssh key will appear as shown below. And remaining time also will be shown .




  • Now open terminal and type ssh ubuntu@obtained ip address
  • Then it will show any of the encryption key and ask you to whether connect or not 
  • type 'yes'
  • Then it will ask for password .Give the obtained one time password described above. 

Done now you logged in as root in your ubuntu server running on Amazone EC2.

Now you can do what ever you want !!!!!!!!
You can install software and run them.


Here I am describing how to install Apache web server and run it.

  • On the terminal type "sudo apt-get install apache2"
  • Now Apache web server will be automatically installed and  running. 
  • Now you want to open port 80 of your server to public
  • Type the following command "sudo ufw allow 80
  • Now your port 80 is opened for public
  • Open your favorite web browser and type "http://your obtained ip"
  • If every thing fine it will display a page saying "It works" as shown below.



Now lets crate our own page. 

  • Now go to the directory /var/www from terminal  by typing command cd /var/www
  • Create a new webpage by typing "sudo vi test.html"
  • Now you are in vi editor create a web page as shown below. (press i to insert text after finishing press Esc key and type wq and hit Enter key)




  • Now go to your web browser and type the url as http://ip/test.html


That's it

You can try a lot your self because you have a powerful server running on powerful machine


If you have any query please comment below.


Thank you