WordPress Deployment Example
In this section we will use the tool to deploy our own example WordPress page on the Akash Network. You can follow the same process for any other workload so long as it is containerized and you have an appropriate SDL.

STEP1 - Create the Deployment

  • From the Deployments pane click the “CREATE DEPLOYMENTS” button.

STEP2 - Checking Deployment Pre-Reqs

  • Before getting started make sure you have met the following requirements:
    • 5AKT are available in wallet/escrow account.
    • Valid certificate (on chain and matching cert locally)
  • If everything is in order click the “CONTINUE” button

STEP3 - Choose Template

  • The tool provides several sample templates including Games (Supermario, Minecraft, etc), and some more general (WordPress, Hello-World, etc)
  • To deploy a custom application select the Empty template option
  • Press “CONTINUE” with the WordPress template selected

STEP4 - Create Deployment

  • If you select a empty template now would be the time to paste in your SDL
  • For this example we will be making a small change to the example SDL file. Change the domain name in the SDL’s “expose” section.
    • In a production system we would want a real domain name. Since this is an example we can use something fake.
  • Once you have changed the domain name, enter a name for your deployment in the bottom pane and press “CREATE DEPLOYMENT”.

STEP5 - Create Deployment Transaction

  • Once the process has kicked off a screen will appear asking for a selection of Gas Fees and to add the request for bids on chain. Feel free to use the defaults and select the “APPROVE” button.
Note: The process to write the transaction to the chain may take a couple of minutes to complete. This is true of every step that results in a on chain transaction.

STEP6 - Review/Accept Bids

  • After a minute or so a list of bids will display. Select the most affordable lease for this example deployment and then press “ACCEPT BID”

STEP7 - Create Lease Transaction

  • Just as before leave the default selection for Gas Fees and click “APPROVE”

STEP8 - Post Deployment

Once the process is complete you can click the Deployments tab and select the new deployment. This is where you can interact with and retrieve information about the deployment.
  • To easily navigate to the page you spun up click the icon to the right of the Akash URL
Note: The Wordpress site may take a couple of minutes to load depending on the status of the deployment
Copy link