⛓️ Chainlayer Techincal Assessment (DevOps)
📜 Assignment Instructions
For this technical assessment you will be provided with a server running Ubuntu 20.04 which you can access using SSH.
You are required to do the tasks yourself, but you are free to use any resources online or ask for help, including from us.
After completing the assignment, we will find a suitable time shortly after where you have 30 minutes to present how you approached this assignment, how you solved it, and why you chose to use that setup. How you present is totally up to you.
📝 Tasks (and how I solved them)
The [main] task is to set up an Ethereum 2 Beacon node (not validator) for the Goerli Testnet.
🔧 Configuring Nodes
Target hosts are configure in inventory/hosts.yml
To apply the configuration run:
./bin/main.sh
⚗️ Testing
🤖 Services
HOST=209.94.56.220
# Lighhouse
curl -kH "Host:dev.chainlayer.lighthouse" https://${HOST}:5052/eth/v1/config/spec
# GETH
curl -kX POST https://${HOST}:8545 \
-H "Content-Type: application/json" \
-H "Host: dev.chainlayer.geth" \
--data '{"jsonrpc":"2.0", "method":"eth_getBalance", "params":["0x0000000000000000000000000000000000000000","latest"], "id":1}'
📈 Grafana
Navigate to http://{HOST}:3000
in a web browser.