Cloud computing you do not generally own the physical infrastructure serving as host to the software platform in question. Instead, they avoid capital expenditure by renting usage from a third-party provider. They consume resources as a service and pay only for resources that they use. Many cloud-computing offerings employ the utility computing model. Sharing “perishable and intangible” computing power among multiple tenants can improve utilization rates, as servers are not unnecessarily left idle it will reduce costs significantly while increasing the speed of application development. A side effect of this approach is that overall computer usage rises dramatically, as customers do not have to engineer for peak load limits. Additionally, “increased high-speed bandwidth” makes it possible to receive the same response times from centralized infrastructure at other sites.
Following are some simple Tip and tricks on how to build an application using Amazon Web Services. While purchasing Amazon EC2 you will get auth key and public key to access your EC2 server. You can set this key to your local PC by simple commands bellow.
Down load Tool from http://developer.amazonwebservices.com/connect/entry.jspa?externalID=351&categoryID=88
* Before all you need to download java5+ SDK to install this tool
export JAVA_HOME=/usr/ [Path to java binary]
export EC2_HOME=/root/amz [Path to EC2 tool]
Set the environment variables as follow
set JAVA_HOME=C:\Sun\SDK\jdk [Path to java.exe]
So you are done now to test the tool run the following command
REGION us-east-1 us-east-1.ec2.amazonaws.com
REGION eu-west-1 eu-west-1.ec2.amazonaws.com
You can get all commands in /bin folder of EC2 tool you downloaded. Like to start instants stop and restart also search AMI and applications to get password etc.
You can install any of the OS you want Windows or Linux etc and also you can choose verity of OS and pre-installed AMI or even you can create your own AMI using AMI tool provided by EC2. You can create AMI of you local server and also of VMware images etc.
- Wile installing Linux OS it installs OS without any password for root, so u don’t want any password while ssh into it.
- Incas if you need to get the password of the instant you can use the tool you installed to get the password using the command called
ec2-get-password i-2574e22a -k windows-keypair
See all command details here...