Deploy the Node
Navigate to https://console.akash.network/
On the left sidebar click on Deployments
and then to DEPLOY
Select Empty
template
Insert the provided content, ensuring that you edit the necessary fields and that your input is enclosed within double quotes.
To find the latest Docker images for your template, check both the version without SSH and the version with SSH.
- When configuring the
HOURLY_PRICES
field, set the last part of the string to10000000udvpn
for residential nodes and4160000udvpn
for data center nodes. - To convert your mnemonic in BASE64 use this link
Template
---
version: "2.0"
endpoints:
uniq_name_endpoint: # unique name, for example "dvpn_on_akash:", and enter this name in line 27 and 32.
kind: ip
services:
app:
image: declab/sentinel_dvpn:0.7.1.1
env:
- "MNEMONIC_BASE64=" # Mnemonic phrase encrypted with BASE64.
- "MONIKER=dVPN on Akash Network v2RAY" # Your dVPN node name.
- "REMOTE_PORT=8585" # Remote port for are connection sentinel client service.
- "LISTEN_PORT=3333" # v2RAY listen port
- "IPV4_ADDRESS=" # Node static IP address ( of leases section )
- "RPC_ADDRESS=https://rpc.sentinel.co:443"
- "GIGABYTE_PRICES=52573ibc/31FEE1A2A9F9C01113F90BD0BBCCE8FD6BBB8585FAF109A2101827DD1D5B95B8,9204ibc/A8C2D23A1E6F95DA4E48BA349667E322BD7A6C996D8A4AAE8BA72E190F3D1477,1180852ibc/B1C0DDB14F25279A2026BC8794E12B259F8BDA546A3C5132CCAEE4431CE36783,122740ibc/ED07A3391A112B175915CD8FAF43A2DA8E4790EDE12566649D0C2F97716B8518,15342624udvpn"
# ^^Set the cost per 1 Gb of active traffic passed through your node.^^
- "HOURLY_PRICES=18480ibc/31FEE1A2A9F9C01113F90BD0BBCCE8FD6BBB8585FAF109A2101827DD1D5B95B8,770ibc/A8C2D23A1E6F95DA4E48BA349667E322BD7A6C996D8A4AAE8BA72E190F3D1477,1871892ibc/B1C0DDB14F25279A2026BC8794E12B259F8BDA546A3C5132CCAEE4431CE36783,18897ibc/ED07A3391A112B175915CD8FAF43A2DA8E4790EDE12566649D0C2F97716B8518,10000000udvpn" # Set the cost per 1 hour of traffic passed through your node.
expose:
- port: 8585 # REMOTE_URL_PORT
as: 8585
to:
- global: true
ip: uniq_name_endpoint # Name from string 3, for example "ip: dvpn_dimokus"
- port: 3333 # LISTEN_PORT
as: 3333
to:
- global: true
ip: uniq_name_endpoint # Name from string 3, for example "ip: dvpn_dimokus"
profiles:
compute:
app:
resources:
cpu:
units: 1
memory:
size: 1Gi
storage:
size: 3Gi
placement:
akash:
pricing:
app:
denom: uakt
amount: 100000
deployment:
app:
akash:
profile: app
count: 1
Template with SSH Access
---
version: "2.0"
endpoints:
unique_name_endpoint: # unique name, for example "dvpn_on_akash:", and enter this name in line 27 and 32.
kind: ip
services:
app:
image: declab/sentinel_dvpn_ssh:0.7.1.2
env:
- "SSH_KEY=" # Your SSH pubkey
- "MNEMONIC_BASE64=" # Mnemonic encrypted with BASE64.
- "MONIKER=" # Your dVPN node name.
- "REMOTE_PORT=8585" # TCP listen port.
- "LISTEN_PORT=3333" # V2RAY listen port
- "IPV4_ADDRESS=" # Node leased IP address (you will add it later)
- "RPC_ADDRESS=https://rpc.sentinel.co:443"
- "GIGABYTE_PRICES=52573ibc/31FEE1A2A9F9C01113F90BD0BBCCE8FD6BBB8585FAF109A2101827DD1D5B95B8,9204ibc/A8C2D23A1E6F95DA4E48BA349667E322BD7A6C996D8A4AAE8BA72E190F3D1477,1180852ibc/B1C0DDB14F25279A2026BC8794E12B259F8BDA546A3C5132CCAEE4431CE36783,122740ibc/ED07A3391A112B175915CD8FAF43A2DA8E4790EDE12566649D0C2F97716B8518,15342624udvpn"
- "HOURLY_PRICES=18480ibc/31FEE1A2A9F9C01113F90BD0BBCCE8FD6BBB8585FAF109A2101827DD1D5B95B8,770ibc/A8C2D23A1E6F95DA4E48BA349667E322BD7A6C996D8A4AAE8BA72E190F3D1477,1871892ibc/B1C0DDB14F25279A2026BC8794E12B259F8BDA546A3C5132CCAEE4431CE36783,18897ibc/ED07A3391A112B175915CD8FAF43A2DA8E4790EDE12566649D0C2F97716B8518,10000000udvpn"
expose:
- port: 8585 # TCP listen port
as: 8585
to:
- global: true
ip: unique_name_endpoint # Name used in line 3, for example "ip: dvpn_akash_node"
- port: 3333 # V2RAY port
as: 3333
to:
- global: true
ip: unique_name_endpoint # Name used in line 3, for example "ip: dvpn_akash_node"
- port: 22 # SSH Port
as: 22
to:
- global: true
profiles:
compute:
app:
resources:
cpu:
units: 1
memory:
size: 1Gi
storage:
size: 3Gi
placement:
akash:
pricing:
app:
denom: uakt
amount: 100000
deployment:
app:
akash:
profile: app
count: 1
Click on CREATE DEPLOYMENT
You will need to make a 0.5 AKT or 5 USDC deployment deposit, which will be refunded to you upon closing the deployment.
Now, wait for bids, select your preferred provider and click on ACCEPT BID
Wait for deployment and check the tab EVENTS
to see the IP that has been assigned!
Now go on tab UPDATE
, insert your IP into the field IPV4_ADDRESS
and click on UPDATE DEPLOYMENT
The node will be redeployed. You can check the LOGS
tab as you normally do when installing it manually to verify if it goes online without errors. Alternatively, you can SSH into the container, which is the next step.