Uploaded August 2022 | Updated September 2026, 2 weeks ago
This tutorial will show you step by step exactly how to set up and run your own Chainlink Oracle node on Google Cloud Platform.
๐ง Need expert help fast? Book a 1:1 session and get unstuck today ๐ bit.ly/42I10y5
๐ฅ NEW: Unlock members-only videos and behind-the-scenes drops ๐ bit.ly/4iyBm4I
๐ ๏ธ The exact tools and gear I trust (and actually use) ๐ amzn.to/44fKDv4
๐ Step-by-step setup guides, templates, and insider resources ๐ bit.ly/4ivZDID
๐ Grab custom gear and tools designed by me ๐ etsy.me/4isKwjb
๐ฉ For sponsorships or business inquiries, reach out: macgyvertechnology@gmail.com
Outline
Intro 0:00 - 0:08
Node Provider 0:08 - 0:20
Earning Money 0:20 - 1:00
What is an Oracle 1:00 - 1:30
Determinism 1:30 - 2:30
Random Numbers 2:30 - 2:50
Betting on a Sport Match 2:50 - 4:03
Open Source 4:03 - 4:11
Decentralized 4:11 - 4:20
Performance Audits 4:20 - 4:33
Using ChainLink 4:33 - 4:50
Google Cloud Platform 4:50 - 5:20
Setup PostgreSQL 5:20 - 6:11
Create Virtual Machine 6:11 - 7:25
Configure Database 7:25 - 9:34
Setup ChainLink Software 9:34 - 11:50
Setup Ethereum Node 11:50 - 13:40
Configure Database Schema 13:40 - 15:23
Test PostgreSQL Connection 15:23 - 16:35
Start ChainLink Instance 16:35 - 19:35
Create a Keystore Password 19:35 - 20:41
Access the ChainLink Client 20:41 - 22:10
Install NGINX 22:10 - 24:45
ChainLink Web App 24:45 - 25:20
Commands
Elevate to Root
sudo su -
Install Docker on Ubuntu
curl -sSL get.docker.com | sh
sudo usermod -aG docker $USER
exit
Make a ChainLink Folder
mkdir ~/.chainlink
Create an Account (Ethereum Node) on Alchemy
alchemy.com
dashboard.alchemyapi.io
Install Light Weight Postgres Client
sudo apt install -y postgresql-client
Test Database Connection to Google Cloud SQL
pg_isready -d chainlink -h 35.223.13.41 -p 5432 -U postgres
Create .env config file
ROOT=/chainlink
LOG_LEVEL=debug
ETH_CHAIN_ID=1
CHAINLINK_TLS_PORT=0
SECURE_COOKIES=false
ALLOW_ORIGINS=*
ETH_URL=
DATABASE_URL=
Download and Run the Chain Link Node via Docker
docker run -p 6688:6688 -v ~/.chainlink:/chainlink -it --env-file=.env smartcontract/chainlink:1.7.0-root local n
Install NGINX
apt-get install nginx
Modify NGINX Server Block
location ~ / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_pass http://localhost:6688;
}
Keystore Credential Requirements
- Donโt use numbers
- 4 uppercase letters
- Greater than 16 chars
DEFINITION
Blockchain oracles are entities that connect blockchains to external systems, thereby enabling smart contracts to execute based upon inputs and outputs from the real world.
Oracles provide a way for the decentralized Web3 ecosystem to access existing data sources, legacy systems, and advanced computations. Decentralized oracle networks (DONs) enable the creation of hybrid smart contracts, where on-chain code and off-chain infrastructure are combined to support advanced decentralized applications (dApps) that react to real-world events and interoperate with traditional systems.
#chainlink #web3
This tutorial will show you step by step exactly how to set up and run your own Chainlink Oracle node on Google Cloud Platform.
๐ง Need expert help fast? Book a 1:1 session and get unstuck today ๐ bit.ly/42I10y5
๐ฅ NEW: Unlock members-only videos and behind-the-scenes drops ๐ bit.ly/4iyBm4I
๐ ๏ธ The exact tools and gear I trust (and actually use) ๐ amzn.to/44fKDv4
๐ Step-by-step setup guides, templates, and insider resources ๐ bit.ly/4ivZDID
๐ Grab custom gear and tools designed by me ๐ etsy.me/4isKwjb
๐ฉ For sponsorships or business inquiries, reach out: macgyvertechnology@gmail.com
Outline
Intro 0:00 - 0:08
Node Provider 0:08 - 0:20
Earning Money 0:20 - 1:00
What is an Oracle 1:00 - 1:30
Determinism 1:30 - 2:30
Random Numbers 2:30 - 2:50
Betting on a Sport Match 2:50 - 4:03
Open Source 4:03 - 4:11
Decentralized 4:11 - 4:20
Performance Audits 4:20 - 4:33
Using ChainLink 4:33 - 4:50
Google Cloud Platform 4:50 - 5:20
Setup PostgreSQL 5:20 - 6:11
Create Virtual Machine 6:11 - 7:25
Configure Database 7:25 - 9:34
Setup ChainLink Software 9:34 - 11:50
Setup Ethereum Node 11:50 - 13:40
Configure Database Schema 13:40 - 15:23
Test PostgreSQL Connection 15:23 - 16:35
Start ChainLink Instance 16:35 - 19:35
Create a Keystore Password 19:35 - 20:41
Access the ChainLink Client 20:41 - 22:10
Install NGINX 22:10 - 24:45
ChainLink Web App 24:45 - 25:20
Commands
Elevate to Root
sudo su -
Install Docker on Ubuntu
curl -sSL get.docker.com | sh
sudo usermod -aG docker $USER
exit
Make a ChainLink Folder
mkdir ~/.chainlink
Create an Account (Ethereum Node) on Alchemy
alchemy.com
dashboard.alchemyapi.io
Install Light Weight Postgres Client
sudo apt install -y postgresql-client
Test Database Connection to Google Cloud SQL
pg_isready -d chainlink -h 35.223.13.41 -p 5432 -U postgres
Create .env config file
ROOT=/chainlink
LOG_LEVEL=debug
ETH_CHAIN_ID=1
CHAINLINK_TLS_PORT=0
SECURE_COOKIES=false
ALLOW_ORIGINS=*
ETH_URL=
DATABASE_URL=
Download and Run the Chain Link Node via Docker
docker run -p 6688:6688 -v ~/.chainlink:/chainlink -it --env-file=.env smartcontract/chainlink:1.7.0-root local n
Install NGINX
apt-get install nginx
Modify NGINX Server Block
location ~ / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_pass http://localhost:6688;
}
Keystore Credential Requirements
- Donโt use numbers
- 4 uppercase letters
- Greater than 16 chars
DEFINITION
Blockchain oracles are entities that connect blockchains to external systems, thereby enabling smart contracts to execute based upon inputs and outputs from the real world.
Oracles provide a way for the decentralized Web3 ecosystem to access existing data sources, legacy systems, and advanced computations. Decentralized oracle networks (DONs) enable the creation of hybrid smart contracts, where on-chain code and off-chain infrastructure are combined to support advanced decentralized applications (dApps) that react to real-world events and interoperate with traditional systems.
#chainlink #web3










