How-tos

Container Native Monitoring Insights with Elastic on IBM Cloud

Share this post:

Introduction to container native monitoring

In this blog post, we will discuss how Elastic easily deploys with the IBM Cloud Kubernetes Service (IKS). This provides full visibility of your containerized workloads and operational consistency with container deployments in a multi-cloud architecture. We will deploy a Kubernetes cluster in IBM Cloud and layer in the Elastic to provide container native monitoring.

About IBM Cloud

IBM Cloud (formerly IBM Bluemix) was announced in June 2014, providing users with a variety of compute choices and over 170 IBM and third-party services. IBM Cloud Kubernetes Service combines Docker and Kubernetes to deliver powerful tools, an intuitive user experience, and built-in security and isolation to enable rapid delivery of applications—all while leveraging Cloud Services, including cognitive capabilities from Watson. 

About Elastic

Elastic builds software to make data usable in real time and at scale for search, logging, security, and analytics use cases. Founded in 2012, the company develops the open source Elastic Stack (Elasticsearch, Kibana, Beats, and Logstash), commercial features, and Elastic Cloud (a SaaS offering). To date, there have been more than 225 million cumulative downloads. The Elastic community is 100,000 members strong. Thousands of organizations (including Cisco, eBay, Goldman Sachs, NASA, Microsoft, Mayo Clinic, the New York Times, Wikipedia, and Verizon) use Elastic to power mission-critical systems. Backed by Benchmark Capital, Index Ventures, and NEA, with more than $100 million in funding, Elastic has a distributed workforce with more than 800 employees in 30 countries. Learn more at elastic.co.

Setting up a Kubernetes cluster in IBM Cloud

The first step in setting up a Kubernetes cluster in IBM Cloud is to create a IBM Cloud account. After you’ve successfully logged in, the left-hand navigation will take you to Containers.

 

 

Select the Kubernetes Cluster icon. We’re going to create a standard cluster below.

To create a standard cluster, set the following parameters:

  • Cluster name
  • Kubernetes version
  • Datacenter location
  • Machine type: A flavor with pre-defined resources per worker node in your cluster
  • Number of workers: 1 to n based on capacity requirements (this can be scaled up or down after the cluster is running)
  • Private and Public VLAN: Choose networks for worker nodes (we’ll create for you if you don’t have any yet)
  • Hardware: Clusters and worker nodes are always single-tenant and isolated to you, but you can choose the level of isolation to meet your needs (shared workers have multi-tenant hypervisor and hardware whereas dedicated worker nodes are single-tenant down to the hardware level)

 

See the IBM Cloud documentation for more details on cluster creation. Once you are satisfied with your selections, click on the Create Cluster button.

Once the cluster is created, install the IBM Cloud Kubernetes Service  CLI and APIs.

To create a cluster from the command line, use the following command:

bx cs cluster-create –name –location –workers 2 –machine-type u1c.2×4 –hardware shared –public-vlan –private-vlan

Deploying Elastic for container native monitoring

You can get started with Elastic by following a few easy steps.

Now that you have Elasticsearch ready to index, store, search, and analyze your data, learn about monitoring the logs and metrics of your IBM Cloud Kubernetes Service and the applications running in there with this blog and video from Elastic, the creators of Elasticsearch.

Start using container native monitoring 

IBM Cloud Kubernetes Service makes it easy to set up a Kubernetes cluster to host your containerized applications. Deploying your apps may be the easy part compared to day two operations, which is where Elastic can provide insights to these workloads.  Learn more about Elastic here.

Join us on Slack

You can register here: https://bxcs-slack-invite.mybluemix.net. Join the discussion in the #questions channel on https://ibm-container-service.slack.com.

Program Director, Offering Management, IBM Kubernetes Service & IBM Container Registry

More How-tos stories
November 14, 2018

PostgreSQL Tips: Template Databases

In this PostgreSQL Tip, we demystify PostgreSQL template databases and how and when you might use them. Template databases are really useful when you use the same database objects every time you create a new database.

Continue reading

November 9, 2018

Build Messaging Solutions with Apache Kafka or Event Streams for IBM Cloud: Part 3

One key aspect of a robust architecture is that it is built to smoothly handle system failures, outages, and configuration changes without violating the data loss and consistency requirements of the use case. To proactively build such solutions needs an understanding of the possible exceptions and risky scenarios and preparedness to manage them efficiently.

Continue reading

November 9, 2018

How to Set Up a Concourse CI/CD Pipeline

To hit the ground running for any project based on cloud-based applications, it is very important to set up the associated infrastructure for the development of microservices. Quick and high-speed development can be achieved if the team has a way to do Continuous Integration (CI) and Continuous Delivery (CD) of the application.

Continue reading