Drying hay near Oulu Finland

How to setup Appsmith on Google Cloud Run

If you are looking for a low-code internal tool, Appsmith is a great open-source tool that creates beautifully designed UI apps on your internal data. Appsmith is open-source, so you can download it and deploy it to your environment.

It is a tool that I use for all my internal data sources, Google Sheets, and a Mysql Database. As I like the Google Cloud Run Service, I have deployed my Appsmith instance to Cloud Run. Here are instructions on how to setup.

  1. Firstly, you must create a Google Cloud Platform (GCP) account if you don’t have one. Then, log in to your GCP console.
  2. Next, you need to create a new project. Click on the “Select a project” drop-down menu at the top of the screen, then click on “New project” and follow the prompts to create a new project.
  3. Once your project is created, go to the Cloud Shell by clicking on the icon in the top-right corner of the GCP console.
  4. In the Cloud Shell, run the following command to clone the Appsmith repository:
git clone https://github.com/appsmithorg/appsmith.git
  1. Navigate to the appsmith/deploy Directory by running the following command:
cd appsmith/deploy
  1. Next, you must create a new project on the Google Cloud Console. You can do this by running the following command:
gcloud projects create [PROJECT_ID] --name=[PROJECT_NAME]

Replace [PROJECT_ID] and [PROJECT_NAME] with your preferred project ID and name.

  1. Set your GCP project as the default project for this terminal session:
gcloud config set project [PROJECT_ID]
  1. Run the following command to enable the Cloud Build API:
gcloud services enable cloudbuild.googleapis.com
  1. Finally, run the following command to deploy Appsmith to Cloud Run:
gcloud builds submit --tag gcr.io/[PROJECT_ID]/appsmith && gcloud run deploy --image gcr.io/[PROJECT_ID]/appsmith --platform managed

Replace [PROJECT_ID] with your preferred project ID.

  1. Once the deployment is complete, you should be able to access your Appsmith instance on the URL provided by Cloud Run.

That’s it! You have successfully set up Appsmith on Google Cloud Run. You can now start using the platform to create powerful and responsive web applications.



, ,




Leave a Reply

Your email address will not be published. Required fields are marked *