Sitemap

Deploy your first React Application on the Decentralised Compute Platform— Akash Network

3 min readNov 15, 2024

--

Press enter or click to view image in full size

With 3 tech giants—Google, Amazon, and Microsoft—owning the majority of tech solutions, Akash Network lies with the first p2p compute platform built on Cosmos. Akash is an open network that lets users buy and sell computing resources securely and efficiently.

Akash Console introducing new Automated CI/ CD deployment feature, they make it super easy to deploy you application in seconds.

Get Abhinil Agarwal’s stories in your inbox

Join Medium for free to get updates from this writer.

Head on to Akash Console and log in with your wallet. I use Leap wallet, to sign my transactions. Don’t forget to top up with some $AKT.

Press enter or click to view image in full size

You are free to choose any option of deployment, but I find it intuitive, like Vercel, to deploy my application using “Build & Deploy”. Simply push your code to github, and a CI/CD pipeline will make sure your updates are automatically deployed.

Press enter or click to view image in full size

I use github to push my code, and after giving repository access permission to Akash, I can now choose the repository to deploy on Akash Network.

Press enter or click to view image in full size
  • Select the repository, folder location, and branch.
  • Akash-ai-chatbot is a create-react-app and can use simple default npm commands to build and deploy the project.
Press enter or click to view image in full size
  • Setup environment variables for your project like API Keys.
  • Adjust compute resources as per need, or use the suggested defaults, these Server specs builds up the SDL required for deploying applications on Akash net.
  • Once you are ready with your configurations, hit “Create Deployment” and sign the transaction with 0.5 AKT, reserving for expenses.
Press enter or click to view image in full size
  • A real-time list of providers with their prices and other details will appear next. Carefully select a provider that best suits your needs. Check for audited providers with maximum uptime and minimum price.
  • Once you accept the bid and sign the transaction, akash console will start deploying your project.
Press enter or click to view image in full size

Under Leases Section, head on to your URI link, and voila! you have successfully deployed your project on Akash Network.

Payments are pay per use, and once you choose to close the deployment, you’ll get back the balance instantly.

Give it a thumbs up, and drop a comment if you found it helpful.
Have a nice day!

--

--

Abhinil Agarwal
Abhinil Agarwal

Written by Abhinil Agarwal

Explorer🚵‍♂️, Blockchain Enthusiast, and Software Developer🧑‍💻. I follow Art, music🎸, culture, and sports.