https://github.com/aviggiano/ethereum-node-cloud
Terraform scripts to run an Ethereum node on the cloud
https://github.com/aviggiano/ethereum-node-cloud
ethereum ethereum-client ethereum-node
Last synced: about 1 month ago
JSON representation
Terraform scripts to run an Ethereum node on the cloud
- Host: GitHub
- URL: https://github.com/aviggiano/ethereum-node-cloud
- Owner: aviggiano
- License: mit
- Created: 2024-04-05T10:08:54.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-21T19:04:21.000Z (about 2 years ago)
- Last Synced: 2025-03-14T16:18:09.921Z (over 1 year ago)
- Topics: ethereum, ethereum-client, ethereum-node
- Language: HCL
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ethereum-node-cloud
Terraform scripts to run an Ethereum node on the cloud
## Setup
```bash
cd [ hetzner | aws ]
packer init
packer build .
terraform init
terraform apply
```
### AWS
1. [Create a SSH key](https://docs.aws.amazon.com/ground-station/latest/ug/create-ec2-ssh-key-pair.html)
### Hetzner
1. Create a project
2. [Generate an API key](https://docs.hetzner.com/cloud/api/getting-started/generating-api-token/) and add it to `terraform.tfvars`
3. [Add a SSH key](https://community.hetzner.com/tutorials/add-ssh-key-to-your-hetzner-cloud)
## Usage
```bash
# Logs
journalctl -f -u reth
journalctl -f -u lighthouse
```
## References
- https://pawelurbanek.com/ethereum-node-aws
- https://community.hetzner.com/tutorials/custom-os-images-with-packer