Installing Discourse on IBM Cloud

Step 1 provision Kubernetes Cluster

  • Click the Catalog button on the top
  • Select Service from the catalog
  • Search for Kubernetes Service and click on it

![kubernetes-select|522x375](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image002.png)

  • You are now at the Kubernetes deployment page, you need to specify some details about the cluster
  • Choose a plan standard or free , the free plan only has one worker node and no subnet, to provision a standard cluster, you will need to upgrade you account to Pay-As-You-Go
  • To upgrade to a Pay-As-You-Go account, complete the following steps:
  • In the console, go to Manage > Account.
  • Select Account settings, and click Add credit card.
  • Enter your payment information, click Next, and submit your information
  • Choose classic or VPC , read the docs and choose the most suitable type for yourself

![infra-select|525x229](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image004.png)

  • Now choose your location settings, for more information please visit Locations
  • Choose Geography (continent)

![location-geo|587x181](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image006.png)

  • Choose Single or Multizone, in single zone your data is only kept in on datacenter, on the other hand with Multizone it is distributed to multiple zones, thus safer in an unforseen zone failure

![location-worker|611x189](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image008.png)

  • If you wish to use Multizone please set up your account with VRF or enable Vlan spanning
  • If at your current location selection, there is no available Virtual LAN, a new Vlan will be created for you
  • Choose a Worker node setup or use the preselected one, set Worker node amount per zone

![worker-pool|697x200](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image010.png)

  • Choose Master Service Endpoint , In VRF-enabled accounts, you can choose private-only to make your master accessible on the private network or via VPN tunnel. Choose public-only to make your master publicly accessible. When you have a VRF-enabled account, your cluster is set up by default to use both private and public endpoints. For more information visit endpoints

![endpoints|698x126](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image012.png)

  • Give cluster a name

![name-new|698x248](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image014.png)

  • Give desired tags to your cluster, for more information visit tags

![tasg-new|698x248](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image016.png)

  • Click create

![create-new|605x302](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image018.png)

  • Wait for you cluster to be provisioned

![cluster-prepare|643x61](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image020.jpg)

  • Your cluster is ready for usage

![cluster-done|376x52](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image022.jpg)

Step 2 deploy IBM Cloud Block Storage plug-in

The Block Storage plug-in is a persistent, high-performance iSCSI storage that you can add to your apps by using Kubernetes Persistent Volumes (PVs).

  • Click the Catalog button on the top
  • Select Software from the catalog
  • Search for IBM Cloud Block Storage plug-in and click on it

![block-search|475x333](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image024.png)

  • On the application page Click in the dot next to the cluster, you wish to use
  • Click on Enter or Select Namespace and choose the default Namespace or use a custom one (if you get error please wait 30 minutes for the cluster to finalize)

![Graphical user interface, text, application

Description automatically generated|395x396](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image026.png)

  • Give a name to this workspace
  • Click install and wait for the deployment

![A picture containing background pattern

Description automatically generated|697x127](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image028.png)

Step 3 deploy Discourse

We will deploy Discourse on our cluster

  • Click the Catalog button on the top
  • Select Software from the catalog
  • Search for Discourse and click on it

![Graphical user interface, application, Teams

Description automatically generated|491x252](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image030.png)

  • Please select IBM Kubernetes Service

![Graphical user interface, text, application

Description automatically generated|493x358](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image032.png)

  • On the application page Click in the dot next to the cluster, you wish to use

![Graphical user interface, application, Teams

Description automatically generated|416x154](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image034.png)

  • Click on Enter or Select Namespace and choose the default Namespace or use a custom one

![Graphical user interface, application

Description automatically generated|455x169](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image036.png)

  • Give a unique name to workspace, which you can easily recognize

![Graphical user interface, text, application

Description automatically generated|442x278](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image038.png)

Select which resource group you want to use, it’s for access control and billing purposes. For more information please visit resource groups

![Background pattern

Description automatically generated|447x138](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image040.png)

  • Give tags to your Discourse, for more information visit tags

![A picture containing shape

Description automatically generated|476x81](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image042.png)

  • Click on Parameters with default values , You can set deployment values or use the default ones

![Graphical user interface, application

Description automatically generated|549x103](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image044.png)

  • Please set the Discourse password in the parameters

![|698x55](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image046.png)

Please set the Discourse hostname in the parameters

![|698x48](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image048.png)

  • After finishing everything, tick the box next to the agreements and click install

![Graphical user interface, application

Description automatically generated|288x175](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image050.png)

  • The Discourse workspace will start installing, wait a couple of minutes

![Graphical user interface, text

Description automatically generated|698x93](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image052.png)

  • Your Discourse workspace has been successfully deployed

![Graphical user interface, text

Description automatically generated|698x91](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image054.png)

Verify Discourse installation

  • Go to Resourcesin your browser
  • Click on Clusters
  • Click on your Cluster

![Graphical user interface, application

Description automatically generated|697x232](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image056.png)

  • Now you are at you clusters overview, here Click on Actions and Web terminal from the dropdown menu

![Graphical user interface, application

Description automatically generated|560x281](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image058.png)

  • Click install - wait couple of minutes

![terminal-install|525x180](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image060.jpg)

  • Click on Actions
  • Click Web terminal --> a terminal will open up
  • Type in the terminal, please change NAMESPACE to the namespace you choose at the deployment setup:

$ kubectl get ns

![A picture containing text

Description automatically generated|698x137](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image062.png)

$ kubectl get pod -n NAMESPACE -o wide

![|698x61](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image064.png)

$ kubectl get service -n NAMESPACE

![Text

Description automatically generated|697x92](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image066.png)

  • Running Discourse service will be visible
  • Copy the External IP , and map the IP address with your hostname in DNS server
  • Paste your FQDN into your browser
  • Discourse welcome message will be visible

![Graphical user interface, text, application, email

Description automatically generated|491x178](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image068.png)

![Graphical user interface, application, Teams

Description automatically generated|495x284](file:///C:/Users/DELL%205379/AppData/Local/Packages/microsoft.office.desktop_8wekyb3d8bbwe/AC/%23!oice_16_974fa576_32c1d314_631/Temp/msohtmlclip1/01/clip_image070.png)

All of your images are broken due to an extra carriage return. I’m not quite sure why.

1 Like

My guess here is that this post was authored on a different platform and then copied here.

1 Like

Oh. Right. Those awesome all local hard drive images.

No it not copied
I want to publish this document