Skip to content
Browse files

Added production instance yml file for deploy

  • Loading branch information...
1 parent e2cf6fe commit 6de846b370e68f570b24724cebfbe05dcec07cba @karlbright karlbright committed
Showing with 83 additions and 1 deletion.
  1. +82 −0 config/rubber/instance-production.yml
  2. +1 −1 config/rubber/rubber.yml
View
82 config/rubber/instance-production.yml
@@ -1,3 +1,85 @@
---
+- !ruby/object:Rubber::Configuration::InstanceItem
+ name: production
+ domain: iswhatcddown.com
+ roles:
+ - !ruby/object:Rubber::Configuration::RoleItem
+ name: apache
+ options: {}
+ - !ruby/object:Rubber::Configuration::RoleItem
+ name: app
+ options: {}
+ - !ruby/object:Rubber::Configuration::RoleItem
+ name: passenger
+ options: {}
+ - !ruby/object:Rubber::Configuration::RoleItem
+ name: collectd
+ options: {}
+ - !ruby/object:Rubber::Configuration::RoleItem
+ name: common
+ options: {}
+ - !ruby/object:Rubber::Configuration::RoleItem
+ name: monit
+ options: {}
+ - !ruby/object:Rubber::Configuration::RoleItem
+ name: db
+ options:
+ primary: true
+ - !ruby/object:Rubber::Configuration::RoleItem
+ name: postgresql
+ options: {}
+ - !ruby/object:Rubber::Configuration::RoleItem
+ name: postgresql_master
+ options: {}
+ - !ruby/object:Rubber::Configuration::RoleItem
+ name: elasticsearch
+ options: {}
+ - !ruby/object:Rubber::Configuration::RoleItem
+ name: examples
+ options: {}
+ - !ruby/object:Rubber::Configuration::RoleItem
+ name: graphite_server
+ options: {}
+ - !ruby/object:Rubber::Configuration::RoleItem
+ name: graphite_web
+ options: {}
+ - !ruby/object:Rubber::Configuration::RoleItem
+ name: graylog_elasticsearch
+ options: {}
+ - !ruby/object:Rubber::Configuration::RoleItem
+ name: graylog_mongodb
+ options: {}
+ - !ruby/object:Rubber::Configuration::RoleItem
+ name: mongodb
+ options: {}
+ - !ruby/object:Rubber::Configuration::RoleItem
+ name: graylog_server
+ options: {}
+ - !ruby/object:Rubber::Configuration::RoleItem
+ name: graylog_web
+ options: {}
+ - !ruby/object:Rubber::Configuration::RoleItem
+ name: haproxy
+ options: {}
+ - !ruby/object:Rubber::Configuration::RoleItem
+ name: web
+ options: {}
+ - !ruby/object:Rubber::Configuration::RoleItem
+ name: web_tools
+ options: {}
+ instance_id: i-70c0df0d
+ image_type: t1.micro
+ image_id: ami-3d4ff254
+ security_groups:
+ - default
+ - web
+ - web_tools
+ external_host: ec2-23-20-223-80.compute-1.amazonaws.com
+ external_ip: 23.20.223.80
+ internal_host: ip-10-244-30-91.ec2.internal
+ internal_ip: 10.244.30.91
+ zone: us-east-1b
+ platform: linux
+ root_device_type: ebs
- volumes: {}
static_ips: {}
View
2 config/rubber/rubber.yml
@@ -118,7 +118,7 @@ assigned_security_groups: [default]
# OPTIONAL: Automatically create security groups for each host and role
# EC2 doesn't allow one to change what groups an instance belongs to after
# creation, so its good to have some empty ones predefined.
-auto_security_groups: true
+auto_security_groups: false
# OPTIONAL: Automatically isolate security groups for each appname/environment
# by mangling their names to be appname_env_groupname

0 comments on commit 6de846b

Please sign in to comment.
Something went wrong with that request. Please try again.