You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NOTE: Get details of instances and pricing http://aws.amazon.com/ec2/pricing[here]. The pricing varies
63
+
between geographical locations so make sure you check for US West Oregon, which is the default.
64
+
65
+
NOTE: GCE_WORKER_COUNT directly affects the cost. If you require more than 22 nodes including the
66
+
headnode, file a request to increase your resource quotas.
67
+
68
+
NOTE: Read more about AWS regions and availability zones http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html[here]
69
+
70
+
WARNING: Do *NOT* change the images for the worker and headnode to point at images which have not
71
+
been explicitly setup with swift.
51
72
52
73
Start your cloud setup!
53
74
^^^^^^^^^^^^^^^^^^^^^^^
54
75
55
-
* TODO
56
-
57
-
Run swift from your local machine
58
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
76
+
Once you finish editing the configs file with your preferences, start the cloud instances
77
+
by sourcing the setup script.
59
78
60
-
* TODO
79
+
The setup script will setup firewall rules, copy over the required images and start a headnode
80
+
and the requested number of worker instances.
61
81
82
+
[source, bash]
83
+
-----
84
+
# Must source the setup script.
85
+
source setup.sh
86
+
-----
62
87
63
88
Run the tutorial on the cloud
64
89
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
65
90
66
-
* TODO
91
+
Once your cloud resources have been configured and setup, you can run the swift-cloud-tutorial
92
+
directly from the cloud. The cloud resources created include a headnode, to which you would
93
+
connect to, and the several nodes in worker roles which would do computations in parallel.
67
94
95
+
To run the tutorial, first connect to the headnode:
68
96
69
-
Miscellanious operations supported:
70
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
71
97
72
-
* TODO
98
+
[source, bash]
99
+
-----
100
+
# Connect to the Headnode
101
+
connect headnode
102
+
# This will have you logged in to the headnode on the cloud
103
+
-----
104
+
105
+
106
+
Run swift from your local machine
107
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108
+
109
+
Now, once you've configured and started you cloud resources we can move on to trying the
110
+
swift-cloud-tutorial. To run the cloud tutorial from your local machine :
73
111
112
+
[source,bash]
113
+
-----
114
+
cd swift-on-cloud/swift-cloud-tutorial
115
+
source setup.sh
116
+
-----
117
+
118
+
NOTE: You must source the setup.sh script.
119
+
120
+
121
+
Miscellanious operations supported:
122
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
74
123
75
124
[source, bash]
76
125
-----
@@ -118,4 +167,6 @@ start_n_more <Number of nodes>
118
167
source setup.sh
119
168
-----
120
169
121
-
Note: Creating an Image https://developers.google.com/compute/docs/images#creatingimage[Link]
170
+
Note: To create your own customised images, you can connect to the swift instances (headnodes/workers) and
171
+
modify them. Once done you can create your own images. Documentation on Amazon Machine Images is available
0 commit comments