## Sample StarCluster Configuration File for NITRC-CE # At a minimum, values must be set for AWS_ACCESS_KEY_ID and # AWS_SECRET_ACCESS_KEY. Other options can be changed as needed. This is a # stripped down configuration file; see the StarCluster documentation at # http://star.mit.edu/cluster/ for more information on configuration. For # more information on NITRC-CE, see http://www.nitrc.org/ce. # This configuration uses NITRC-CE v.43. [global] DEFAULT_TEMPLATE = smallcluster ## AWS Credentials and Connection Settings [aws info] AWS_ACCESS_KEY_ID = *** your key here *** AWS_SECRET_ACCESS_KEY = *** your key here *** AWS_REGION_NAME = us-east-1 ## EC2 Keypairs # the name of the key here must match the name of the key in AWS [key mykey] KEY_LOCATION=~/.ssh/starcluster.rsa ## Cluster Templates [cluster smallcluster] KEYNAME = mykey CLUSTER_SIZE = 2 CLUSTER_USER = sgeadmin2 CLUSTER_SHELL = bash NODE_IMAGE_ID = ami-68e8ee7f NODE_INSTANCE_TYPE = m3.medium PERMISSIONS = http, https, vnc_1, vnc_2, loni_dps USERDATA_SCRIPTS = ~/.starcluster/plugins/starcluster-userdata.sh PLUGINS = nitrcce-prep ## Security Group Permissions [permission http] IP_PROTOCOL = tcp FROM_PORT = 80 TO_PORT = 80 [permission https] IP_PROTOCOL = tcp FROM_PORT = 443 TO_PORT = 443 [permission vnc_1] IP_PROTOCOL = tcp FROM_PORT = 5800 TO_PORT = 5810 [permission vnc_2] IP_PROTOCOL = tcp FROM_PORT = 5900 TO_PORT = 5910 [permission loni_dps] IP_PROTOCOL = tcp FROM_PORT = 8001 TO_PORT = 8001 ## Plugins [plugin nitrcce-prep] SETUP_CLASS = runscript.RunScript SCRIPT_TO_RUN = /usr/lib/nitrcce/bin/starcluster.sh MASTER_ONLY = False