-
Notifications
You must be signed in to change notification settings - Fork 4
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
Conversation
@@ -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)) |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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"} |
There was a problem hiding this comment.
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?
moves a number of things to parameters:
(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)