stopCluster: Stop or terminate instances in a cluster.

Description Usage Arguments Value Author(s) References See Also Examples

Description

Stop or terminate the machine instances in a cluster object.

Usage

1
2
stopCluster(cluster)
terminateCluster(cluster)

Arguments

cluster

a cluster object describing the reservationID and machine instances composing the cluster

Value

a dataframe listing the termination status of the instances in the cluster.

Author(s)

Whit Armstrong

References

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

See Also

startCluster

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## 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.