Microservices

Red Hat Logo
Article

An Incremental Path to Microservices

Raffaele Spazzoli

As a consultant for Red Hat, I have the privilege of seeing many customers. Some of them are working to find ways to split their applications in smaller chunks to implement the microservices architecture. I’m sure this trend is generalized even outside my own group of the customers. There is undoubtedly hype around microservices. Some organizations are moving toward microservices because it’s a trend, rather than to achieve a clear and measurable objective. In the process, these organizations are missing...

Using API keys securely in your OpenShift microservices and applications
Article

How to build a containerized IoT solution with OpenShift

Ishu Verma

For businesses looking to build scalable Internet of Things (IoT) solutions using containers, here is a sample project built on the Red Hat OpenShift Container Platform . This project implements an intelligent IoT gateway on the OpenShift Container platform. The IoT Gateway is critical for enterprise IoT as it brings intelligence, and enables key services, at the edge. In this project, the gateway application is deployed as a set of microservices inside containers on OpenShift. A software sensor sends a...

Camel / Red Hat Fuse
Article

Microservices: Zero Downtime Deployment; Hot reconfiguration on OpenShift

Abdellatif BOUCHAMA

2017: Time for a new resolution and the most important resolution for this year should be to adopt microservices to spend less effort on development and improve your time to market (TTM) . Nowadays, there are plenty of tools and frameworks at the disposal of the discerning developer to rapidly build microservices. A few examples include Spring Boot, Vertx, etc. Once you build your microservices, the next step is to ensure that these frequent deployments do not impact the availability...

Jenkins Pipeline Builds and A/B Deployments in CDK
Article

Jenkins Pipeline Builds and A/B Deployments in CDK

Ricardo Martinelli

The CDK 2.3 version has added the newest OpenShift Container Platform 3.3, allowing us to make use of the Jenkins Pipeline builds as well a special route configuration, which enables A/B deployments. In this post, I will show you how to achieve that configuration using a microservice application. Preparation steps Once CDK 2.3 is up and running in our environment, we need to make an additional configuration to enable the Jenkins pipeline builds. Since it is an experimental feature, it...

Camel / Red Hat Fuse
Article

Getting Started with Fuse Integration Service 2.0 Tech preview

Christina Lin

To get started with FIS 2.0, for people who are just getting to know the technology, here is how I interpret it. Basically, it's divided into two aspects. 1. Integration development: FIS uses Apache Camel as the core technology that creates, orchestrates, and composes microservices into a super lightweight thin integration layer, and becomes the API provider and service orchestrator through exposing RESTful or messaging service endpoints. And you can choose to either package and run it with Spring-Boot or...

Article Thumbnail
Article

Automate integration CI/CD process

Christina Lin

Red Hat Fuse Integration Service 2.0 tech preview was released a few weeks ago and as it's based on Red Hat OpenShift 3.3, which has pipeline capability on top of it (tech preview on OpenShift as well), you are able to get one step closer to a more automated and agile continuous integration. As well as, a deployment one-stop platform for us, the integration developer. For the pipeline to work on OpenShift, you need Jenkins installed and running. OpenShift uses...

Red Hat Logo
Article

Spring Boot and OAuth2 with Keycloak

Kamesh Sampath

The tutorial Spring Boot and OAuth2 showed how to enable OAuth2 with Spring Boot with Facebook as AuthProvider; this blog is the extension of showing how to use KeyCloak as AuthProvider instead of Facebook. I intend to keep this example as close to the original Spring Boot and OAuth2 and will explain the changes to the configuration to make the same application work with KeyCloak . The source code for the examples are available in the github repositories listed below...

Eclipse logo
Article

Eclipse Vert.x Core Cheat Sheet

Clement Escoffier

Eclipse Vert.x is a toolkit used to build reactive and distributed systems on the Java Virtual Machine. Vert.x supports a variety of languages letting you choose which one you’d prefer. The Vert.x Core cheat sheet covers the creation of a project using Apache Maven, Gradle or the Vert.x CLI, and references most common Vert.x Core APIs, in 3 different languages (Java, JavaScript, and Groovy). Forgot how to create an HTTP server, use the HTTP client, implement a request-response on the...

Camel / Red Hat Fuse
Article

How to containerize your Camel route on Karaf within OpenShift

Abdellatif BOUCHAMA

The Red Hat JBoss Fuse solution offers a new approach of ESB, both lightweight and modular. It is perfectly suited to allow you to implement light integrations. JBoss Fuse is fully supported, based on the power of Apache Karaf --- Karaf allows for the easy deployment of your ActiveMQ Broker, your CXF web services, or your own Apache Camel routes. Most of us are more familiar with the OSGI Environment, and what it offers: things like control of classloader behavior...

Article Thumbnail
Article

Spring Cloud for Microservices Compared to Kubernetes

Bilgin Ibryam

Spring Cloud and Kubernetes both claim to be the best environment for developing and running Microservices, but they are both very different in nature and address different concerns. In this article we will look at how each platform is helping in delivering Microservice based architectures (MSA), in which areas they are good at, and how to take best of both worlds in order to succeed in the Microservices journey. Background Story Recently I read a great article about building Microservice...

Fedora logo
Article

Installing Red Hat Container Development Kit on Fedora

Preeti Chandrashekar

Fedora users seeking help on installing Container Development Kit (CDK), here is how you can install CDK 2.2 on your Fedora 24. These same steps can be used for CDK 2.3 too. CDK provides a container development environment, to build production-grade applications, for use on OpenShift. The installation of CDK 2.2 on Fedora essentially involves the following stages: Setting up your virtualization environment You need to first install the virtualization software, in this case, KVM/libvirt, and then proceed to install...

Automating microservices deployment with Red Hat Ansible Automation
Article

Automating microservices deployment with Ansible

Rafael Benevides

One of the main principles of microservices is to be independently deployable. As a consequence, Microservices development and operation tend to be much more complex than a Monolith because of their distributed nature --- if your IT team has not moved out yet from its silos and has adopted DevOps practices, the operations team will not really understand why they have to deploy hundreds of independent software pieces in opposite to the "good old monolith". "You need a mature operations...

Article Thumbnail
Article

Microservices: Comparing DIY with Apache Camel

James Falkner

Microservices are currently enjoying immense popularity . It is rare to find a tech conference without at least a few mentions of them in corridor conversations or titles of talks, and for good reason: microservices can provide a path to better, more maintainable, higher quality software delivered faster. What's not to love? Of course there are the "negatives" and details in the implementation of microservices that can trip up even the most seasoned architect-developer, but at the same time we...

Article Thumbnail
Article

Container Orchestration Specification for better DevOps

Pradeepto Bhattacharya

The world is moving to microservices, where applications are composed of a complex topology of components, orchestrated into a coordinated topology. Microservices have become increasingly popular as they increase business agility and reduce the time for changes to be made. On top of this, containers make it easier for organizations to adopt microservices. Increasingly, containers are the runtimes used for composition, and many excellent solutions have been developed to handle container orchestration such as: Kubernetes/OpenShift ; Mesos and its many...

Article Thumbnail
Article

Getting started with Hyperledger on Kubernetes

Kunal Limaye

Why? Recently, I have been following the Hyperledger project, and Fabric in particular, with fair bit of interest. The current deployment process 1 for Fabric Starter Kit uses Docker Swarm . Kubernetes is a leading platform for automating deployment, scaling, and operations of containerised applications. Using Kubernetes instead of Docker Swarm would allow Hyperledger Fabric to leverage features like: Automatic binpacking Horizontal scaling Automated rollouts and rollbacks Storage orchestration Self-healing Service discovery and load balancing Secret and configuration management Batch...

That app you love
Article

That app you love, part 10: Long live "that app you love"

N. Harrison Ripps

Welcome to the tenth and final installment of That App You Love , a blog series in which I show you how to you can make almost any app into a first-class cloud citizen. If you want to start from the beginning, jump back and check out Part 1: Making a Connection . You’ll need the docker service and the oc utility to follow along in this post; for instructions check out Part 5: Upping Our (Cloud) Game . Wow...

That app you love
Article

That app you love, part 9: Storage and statefulness

N. Harrison Ripps

Welcome to the ninth installment of That App You Love , a blog series in which I show you how to you can make almost any app into a first-class cloud citizen. If you want to start from the beginning, jump back and check out Part 1: Making a Connection . You’ll need the docker service and the oc utility to follow along in this post; for instructions check out Part 5: Upping Our (Cloud) Game . In Part 8...

That app you love
Article

That app you love, part 8: A blueprint for "that app you love"

N. Harrison Ripps

Welcome to the eighth installment of That App You Love , a blog series in which I show you how to you can make almost any app into a first-class cloud citizen. If you want to start from the beginning, jump back and check out Part 1: Making a Connection . You’ll need the docker service and the oc utility to follow along in this post; for instructions check out Part 5: Upping Our (Cloud) Game . In Part 7...

That app you love
Article

That app you love, part 7: Wired for sound

N. Harrison Ripps

Welcome to the seventh installment of That App You Love , a blog series in which I show you how to you can make almost any app into a first-class cloud citizen. If you want to start from the beginning, jump back and check out Part 1: Making a Connection . You’ll need the docker service and the oc utility to follow along in this post; for instructions check out Part 5: Upping Our (Cloud) Game . In Part 6...

Red Hat Mobile Application Platform
Article

Announcing fully containerized Red Hat Mobile Application Platform 4.2

Javier Perez

Last June, we announced the availability of version 4.0 of our product. This was the culmination of months of hard work and demonstrated our constantly expanding set of capabilities. I went on to recap the key technology choices made over five years ago, choices that proved to be visionary for our mobile platform’s architecture and functionality: Node.js and containers. We are very proud of our accomplishments with Red Hat Mobile Application Platform 4.0 and the new technologies we introduced to...

That app you love
Article

That app you love, part 6: Container, meet cloud

N. Harrison Ripps

Welcome to the sixth installment of That App You Love , a blog series in which I show you how to you can make almost any app into a first-class cloud citizen. If you want to start from the beginning, jump back and check out Part 1: Making a Connection . You’ll need the docker service and the oc utility to follow along in this post; for instructions check out Part 5: Upping Our (Cloud) Game . We’ve been on...

That app you love
Article

That app you love, part 5: Upping our (cloud) game

N. Harrison Ripps

Welcome to the fifth installment of That App You Love , a blog series in which I show you how to you can make almost any app into a first-class cloud citizen. If you want to start from the beginning, jump back and check out Part 1: Making a Connection . The previous posts of this series have focused on how to package ZNC in a way that exposes run-time configurability into the immutable world of containers. But forget about...

Article Thumbnail
Article

Business process management in a "microservices world"

David Bush

Generally when the topic of Business Process Management (BPM) comes up we think of BPM software suites. There’s another side to BPM though, and that’s the practice of process management, which doesn’t require any software at all. Traditionally the BPM practice has focused on continuous process improvement. There are various methodologies but it generally comes down to this: Collect metrics on the existing process Analyze those metrics Propose an optimization Simulate the optimization with the collected metrics Institute the validated...

Using API keys securely in your OpenShift microservices and applications
Article

Using API keys securely in your OpenShift microservices and applications

Shane Boulden

In the microservices landscape, the API provides an essential form of communication between components. To allow secure communication between microservices components, as well as third-party applications, it's important to be able to consume API keys and other sensitive data in a manner that doesn't place the data at risk. Secret objects are specifically designed to hold sensitive information, and OpenShift makes exposing this information to the applications that need it easy. In this post, I'll demonstrate securely consuming API keys...