logo
Menu
Integrating Kyma with Amazon CloudWatch and AWS X-Ray

Integrating Kyma with Amazon CloudWatch and AWS X-Ray

What is Kyma and Why should I use it?

Simon
Amazon Employee
Published Mar 20, 2024
Last Modified Mar 21, 2024

Introduction

Kyma is an open-source set of modular building blocks based on Kubernetes, designed to develop and run enterprise-grade cloud-native applications. It's an actively maintained project supported by SAP and is also the foundation of SAP Business Technology Platform (BTP), Kyma runtime.

Kyma's Strengths

Built on Leading Open-Source Technologies
Kyma is built upon leading cloud-native, open-source projects and open standards, such as: Istio, NATS, Cloud Events, and Open Telemetry. It provides an opinionated set of modules that you can easily enable in your Kubernetes cluster to speed up cloud application development and operations.
Time-Saving and Secure
With Kyma, you save time by not having to pick the right tools and not having to keep them secure and up-to-date. You can use the modules you need from Kyma and complement them with other Kubernetes tools.
Focus on Business Logic
Kyma is a Kubernetes-based application runtime with several extensions, not a full-blown platform. The extensions make Kyma more attractive for developers who want to focus on business logic and limit investment in technical services and infrastructure.
Integration with SAP Ecosystem
Kyma is part of SAP BTP and offers easy integration with BTP services and other SAP systems. This makes it an attractive choice for building applications that integrate with SAP's ecosystem.
Kyma and SAP BTP, Kyma Runtime
While Kyma is an open-source project, SAP BTP offers a managed version called "Kyma runtime." This bundle includes a Kubernetes cluster powered by Gardener and pre-configured Kyma modules provided as a managed service. The open-source Kyma gives you more control and flexibility over installation, configuration, and upgrades, while the BTP Kyma runtime trades some flexibility for a managed, production-ready offering integrated with SAP's platform.

Why Should You Use Kyma?

1. Speed up cloud-native application development
Kyma's pre-integrated, modular building blocks save you time from having to research, select, integrate, and maintain various cloud-native tools yourself.
2. Focus on business logic
By providing extensions and technical services out-of-the-box, Kyma allows developers to focus on writing business logic rather than dealing with infrastructure complexities.
3. Enterprise-grade capabilities
Kyma is designed to support enterprise-grade, cloud-native applications with features like service mesh, event-driven architecture, serverless functions, and observability.
4. Open-source flexibility
As an open-source project, Kyma gives you the flexibility to install, configure, and upgrade components as per your needs, and use the modules you require with other Kubernetes tools.
5. Integration with SAP ecosystem
Kyma's integration with SAP BTP services and other SAP systems makes it a good choice for building applications that need to integrate with SAP's ecosystem.
6. Managed offering (SAP BTP, Kyma runtime)
For those who prefer a managed solution, SAP BTP offers the "Kyma runtime" which provides a pre-configured Kubernetes cluster with Kyma modules, regular updates, monitoring, and SLA guarantees.
For full details of the Kyma open source project go to the following link

Integrating Kyma with Amazon CloudWatch and AWS X-Ray

Kyma’s Telemetry module makes it easy for you to integrate the telemetry services you need. The diagram below shows the information flow between Kyma and your AWS Account.

This solution utilizes the 'AWS Distro for Opentelemetry' project.

AWS Distro for OpenTelemetry is a secure, production-ready, AWS-supported distribution of the OpenTelemetry project, which is part of the Cloud Native Computing Foundation. OpenTelemetry provides open source APIs, libraries, and agents to collect distributed traces and metrics for application monitoring.
With AWS Distro for OpenTelemetry, you can instrument your applications just once to send correlated metrics and traces to multiple AWS and Partner monitoring solutions. It allows you to use auto-instrumentation agents to collect traces without changing your code. Additionally, it collects metadata from your AWS resources and managed services, enabling you to correlate application performance data with underlying infrastructure data, reducing the mean time to problem resolution. AWS Distro for OpenTelemetry supports instrumentation for applications running on Amazon Elastic Compute Cloud (EC2), Amazon Elastic Container Service (ECS), Amazon Elastic Kubernetes Service (EKS) on EC2, AWS Fargate, AWS Lambda, and on-premises environments.

Benefits of AWS Distro for Opentelemetry

AWS Distro for OpenTelemetry empowers you to implement broad yet efficient, secure yet flexible, observability solutions. It helps you optimize your production environments by ensuring predictable resource utilization, and can increase your analytical visibility while protecting your investment in standardized observability tools. It is backed by AWS Support, testing, and certification.

Use Cases

Use cases include sending metrics and traces to AWS and third-party Partner monitoring services, automate collection of traces, collect metadata on application resources as well as collect, analyze, and alarm on application metrics in CloudWatch.

Open Source

We are proud to be a part of the OpenTelemetry developer community. As part of the open source community, we follow an “upstream-first” approach where we contribute all our enhancements, changes and bug fixes upstream. We participate in the open standards discussions in the OpenTelemetry Specification SIG and W3C Tracing Specification.

Solution Implementation

To implement the solution integrating Kyma and AWS Services please follow this guide

 

Any opinions in this post are those of the individual author and may not reflect the opinions of AWS.

Comments