skeltonthatcher / aws-terraform-rancher-single-node-ha-elb Goto Github PK
View Code? Open in Web Editor NEWTerraform scripts to deploy Rancher server single node HA with SSL and multi-AZ Rancher hosts in AWS
Terraform scripts to deploy Rancher server single node HA with SSL and multi-AZ Rancher hosts in AWS
There are warnings and/or errors related to your configuration. Please
fix these before continuing.
Errors:
I set domain like in route53
Terraform remote config has now been removed, you can adapt as follows:
Create a new file in current directory - backend.tf
Contents:
terraform {
backend "s3" {
access_key = "AWS _Access_Key"
secret_key = "AWS_Secret_Key"
}
}
Modify init.sh
terraform init \
-backend-config "bucket=${BUCKET}" \
-backend-config "key=${PROJECT}/terraform.tfstate" \
-backend-config "region=${REGION}" \
-backend=true \
-force-copy \
-get=true \
-input=false
}
iam.tf can be modified to suit:
resource "aws_iam_instance_profile" "rancher" {
name = "rancher"
role = "${aws_iam_role.rancher.name}"
}
Hi @richbos ,
I try to enable full active/active HA of this rancher server.
As I dig into the rancher server config server.tf
, the rancher server node doesn't use aws_instance
resource to fire up the node, right? It's via resource "aws_launch_configuration" "rancher_srv" { ... }
Because I want to get the private_ip
atrrib of the rancher node(s) passed to --advertise-address
to create full active/active HA.
I added resource "aws_instance" {...}
and passed the ip of the node to --advertise-address
, but Terraform ended up fire up one new ec2 node that not part of the rancher server itself.
Any help explanation about this issue, kinda welcome!
Thank you.
Hi there,
I've been playing around this repo in my sandbox and got an issue related to the hosts accessed via public domain (https://rancher.example.com).
Sometime it lost of connection, but when I check the ELB, the status inService, even no outService at that point the rancher subdomain inaccessible.
I use the latest version (at this point)
RancherOS v1.1.x
Rancher server v2.0.1
Rancher agent v1.6.9
Any comment really helpful.
Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.