|
8 anni fa | |
---|---|---|
bastion | 8 anni fa | |
elasticcache | 8 anni fa | |
instance | 8 anni fa | |
net | 8 anni fa | |
rds | 8 anni fa | |
s3 | 8 anni fa | |
vpc | 8 anni fa | |
.gitignore | 8 anni fa | |
README.md | 8 anni fa | |
graph.png | 8 anni fa | |
main.tf | 8 anni fa | |
terraform.tfvar | 8 anni fa | |
variables.tf | 8 anni fa |
Host default provisioning templates for Nuxeo
This is a set of Terraform modules for configuring infrastructure environments with AWS.
The Stack implements the current procedure at https://wiki.nuxeo.com/display/INFRA/Cloud+Provisioning
Before we start, you'll first need:
To be able to use this stack create a terraform like:
module "nuxeo-env" {
source = "github.com/nuxeo/cloud-aws-stack"
stack_name = "acme"
vpc_id="vpc-8beb14ec"
public_subnets = ["10.0.10.0/24"]
private_subnets = ["10.0.11.0/24"]
private_db_subnets = ["10.0.100.0/24","10.0.101.0/24"]
public_key_path="/Users/<user>/.ssh/id_rsa.pub"
}
To test and plan what you're about to do, run:
terraform get # Get remote modules
terraform plan
You should get all that is going to be installed.
If you want to see the resource dependency graph, install Graphviz and run:
terraform graph | dot -Tpng > graph.png
To create resources on AWS, run:
terraform apply
To delete all resources on AWS, run:
terraform destroy
NOTE: Persisten Data resources will be marked with a lifecycle policy to prevent being deleted.