-
Notifications
You must be signed in to change notification settings - Fork 5
/
cloudtask-launch-workers.txt
90 lines (62 loc) · 2.08 KB
/
cloudtask-launch-workers.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
========================
cloudtask-launch-workers
========================
------------------------------
Pre-allocate cloudtask workers
------------------------------
:Author: Liraz Siri <liraz@turnkeylinux.org>
:Date: 2011-07-31
:Manual section: 8
:Manual group: misc
SYNOPSIS
========
cloudtask-launch-workers [ -opts ] howmany ( path/to/list-of-ips | - )
DESCRIPTION
===========
Launch new cloud workers and write list of addresses to a file.
cloudtask can launch and destroy cloud workers automatically when
needed, but it can also accept a list of pre-allocated workers via the
--workers option. This command launches workers and creates a list of
addresses which you can feed to cloudtask. This allows you to manage the
pool of workers for a task or series of tasks by hand, which may be
desirable for various reasons (e.g., launching workers takes time,
billing is performed at a 1-hour resolution, etc.)
ARGUMENTS
=========
`howmany` := number of workers to launch
`path/to/list-of-ips` := file location to save IP addresses of launched
workers. If '-' then print addresses to stdout.
OPTIONS
=======
--hub-apikey
Hub APIKEY
Environment: HUB_APIKEY | CLOUDTASK_HUB_APIKEY
--backup-id=ID
TurnKey Backup ID to restore on launch
--region
Region for instance launch (default: us-east-1)
Regions::
us-east-1 (Virginia, USA)
us-west-1 (California, USA)
eu-west-1 (Ireland, Europe)
ap-southeast-1 (Singapore, Asia)
--size
Instance size (default: m1.small)
Sizes::
t1.micro (1 CPU core, 613M RAM, no tmp storage)
m1.small (1 CPU core, 1.7G RAM, 160G tmp storage)
c1.medium (2 CPU cores, 1.7G RAM, 350G tmp storage)
--type
Instance type <s3|ebs> (default: s3)
--label
Hub description label for all launched servers
USAGE EXAMPLES
==============
::
# create workers.txt file with list of new worker addresses
cloudtask-launch-workers 10 workers.txt
# append list of worker addresses to a file
cloudtask-launch-workers 10 - >> workers.txt
SEE ALSO
========
``cloudtask`` (8), ``cloudtask-destroy-workers`` (8)