startCluster: Start an EC2 cluster.

Description Usage Arguments Value Author(s) References Examples

Description

Start a group of instances which serve as a compute cluster.

Usage

1
2
3
4
5
startCluster(ami,
             key,
             instance.count,
             instance.type,
             verbose = FALSE)

Arguments

ami

machine-id

key

securtiy key

instance.count

number of instances requested

instance.type

type of instance requested

verbose

print verbose output

Value

a cluster object encompassing the reservationID and instanceID's

Author(s)

Whit Armstrong

References

http://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
library(aws.tools)
cl <- startCluster(ami="ami-a531fccc",
                   key="my-ec2-key",
                   instance.count=10,
                   instance.type="t1.micro",
                   verbose=FALSE)
stopCluster(cl)

## End(Not run)

avantcredit/AWS.tools documentation built on May 11, 2019, 4:06 p.m.