You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+41-39
Original file line number
Diff line number
Diff line change
@@ -4,26 +4,54 @@ Terraform Module(s) for Deploying the Confluent Platform within AWS.
4
4
5
5
# Features
6
6
7
-
## Feature Metric
8
-
9
-
| CP Component | EC2 Instance | EBS Volumes | Route53 DNS | Security Groups | Load Balancers | Multi AZ | Auto Scaling Groups | Multi Cluster | Monitoring |
to find each component and automaticly start reading from that component.
34
+
35
+
# Pre-Defined Template Varaibles
36
+
37
+
| Variable | Availability | Desc |
38
+
|:---------------------|:---------------|:-----|
39
+
| node_count | ALL | Node index within the component's collection of nodes |
40
+
| component_name | ALL | Full name of component. Ex: `Control Center`, `Zookeeper`, `Kafka Broker`|
41
+
| component_short_name | ALL | Short name of component. Ex: `c3`, `zk`, `kfk`, `sr`|
42
+
| node_name | DNS, User_Data | The rendered node name template for the given instance |
43
+
| node_dns | User_Data | The rendered node DNS template for the given instance |
44
+
| node_devices | User_Data | Comma separated list of devices/volumes that will be attached to this instance |
45
+
46
+
# How To
47
+
48
+
## Provide User Data to EC2 Instances
49
+
50
+
Each component has support to render a template and use that as the `user_data` that gets provided to created instances.
51
+
These templates will be given a default set of varaibles, as outlined above, as well as any variables you add to the `extra_template_vars`, `*_extra_template_vars`, `user_data_template_vars`, `*_user_data_template_vars` variables.
52
+
Of note, the `extra_template_vars` and `user_data_template_vars` are treated as global collections, and will be provided to all components/sub_modules.
53
+
54
+
## Defining Separate Providers
27
55
28
56
As of 2.4.3 you can now define separate providers for your EC2 instance creation and your DNS creation.
29
57
This is to support those users that may need to use separate IAM accounts to for DNS then they do to create EC2, EBS, and SecGroups.
@@ -55,29 +83,3 @@ module "shared-cp-aws" {
55
83
}
56
84
```
57
85
58
-
## Monitoring
59
-
60
-
Currently Prometheus and Jolokia are the only supported monitoring platforms.
61
-
The contained features around them will Setup Security Groups and EC2 instance tags appropriate to each component.
62
-
The EC2 tags are designed to allow you to use Prometheus' EC2 Service Discovery feature,
to find each component and automaticly start reading from that component.
65
-
66
-
# How To
67
-
68
-
## Provide User Data to EC2 Instances
69
-
70
-
Each component has support to render a template and use that as the `user_data` that gets provided to created instances.
71
-
These templates will be given a default set of varaibles, as outlined below, as well as any variables you add to the `extra_template_vars`, `*_extra_template_vars`, `user_data_template_vars`, `*_user_data_template_vars` variables.
72
-
Of note, the `extra_template_vars` and `user_data_template_vars` are treated as global collections, and will be provided to all components/sub_modules.
73
-
74
-
# Pre-Defined Template Varaibles
75
-
76
-
| Variable | Availability | Desc |
77
-
|:---------------------|:---------------|:-----|
78
-
| node_count | ALL | Node index within the component's collection of nodes |
79
-
| component_name | ALL | Full name of component. Ex: `Control Center`, `Zookeeper`, `Kafka Broker`|
80
-
| component_short_name | ALL | Short name of component. Ex: `c3`, `zk`, `kfk`, `sr`|
81
-
| node_name | DNS, User_Data | The rendered node name template for the given instance |
82
-
| node_dns | User_Data | The rendered node DNS template for the given instance |
83
-
| node_devices | User_Data | Comma separated list of devices/volumes that will be attached to this instance |
0 commit comments