This repository has been archived by the owner on Feb 4, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
fullspice.yml
53 lines (40 loc) · 1.56 KB
/
fullspice.yml
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
# Welcome to Fullstack!
# This file is consumed by spiceweasel, and will create the environment.
# Resolve cookbook dependencies via Berksfile
berksfile:
roles:
- base:
- load_balancer:
- load_gen:
- mongodb-replset-member:
- webserver:
environments:
- fullstack:
data bags:
- users:
items:
- "miketheman"
- credentials:
items:
- "datadog"
clusters:
- amazon:
# database nodes, replset
- ec2 3:
run_list: role[base] role[mongodb-replset-member]
options: -Z us-east-1a -I ami-fc75ee95 -G fullstack -S miketheman -i .aws/miketheman.pem -x ec2-user -d chef-full -E fullstack -f c1.medium --bootstrap-version 11.4.0
# webapp nodes
- ec2 2:
run_list: role[base] role[webserver]
options: -Z us-east-1a -I ami-fc75ee95 -G fullstack -S miketheman -i .aws/miketheman.pem -x ec2-user -d chef-full -E fullstack -f c1.medium --bootstrap-version 11.4.0
# load balancer
- ec2 1:
run_list: role[base] role[load_balancer]
options: -Z us-east-1a -I ami-fc75ee95 -G fullstack -S miketheman -i .aws/miketheman.pem -x ec2-user -d chef-full -E fullstack -f m1.small --bootstrap-version 11.4.0
# client load simulator
- ec2 2:
run_list: role[base] role[load_gen]
options: -Z us-east-1a -I ami-fc75ee95 -G fullstack -S miketheman -i .aws/miketheman.pem -x ec2-user -d chef-full -E fullstack -f m1.small --bootstrap-version 11.4.0
# In the name of cost effectiveness, I am using an Instance Store-backed AMI
# (ami-04cf5c6d) instead of a production-style EBS-backed AMI (ami-54cf5c3d).
# ami-fc75ee95 ami-3275ee5b