Changes between Version 7 and Version 8 of CloudServer


Ignore:
Timestamp:
Jan 29, 2009, 5:34:21 AM (12 years ago)
Author:
dkondo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CloudServer

    v7 v8  
    99charge on a pay-per-use basis (roughly, about 0.10 per CPU
    1010hour or per GB/month).  Cloud computing services such as
    11 Amazon's Elastic Compute Cloud (EC2) also allow one to
     11Amazon's [http://aws.amazon.com/ec2/ Elastic Compute Cloud (EC2)] also allow one to
    1212tailor a computing environment through the use of virtual
    13 machines.  In addition, Amazon offers a Simple Storage
    14 Service (S3) for enabling remote storage.
     13machines.  In addition, Amazon offers a [http://aws.amazon.com/s3/ Simple Storage Service (S3)]
     14for enabling remote storage.
    1515
    1616=== Why use a Cloud? === #why
     
    3737=== Deploying the BOINC Server Image ===
    3838
    39 Start the instance (ami-ab9374c2) with the BOINC server
     39Start the instance (ami-6e907707) with the BOINC server
    4040(stable 6.3.14 JAN 28 2009) installed on Debian Etch:
    4141
    42 {{{ec2-run-instances ami-ab9374c2 -k [key-pair] }}}
     42{{{
     43ec2-run-instances ami-6e907707 -k [key-pair]
     44}}}
    4345
    4446Show the instance deployment status:
    4547
    46 {{{ec2-describe-instances }}}
     48{{{
     49ec2-describe-instances
     50}}}
    4751
    4852After the instance status goes from pending to running
     
    5357If you haven't already, open ports 22 and 80:
    5458
    55 {{{ec2-authorize default -p 22 }}}
     59{{{
     60ec2-authorize default -p 22
     61ec2-authorize default -p 80
     62}}}
    5663
    57 {{{ec2-authorize default -p 80 }}}
    5864
    5965At this point, you should be able to access the web server
     
    6369Then login to the instance:
    6470
    65 {{{ssh -i [private_key]  root@ec2-XXX-XXX-XXX-XXX.z-2.compute-1.amazonaws.com }}}
     71{{{
     72ssh -i [private_key]  root@ec2-XXX-XXX-XXX-XXX.z-2.compute-1.amazonaws.com
     73}}}
    6674
    6775As root,
    6876
    69 {{{sudo boincadm; cd}}}
     77{{{
     78sudo boincadm
     79cd
     80}}}
    7081
    7182In the home directory is a README.txt file with important
     
    7990Create a test project uppercase:
    8091
    81 {{{~/boinc/tools/make_project --url_base http://ec2-XXX-XXX-XXX-XXX.z-2.compute-1.amazonaws.com --test_app cplan}}}
     92{{{
     93cd ~/boinc/tools
     94./make_project --url_base http://ec2-XXX-XXX-XXX-XXX.z-2.compute-1.amazonaws.com --db_passwd boincadmpw --test_app cplan
     95}}}
    8296
    8397Answer yes to all questions.
    8498
    85 {{{cd ~/projects/cplan}}}
    86 
    87 {{{bin/xadd}}}
    88 
    89 {{{bin/update_version}}}
    90 
    91 {{{bin/start}}}
     99{{{
     100cd ~/projects/cplan
     101./bin/xadd
     102./bin/update_versions
     103./bin/start
     104}}}
    92105
    93106To check that all daemons are running:
    94107
    95 {{{bin/status}}}
     108{{{
     109./bin/status
     110}}}
    96111
    97112Now any [http://boinc.berkeley.edu/download.php BOINC client] should be able to attach to the project and download
     
    99114
    100115Then with a Linux command-line client in ~boincadm/BOINC, run
    101 {{{./boinc_client  -no_gui_rpc -attach_project http://ec2-XXX-XXX-XXX-XXX.z-2.compute-1.amazonaws.com/cplan [account_key]}}}
     116{{{
     117cd ~/BOINC
     118./boinc_client  -no_gui_rpc -attach_project http://ec2-XXX-XXX-XXX-XXX.z-2.compute-1.amazonaws.com/cplan [account_key]
     119}}}
    102120
    103121At this point, the client should attached to the project and begin downloading work.
     
    116134 * boinc_server_stable_r16906_6.3.14: directory with server source code
    117135
     136
    118137==== Why Xen? ====
     138
    119139
    120140The general approach was to build a Debian EC2 AMI from a