Minesweeper Deployment Example
In this section we will use the Akash Console to launch an example Minesweeper deployment 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.
New Deploymentpage click the
Deploy Nowbutton in the
Fun & Gamessection.
Minesweepertemplate and the proceed with the deployment by clicking
Proceed with the deployment by specifying a useful name to your application. This step is optional and without explicit naming the Akash Console will assign a randomly generated name.
Create Deploymentto proceed when satisfied with application naming/settings..
NOTE - the Configuration section additionally allows the edit of the following application specifications. In our example - with the goal being the simple launch of an initial application via the Akash Console - these settings are left at defaults and are not changed. - Configure services - allows edit of application specs including CPU, memory, storage, and exposed ports. - Review SDL - allows direct edit of the applications SDL (Stack Description Language) YAML file. Further details on Akash SDL files can be found here.
A number of verifications are made prior to proceeding with application deployment.
Amongst the verifications made are assurances that the connected wallet has sufficient funds and a valid certificate exists which is used for Akash provider communications.
If all verifications are successful - as shown in the example below - proceed by clicking the
NOTE - if
Wallet Connectedcheck fails, ensure the
Connect Walletstep from the Akash Console Access section of this document is completed.
NOTE - if this is your first time using the Akash Console it is likely the
Valid Certificatecheck will fail. Use the instructions in the subsequent step (STEP 5 - Certificate Creation) should this be the case.
Use the guidance in this step if a valid certificate does not exist.
A valid certificate is necessary to proceed with deployments of apps onto the Akash network. If the
Checking Essentialsscreen reports
Missing Certificatethere are two ways to proceed.
- Simply click the
Create Certificatebutton presented in the
Checking Essentialspane as highlighted in the display below. NOTE - following the selection of this button it may take a couple of minutes before the
Missing Certificatewarning disappears.
The Keplr wallet will prompt to
Approvegas fees for the creation of the deployment. Click the
Approvebutton to proceed.
Subsequent steps in the Deployment process may also prompt for Gas fee accept. Follow this same step to approve any subsequent such prompts.
Select a preferred Akash Provider for your deployment.
Submit Deploy Requestbutton following preferred Provider selection to continue with the deployment.
Upon successful completion of the Akash Deployment the following screen is presented.
The Deployment management pane allows actions including:
- EVENTS - view of the related application launch events
- LOGS - view of the logs from the application's container instance
- LEASES - review of the deployment's specifications including exposed ports and assigned resources
- Update/Delete Deployment - ability to manage the active deployment by updating application image or closing the deployment.
Access the Deployment's URL via the exposed link.
Example display of the Minesweeper web app within the Akash Deployment.