Get StartedThis is a featured page

First Cloud Image How-To.

Pre-install tasks.


  1. Create an account at amazon.
  2. Download and extract into C:\ec2 Amazon command line tools.
  3. Download and install last-est JRE.
  4. Download ur keys_files. With pressing a download button:
Create Key

Applying Environment.

Create с:\ec2\ec2.bat

@echo off
set EC2_HOME=c:\ec2
set PATH=%PATH%;%EC2_HOME%\bin
set EC2_PRIVATE_KEY=<Ur Private key file here>.pem
set EC2_CERT=<Ur X.509 Certificate>.pem
set JAVA_HOME=C:\Program Files\Java\jre1.6.0_01

Or u can Create this Variables in environment window.

Creating First Virtual machine.


Run "ec2-describe-images -a" command, for test Ur setup. If u get a list of available images then it's ok.

After u need to generate RSA security key:
>ec2-add-keypair gsg-keypair

After convert it with puttygen.exe to Putty key file format.

Choose Ur image from Oracle Images for amazon.

I choose this
>ec2-run-instances ami-cecb2fa7 -k gsg-keypair

Wait a few minutes.
Use
>ec2-describe-instances i-226fcc4b

for check a status. It mast be Running.

Now u need only add a permissions for ssh port with:
>ec2-authorize default -p 22

And connect using generated Putty's security file with using a putty.exe. Login is root, no password if u make a correct Putty's security file.
After follow this screen cast.

Full instruction at Getting Started Guide, Creating an AMI section.

Useful Links.

Account Activity


No user avatar
Anton.ds.alexeyev
Latest page update: made by Anton.ds.alexeyev , Sep 28 2008, 11:05 AM EDT (about this update About This Update Anton.ds.alexeyev savepoint3 - Anton.ds.alexeyev

3 words added
3 words deleted

view changes

- complete history)
More Info: links to this page
There are no threads for this page.  Be the first to start a new thread.

Related Content

  (what's this?Related ContentThanks to keyword tags, links to related pages and threads are added to the bottom of your pages. Up to 15 links are shown, determined by matching tags and by how recently the content was updated; keeping the most current at the top. Share your feedback on Wetpaint Central.)