# Installing Grafana on IBM Cloud

**URL:** <https://community.grafana.com/t/installing-grafana-on-ibm-cloud/39662>\
**Category:** Installation\
**Created:** [November 24, 2020, 8:19am UTC](https://community.grafana.com/t/installing-grafana-on-ibm-cloud/39662 "2020-11-24T08:19:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cdeol48](https://avatars.discourse-cdn.com/v4/letter/c/d26b3c/32.png) [@cdeol48](https://community.grafana.com/u/cdeol48)\
**Post date:** [November 24, 2020, 8:19am UTC](https://community.grafana.com/t/installing-grafana-on-ibm-cloud/39662/1 "2020-11-24T08:19:51Z")

</div>

# 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

 ![image](https://us1.discourse-cdn.com/grafana/original/2X/7/7b23832083334dda8a1e3d506e280f0e58d9d789.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](https://cloud.ibm.com/docs/containers?topic=containers-infrastructure_providers) and choose the most suitable type for yourself

- Now choose your location settings.

- 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

- If you wish to use Multizone please set up your account with [VRF](https://cloud.ibm.com/docs/dl?topic=dl-overview-of-virtual-routing-and-forwarding-vrf-on-ibm-cloud) 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

- 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.

- Give cluster a name

- Give desired **tags** to your cluster.

- Click **create**

- Wait for you cluster to be provisioned

- Your cluster is ready for usage

# 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

- 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)

- Give a **name** to this workspace

- Click **install** and wait for the deployment

# Step 3 deploy Grafana

We will deploy MySQL on our cluster

- Click the **Catalog** button on the top

- Select **Software** from the catalog

- Search for **Grafana** and click on it

- Please select IBM Kubernetes Service

- 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

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

Select which resource group you want to use, it’s for access control and billing purposes.

- Give **tags** to your Grafana,

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

- Please set the Grafana root password in the parameters

Please change the **service.type** from **ClusterIP** to **LoadBalancer** in the parameters

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

- The Grafana workspace will start installing, wait a couple of minutes

- Your Grafana workspace has been successfully deployed

# Verify Grafana installation

- Go to Resources in your browser

- Click on **Clusters**

- Click on your Cluster

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

- Click **install** - wait couple of minutes

- 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

$ kubectl get pod -n NAMESPACE -o wide

$ kubectl get service -n NAMESPACE

- Running Grafana service will be visible
- Copy the **External IP and Port number,** you can access the website on this IP
- Paste it into your browser
- Grafana welcome message will be visible

---

<div class="post-metadata">

**Author:** ![melrose](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/melrose/32/14147_2.png) [@melrose](https://community.grafana.com/u/melrose)\
**Post date:** [November 28, 2020, 9:55am UTC](https://community.grafana.com/t/installing-grafana-on-ibm-cloud/39662/2 "2020-11-28T09:55:57Z")

</div>

what version are you installing and since when does the problem exist?

---

<div class="post-metadata">

**Author:** ![cdeol48](https://avatars.discourse-cdn.com/v4/letter/c/d26b3c/32.png) [@cdeol48](https://community.grafana.com/u/cdeol48)\
**Post date:** [November 28, 2020, 10:08am UTC](https://community.grafana.com/t/installing-grafana-on-ibm-cloud/39662/3 "2020-11-28T10:08:01Z")

</div>

Want to publish documents on grafana document page

---

<div class="post-metadata">

**Author:** ![melrose](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/melrose/32/14147_2.png) [@melrose](https://community.grafana.com/u/melrose)\
**Post date:** [November 28, 2020, 1:56pm UTC](https://community.grafana.com/t/installing-grafana-on-ibm-cloud/39662/4 "2020-11-28T13:56:18Z")

</div>

how does this work ?

---

<div class="post-metadata">

**Author:** ![cdeol48](https://avatars.discourse-cdn.com/v4/letter/c/d26b3c/32.png) [@cdeol48](https://community.grafana.com/u/cdeol48)\
**Post date:** [December 1, 2020, 9:36am UTC](https://community.grafana.com/t/installing-grafana-on-ibm-cloud/39662/5 "2020-12-01T09:36:09Z")

</div>

i hvae docs include all instructions
