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
+26-30Lines changed: 26 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,31 +1,29 @@
1
1
## <palign="center">terraform-aws-eth-node</p>
2
-
### <palign="center">Spin up an ETH client on AWS</p>
2
+
### <palign="center">Spin up ETH clients. On AWS. In a minute.</p>
3
3
4
-
- The deployment takes no more than two minutes
5
-
- The default OS the nodes get configured on is debian12
6
-
- All clients are managed by systemd
4
+
- The deployment takes no more than a minute
5
+
- The default OS is `debian12`
6
+
- All clients are managed through systemd
7
7
8
8
- The module takes care of the:
9
-
- EC2's configuration
10
-
- creation & management of the volumes that'll hold the chains' data
11
-
- mounting of the volumes
12
-
- the installation & configuration of the specified ethereum node(s)
13
-
- EC2's security group
9
+
- EC2's setup, configuration & lifecycle
10
+
- Creation & management of the volumes that'll hold the chains' data
14
11
15
12
- Full examples can be found in the [examples](./examples/) directory.
16
-
> :warning: Be mindful with the security group's configuration. All the examples are simplified to allow all external traffic, which in most cases environments shouldn't happen.
13
+
> :warning: Be mindful with the security group's configuration. All the examples are simplified to allow all external traffic, which in most cases isn't recommended.
17
14
18
-
## Example with both Besu & Nimbus client
15
+
## Example with Reth & Lighthouse running sepolia
19
16
```hcl
20
17
module "nodes" {
21
18
source = "../../"
22
19
23
-
name = "besu-nimbus-mainnet"
24
-
subnet_id = "/subnet-id/"
20
+
name = "[reth-lighthouse]-sepolia"
21
+
subnet_id = data.aws_subnets.this.ids[0]
25
22
26
23
ec2 = {
27
-
instance_type = "m4.xlarge"
28
-
associate_public_ip_address = true
24
+
instance_type = "c4.xlarge"
25
+
associate_public_ip_address = true # required if you ever intend to access the nodes from outside the vpc
26
+
key_name = module.key_pair.key_pair_name # # required to access the ec2
0 commit comments