Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/move more parameters to config #11

Merged
merged 4 commits into from
Jun 5, 2016

Conversation

elisehuard
Copy link
Contributor

@elisehuard elisehuard commented Jun 2, 2016

moves a number of things to parameters:

  • ami and instances to use
  • public slave elb and open port
  • no default listeners, cert name in the parameters for corresponding listener

(also tightens the security on the public slaves to only allow traffic from ELB and within the VPN, and ELB to just have the relevant ports open)

@jasebell
Copy link

jasebell commented Jun 3, 2016

:shipit:

@@ -208,6 +208,10 @@
:runcmd
["update-rc.d logstash defaults"]}))

(defn open-elb-ports
[listeners]
(mapv #(assoc {} :port (or (:port %) (:lb_port %)) :cidr_blocks [all-external]) listeners))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where does all-external come from?

Copy link
Contributor Author

@elisehuard elisehuard Jun 5, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

core.clj, it's hard-coded to 0.0.0.0/0

:min-number-of-public-slaves 1
:max-number-of-public-slaves 1
:public-slave-instance-type "t2.medium"
:public-slave-elb-listeners [{:lb-port 443 :lb-protocol "https" :port 80 :protocol "http" :cert-name "c512707d-bbec-4859-ab22-0f5fbad62a22"}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks like the place for all of our specific config, so I'm guessing this UUID is fine?

@otfrom
Copy link
Member

otfrom commented Jun 5, 2016

:shipit:

@elisehuard elisehuard merged commit 76c778e into master Jun 5, 2016
@elisehuard elisehuard deleted the feature/move-more-parameters-to-config branch June 5, 2016 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants