Changes between Version 7 and Version 8 of CloudServer
- Timestamp:
- Jan 29, 2009, 5:34:21 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CloudServer
v7 v8 9 9 charge on a pay-per-use basis (roughly, about 0.10 per CPU 10 10 hour or per GB/month). Cloud computing services such as 11 Amazon's Elastic Compute Cloud (EC2)also allow one to11 Amazon's [http://aws.amazon.com/ec2/ Elastic Compute Cloud (EC2)] also allow one to 12 12 tailor a computing environment through the use of virtual 13 machines. In addition, Amazon offers a Simple Storage14 Service (S3)for enabling remote storage.13 machines. In addition, Amazon offers a [http://aws.amazon.com/s3/ Simple Storage Service (S3)] 14 for enabling remote storage. 15 15 16 16 === Why use a Cloud? === #why … … 37 37 === Deploying the BOINC Server Image === 38 38 39 Start the instance (ami- ab9374c2) with the BOINC server39 Start the instance (ami-6e907707) with the BOINC server 40 40 (stable 6.3.14 JAN 28 2009) installed on Debian Etch: 41 41 42 {{{ec2-run-instances ami-ab9374c2 -k [key-pair] }}} 42 {{{ 43 ec2-run-instances ami-6e907707 -k [key-pair] 44 }}} 43 45 44 46 Show the instance deployment status: 45 47 46 {{{ec2-describe-instances }}} 48 {{{ 49 ec2-describe-instances 50 }}} 47 51 48 52 After the instance status goes from pending to running … … 53 57 If you haven't already, open ports 22 and 80: 54 58 55 {{{ec2-authorize default -p 22 }}} 59 {{{ 60 ec2-authorize default -p 22 61 ec2-authorize default -p 80 62 }}} 56 63 57 {{{ec2-authorize default -p 80 }}}58 64 59 65 At this point, you should be able to access the web server … … 63 69 Then login to the instance: 64 70 65 {{{ssh -i [private_key] root@ec2-XXX-XXX-XXX-XXX.z-2.compute-1.amazonaws.com }}} 71 {{{ 72 ssh -i [private_key] root@ec2-XXX-XXX-XXX-XXX.z-2.compute-1.amazonaws.com 73 }}} 66 74 67 75 As root, 68 76 69 {{{sudo boincadm; cd}}} 77 {{{ 78 sudo boincadm 79 cd 80 }}} 70 81 71 82 In the home directory is a README.txt file with important … … 79 90 Create a test project uppercase: 80 91 81 {{{~/boinc/tools/make_project --url_base http://ec2-XXX-XXX-XXX-XXX.z-2.compute-1.amazonaws.com --test_app cplan}}} 92 {{{ 93 cd ~/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 }}} 82 96 83 97 Answer yes to all questions. 84 98 85 {{{cd ~/projects/cplan}}} 86 87 {{{bin/xadd}}} 88 89 {{{bin/update_version}}} 90 91 {{{bin/start}}} 99 {{{ 100 cd ~/projects/cplan 101 ./bin/xadd 102 ./bin/update_versions 103 ./bin/start 104 }}} 92 105 93 106 To check that all daemons are running: 94 107 95 {{{bin/status}}} 108 {{{ 109 ./bin/status 110 }}} 96 111 97 112 Now any [http://boinc.berkeley.edu/download.php BOINC client] should be able to attach to the project and download … … 99 114 100 115 Then 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 {{{ 117 cd ~/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 }}} 102 120 103 121 At this point, the client should attached to the project and begin downloading work. … … 116 134 * boinc_server_stable_r16906_6.3.14: directory with server source code 117 135 136 118 137 ==== Why Xen? ==== 138 119 139 120 140 The general approach was to build a Debian EC2 AMI from a