]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGPP/benchmark/cloud.config.example
- Coverity fixes
[u/mrichter/AliRoot.git] / PWGPP / benchmark / cloud.config.example
1 #
2 # cloud.config -- by Dario Berzano <dario.berzano@cern.ch>
3 #
4 # Information for running the ALICE Release Validation on the cloud. This
5 # includes the EC2 credentials, image ID, virtual machine profile, and
6 # contextualization.
7 #
8 # NOTE: don't commit this file as it contains sensitive information!
9 #
10
11 # EC2 access key and secret key
12 export EC2_ACCESS_KEY='<your_ec2_access_key>'
13 export EC2_SECRET_KEY='<your_ec2_secret_key>'
14
15 # EC2 API endpoint (example: CERN Agile Infrastructure)
16 export EC2_URL='http://openstack.cern.ch:8773/services/Cloud'
17
18 # ID of the base image to use (find it out with euca-describe-images)
19 cloudImageId='ami-12345678'
20
21 # Name of the SSH keypair to authorize. If omitted, it generates one
22 # automatically
23 #cloudKeyName='my_keypair'
24
25 # Local file for the corresponding private key. Omit it if you want a
26 # disposable private key to be created automatically
27 #cloudKeyFile="$HOME/.ssh/my_keypair.pem"
28
29 # user-data to pass to the virtual machine: note that it must have an
30 # appropriate contextualization mechanism in place in order to interpret it.
31 # The example is for a CernVM 3 image (amiconfig).
32 cloudUserData=$(cat <<_EoF_
33 [amiconfig]
34 plugins=cernvm
35 [cernvm]
36 contextualization_key=0123456789abcdef0123456789abcdef:<password>
37 [ucernvm-begin]
38 resize_rootfs=true
39 cvmfs_branch=cernvm-prod.cern.ch
40 cvmfs_tag=cernvm-system-3.3.0.5
41 [ucernvm-end]
42 _EoF_
43 )
44
45 # Instance type of the node.
46 # m1.large at CERN is: 4 CPUs / 8 GB RAM / 80 GB disk
47 cloudProfile='m1.large'
48
49 # Unprivileged user name on the virtual machines effectively running the
50 # validation.
51 #
52 # Note: it must be possible to run:
53 #   ssh $cloudUserName@$vmAddress -i $cloudKeyFile
54 #
55 # i.e. to do passwordless authentication using the above key with this user:
56 # the virtual machine must therefore be configured properly
57 cloudUserName='alicerelval'