Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dominodatalab/terraform-aws-rancher
Terraform module which creates an HA deployment of Rancher inside AWS
https://github.com/dominodatalab/terraform-aws-rancher
aws rancher terraform
Last synced: about 2 months ago
JSON representation
Terraform module which creates an HA deployment of Rancher inside AWS
- Host: GitHub
- URL: https://github.com/dominodatalab/terraform-aws-rancher
- Owner: dominodatalab
- License: apache-2.0
- Created: 2019-04-07T00:10:24.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-02-13T22:22:17.000Z (11 months ago)
- Last Synced: 2024-04-21T00:15:38.799Z (9 months ago)
- Topics: aws, rancher, terraform
- Language: HCL
- Size: 68.4 KB
- Stars: 3
- Watchers: 36
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# terraform-aws-rancher
Terraform module which creates an HA deployment of Rancher inside AWS using [RanchHand](https://github.com/dominodatalab/ranchhand).
## Usage
### Create a Rancher cluster with public LB and instances
_Note:_ public IP support is currently unsupported and deprecated.
```hcl
module "rancher" {
source = "github.com/dominodatalab/terraform-aws-rancher"vpc_id = "vpc-id"
lb_cidr_blocks = ["0.0.0.0/0"]
lb_subnet_ids = ["public-subnet-id"]
subnet_ids = ["public-subnet-id"]
ssh_key_name = "domino-test"provisioner_cidr_block = "67.80.87.241/32" # e.g. your IP addr
}
```### Provision private instances through a bastion host
```hcl
module "rancher" {
source = "github.com/dominodatalab/terraform-aws-rancher"vpc_id = "vpc-id"
lb_cidr_blocks = ["0.0.0.0/0"]
lb_subnet_ids = ["public-subnet-id"]
subnet_ids = ["private-subnet-id"]
ssh_key_name = "domino-test"ssh_proxy_user = "bastion"
ssh_proxy_host = "bastion-ip-addr"
ssh_key_path = "~/.ssh/domino-test.pem"provisioner_security_group = "my-bastion-secgrp-id"
}
```### Create an internal LB
```hcl
module "rancher" {
source = "github.com/dominodatalab/terraform-aws-rancher"vpc_id = "vpc-id"
internal_lb = true
lb_security_groups = ["custom-node-secgrp-id"]
lb_subnet_ids = ["private-subnet-id"]
subnet_ids = ["different-private-subnet-id"]
ssh_key_name = "domino-test"ssh_proxy_user = "bastion"
ssh_proxy_host = "bastion-ip-addr"
ssh_key_path = "~/.ssh/domino-test.pem"provisioner_security_group = "my-bastion-secgrp-id"
}
```## Development
Please submit any feature enhancements, bug fixes, or ideas via pull requests or issues.