-
Notifications
You must be signed in to change notification settings - Fork 146
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
Single node ES instance #102
base: master
Are you sure you want to change the base?
Conversation
egorksv
commented
Jan 2, 2021
- No load balancers
- No autoscaling
- Output set to single node IP address
2204189
to
bd1eaf6
Compare
- No load balancers - No autoscaling - Output set to single node IP address fixed issue with singlenode instance being provisioned in clustered mode Single-node network interface attachment to ensure connectivity without load balancer updated gitignore Kibana image restored file file restored
bd1eaf6
to
9faaeb8
Compare
name = "${var.es_cluster}-alb" | ||
count = local.singlenode_mode ? 0 : 1 | ||
|
||
name = "${var.environment}-${var.es_cluster}-alb" | ||
internal = ! var.public_facing |
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.
The variable public_facing
is not accounted anymore for single-nodes.
@@ -1,41 +1,76 @@ | |||
#!/bin/bash | |||
set +e | |||
|
|||
echo "Testing AMI Builder if it works properly" |
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.
Cleanup
}) | ||
} | ||
|
||
resource "aws_network_interface" "single_node" { |
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.
Has to be conditional, only created when singlenode_mode
is true.