diff --git a/README.md b/README.md index 0d2f79f..49a8f3e 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,19 @@ This repo defines Nimbus cluster infrastructure. +# Endpoints + +These are [Beacon API](https://ethereum.github.io/beacon-APIs/) endpoints intended for community testing. + +| Endpoint | Host | +|-------------------------------------------------|--------------------------------------| +| http://unstable.mainnet.beacon-api.nimbus.team/ | `metal-01.he-eu-hel1.nimbus.mainnet` | +| http://testing.mainnet.beacon-api.nimbus.team/ | `metal-02.he-eu-hel1.nimbus.mainnet` | +| http://unstable.prater.beacon-api.nimbus.team/ | `metal-01.he-eu-hel1.nimbus.prater` | +| http://testing.prater.beacon-api.nimbus.team/ | `metal-02.he-eu-hel1.nimbus.prater` | + +These nodes have no validators attached. + # Requirements In order to use this you will need secrets(passwords, certs, keys) contained within the [infra-pass](https://github.com/status-im/infra-pass) repository. If you can't see it ask jakub@status.im to get you access for it. diff --git a/ansible/host_vars/metal-01.he-eu-hel1.nimbus.prater.yml b/ansible/host_vars/metal-01.he-eu-hel1.nimbus.prater.yml index 7c273b3..fa010e9 100644 --- a/ansible/host_vars/metal-01.he-eu-hel1.nimbus.prater.yml +++ b/ansible/host_vars/metal-01.he-eu-hel1.nimbus.prater.yml @@ -5,4 +5,4 @@ beacon_node_rest_address: '0.0.0.0' # WARNING: This will change if number of nodes changes. redirect_ports: # beacon-node-prater-unstable-02 - - { src: 80, dst: 9305, comment: 'Test Beacon API (80->9304/tcp)' } + - { src: 80, dst: 9305, comment: 'Test Beacon API (80->9305/tcp)' } diff --git a/ansible/host_vars/metal-02.he-eu-hel1.nimbus.prater.yml b/ansible/host_vars/metal-02.he-eu-hel1.nimbus.prater.yml new file mode 100644 index 0000000..aea83fe --- /dev/null +++ b/ansible/host_vars/metal-02.he-eu-hel1.nimbus.prater.yml @@ -0,0 +1,8 @@ +--- +# Communityu test REST API endpoint. +beacon_node_rest_address: '0.0.0.0' + +# WARNING: This will change if number of nodes changes. +redirect_ports: + # beacon-node-prater-testing-02 + - { src: 80, dst: 9303, comment: 'Test Beacon API (80->9303/tcp)' } diff --git a/prater.tf b/prater.tf index edc76c5..90b0433 100644 --- a/prater.tf +++ b/prater.tf @@ -188,7 +188,7 @@ module "nimbus_nodes_prater_hetzner" { ] } -/* Community test REST API endpoint. */ +/* Community test REST API endpoints. */ resource "cloudflare_record" "unstable_prater_beacon_api" { zone_id = local.zones["nimbus.team"] name = "unstable.prater.beacon-api" @@ -197,6 +197,14 @@ resource "cloudflare_record" "unstable_prater_beacon_api" { proxied = false } +resource "cloudflare_record" "testing_prater_beacon_api" { + zone_id = local.zones["nimbus.team"] + name = "testing.prater.beacon-api" + value = module.nimbus_nodes_prater_hetzner.public_ips[1] + type = "A" + proxied = false +} + module "nimbus_nodes_prater_macos" { source = "./modules/dummy-module"