Single Server Provider

Do you want to become a provider but only have one server? You may be wondering, how do I set up Kubernetes? Praetor App is on rescue.

This blog will guide you in making your machine Kubernetes-ready and becoming an Akash provider if you have a server with only an operating system installed.

Prerequisite:

  1. You should have the Keplr wallet extension enabled in their web browser.

  2. You must have a minimum of 5AKT in your Akash wallet to become a provider.

  3. A valid domain name where you can do DNS changes to point a few domains to your cluster's machines / IP address.

GPU Testnet

If you are becoming a provider in Testnet, please select Testnet from the dropdown. Please note: Only the latest Nvidia GPUs are supported right now by Akash Network.

Step 1: Praetor App Login

Go to Praetor Application to become an Akash Cloud Provider.

Click on "Connect," It will ask you to connect your Akash wallet using the Keplr browser extension. Select "Testnet" if you are building a provider in Testnet.

Note it! This address will be used to become the cloud provider in the network.

Keplr will request your permission to connect the wallet with Praetor App, Click Approve to continue.

Keplr wallet will ask you to sign a message to generate an arbitrary signature. Then, the app will send it to the backend. We use this signature to make secure communication between the services.

Here, you can select the number of servers you want to provide to Akash. For example, about this document, select "1 Server".

Step 2: Server Access

Note: If you have GPU then select Yes and you will see two new options for your GPU selection. Please choose the appropriate answer and click Next.

The application needs to access your server to install Kubernetes. The app also installs Akash Software and necessary dependencies to make your cluster compatible with Akash Network. Praetor needs a user with sudo access to the device or root user to perform this. First, open the ssh port(usually 22).

Inputs:

Hostname: Your server's hostname (either IP or web address without HTTP or HTTPS), If you use IP, then it must be your public IP address of IPv4 type Username: Server username to login (e.g. root, admin, ubuntu, Debian etc.) Password or File:

  • If you select a password, then input the login password for the user.

  • If the user selects a file, upload the ssh private key file. You can also provide a passphrase if your key file is encrypted.

By clicking "Next," required dependencies will get installed on your server.

You will be able to see the progress on this screen. This process may take a few minutes.

Step 3: Import Akash Wallet

Importing a wallet is necessary to run your provider and get lease AKT payouts.

Two ways to import your Akash wallet:

  1. Praetor Mode (Recommended)

The app will verify your seed phrase with a connected wallet and create a Keystore file in your server.

Inputs:

Seed Phrase: Wallet Seed phrase (e.g. apple create carpet grain juice) Password: 8 letter password of your choice. The app will use the password to encrypt the Keystore file.

Note! Please be noted that we use an end-to-end encryption method to transfer your seed phrase and password. So, you can be confident in typing your seed phrase here. Although, If you don’t want to provide your seed phrase here then you can switch to manual mode by “Switch to Manual Mode.”

2. Manual Mode

Perform the following steps on your server.

(i) Login to the control machine using the username you used in the step-2

(ii) Create a Keyring file using the command

~/bin/akash — keyring-backend file keys add wallet_name — recover

(iii) Enter your mnemonic seed phrase and password.

(iv) Run the following command and enter the same passphrase you have used in (ii)

echo {passphrase} > ~/.praetor/wallet_phrase_password.txt

Step 4a: Provider Configuration

You are one more step closer to becoming a cloud provider for Akash Network.

On the Provider Configuration page, you will need to provide Domain name and Organization Name and then click Next.

Inputs:

Domain Name: Please enter your own domain name. Please make sure you have purchased this domain name as we need to make changes in DNS in the later stages. Organization Name: Unique name that represents your machine in Akash Network (e.g. Praetor App)

Step 4b: Provider Pricing

On the Provider Pricing page, you will need to provide specific configurations. The app will use those values to make your provider on the chain, generate a server certificate and turn on provider service for Akash.

From advanced settings, you can set the pricing you wish to lease out your machine. Also, you can see an estimated earning from your provider.

Inputs:

CPU Scale Bid Price: CPU scale pricing in USD per thread per month Memory Scale Bid Price: Memory scale pricing in USD per GB per month Storage Scale Bid Price: Storage scale pricing in USD per GB per month Persistent Storage Scale Bid Price: Persistent Storage scale pricing in USD per GB per month

Advance Settings:

IP Scale Price: IP Scale price in USD per IP per month Endpoint Scale Bid Price: Endpoint pricing in USD per porth per month Bid Deposit: Bid deposit in uakt (e.g. 5000000 uakts = 5 AKTs)

Step 4c: Provider Attributes

On Provider Attributes page, you can add custom attributes to your provider. If you wish to add attributes, provide it in key value pair and then click Next.

Note! is chargeable

After filling in all the necessary information, click on "Next". The process of becoming provider on chain will get started.

This screen will show you the progress of becoming an Akash cloud provider.

Congratulations, you became a provider on Akash Network.

Step 5: Port & DNS Configuration

All the ports mentioned in the port table have to open for 0.0.0.0(Anywhere IPv4).

Ensure your provider domain and ingress domain point to the correct IP Address shown on the screen.

Step 6: Akash Audit

They are security professionals trusted by Akash community members. They audit providers' technical proficiency and provide ensuring to your consumers for the service you cater.

If you click "Apply for Audit," The application will ask you to provide basic information.

On clicking "Skip," you will be redirected to the Dashboard.

Step 7: Dashboard

Finally, You become a provider on Akash Network, and you will soon start getting leases on your machine. The Dashboard will provide information about your provider's server statistics and show how much is active, available and pending resources.

On Clicking Provider Settings, you would be able to modify your various settings for your provider like attributes, pricing, domain name and provider url. You can also restart or upgrade your provider and give a message in form of note to your deployers.

On Clicking Provider Deployments, you can easily see active and inactive deployments in your provider.

Thank you for using Praetor App. If you have any issues or trouble getting the provider machine up and running, don't hesitate to contact us on Discord or Twitter.

Last updated