metron-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ceste...@apache.org
Subject incubator-metron git commit: METRON-281 Simplify deployment to alternative AWS region (nickwallen via cestella) closes apache/incubator-metron#180
Date Fri, 15 Jul 2016 14:59:48 GMT
Repository: incubator-metron
Updated Branches:
  refs/heads/master 861336f0d -> a116a95f2


METRON-281 Simplify deployment to alternative AWS region (nickwallen via cestella) closes
apache/incubator-metron#180


Project: http://git-wip-us.apache.org/repos/asf/incubator-metron/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-metron/commit/a116a95f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-metron/tree/a116a95f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-metron/diff/a116a95f

Branch: refs/heads/master
Commit: a116a95f2ccd908194c6a6d7f92b79a6c79bb153
Parents: 861336f
Author: nickwallen <nick@nickallen.org>
Authored: Fri Jul 15 10:59:38 2016 -0400
Committer: cstella <cestella@gmail.com>
Committed: Fri Jul 15 10:59:38 2016 -0400

----------------------------------------------------------------------
 metron-deployment/amazon-ec2/conf/defaults.yml | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-metron/blob/a116a95f/metron-deployment/amazon-ec2/conf/defaults.yml
----------------------------------------------------------------------
diff --git a/metron-deployment/amazon-ec2/conf/defaults.yml b/metron-deployment/amazon-ec2/conf/defaults.yml
index f38fffc..2874b2c 100644
--- a/metron-deployment/amazon-ec2/conf/defaults.yml
+++ b/metron-deployment/amazon-ec2/conf/defaults.yml
@@ -31,16 +31,30 @@ services_to_start:
   - snort-parser
   - enrichment
 
+# the ami for cent6 by region
+amis_by_region:
+  us-east-1:        ami-1c221e76    # US East (N. Virginia)
+  us-west-2:        ami-05cf2265    # US West (Oregon)
+  us-west-1:        ami-ac5f2fcc    # US West (N. California)
+  eu-central-1:     ami-2bf11444    # EU (Frankfurt)
+  eu-west-1:        ami-edb9069e    # EU (Ireland)
+  ap-south-1:       ami-9b1c76f4    # Asia Pacific (Mumbai)
+  ap-southeast-1:   ami-106aa373    # Asia Pacific (Singapore)
+  ap-southeast-2:   ami-87d2f4e4    # Asia Pacific (Sydney)
+  ap-northeast-1:   ami-fa3d3f94    # Asia Pacific (Tokyo)
+  ap-northeast-2:   ami-56478938    # Asia Pacific (Seoul)
+  sa-east-1:        ami-03b93b6f    # South America (Sao Paulo)
+
 # ec2
 env: metron-test
 region: us-west-2
 instance_type: m4.xlarge
-image: ami-05cf2265
 volume_type: standard
 key_name: metron-key
 xvda_vol_size: 50
 xvdb_vol_size: 100
 xvdc_vol_size: 100
+image: "{{ amis_by_region[region] }}"
 
 # ambari
 ambari_host: "{{ groups.ambari_master[0] }}"


Mime
View raw message