Deploy a Spring application on OpenShift

8 Hours

19 learning resources

Basic pages, E-books

This hands on experience will introduce you to developing on OpenShift. Learn how to access OpenShift from the command line, deploy an existing Spring application, and scale up your application to handle increased web traffic.

For the best experience in this learning path, we suggest that you complete the following learning resources in the order shown. When you click on a resource, it will open in a new tab. Keep this page open so you can easily move on to the next resource!

Featured image for Kubernetes and OpenShift.

Red Hat OpenShift architecture

Understand how OpenShift environments are architected using master node, worker nodes, and Dynamic Provisioned Storage.

Featured Image: OpenShift developer web console

Explore Red Hat OpenShift

Learn how to manage your application through the web console along with the command line interface.

EAP OS docker images

Create your first project

Learn how to use a few different commands to ensure your environment is working as expected.


Deploy an application using a pre-existing container image

Learn how to easily deploy an existing spring application from a container image on OpenShift.


Work with application labels to identify component parts

Services provide a helpful abstraction layer to group similar pods, making it easier to scale your application.

Featured image for microservices.

Scale up your application in order to handle web traffic

Learn how ReplicaSets and ReplicationController are used to manage how your application scales in response to web traffic.

OpenShift SSO 2

Exposing your application to users outside of the cluster

Learn how to setup routes so that people and services outside of OpenShift can access your application.

Featured image for Apache ActiveMQ Artemis.

View and working with logs generated by your application

Learn how to access logs to monitor your application.

Advantages of a multicompiler build

Access your application container and interacting with it

Learn how to use the command line to connect to a container.

Featured image: Red Hat's single sign-on X509 user certificates

Give access to other users to collaborate on your project

Understand how to provision access to your application.

GitOps + Kubernetes B

Build and deploy an application from source code in a Git repository

Learn how to use OpenShift to build container images using source code from an existing repository.

CRW graphic

Deploy a database from the Red Hat OpenShift service catalog

Learn how to deploy and connect a MongoDB database.


Monitor your application

Learn how to add health checks to your application.

OpenShift + Pipelines 2

Continuous integration and pipelines

Learn how to configure a pipeline in OpenShift to manage application lifecycles.

.NET + Pipelines 2

Set up web hooks to enable automated application builds

Learn how to use web hooks to automate with pipelines.

troubleshooting red hat process automation manager featured image

Debug your application

Learn how to debug your application.

OpenShift 3 for Developers Book

OpenShift 3 for Developers: A Guide for Impatient Beginners

Grant Shipley, Graham Dumpleton
September 1, 2016

Keen to build web applications for the cloud? Get a quick hands-on introduction to OpenShift®, the open source Platform as a Service (PaaS) offering from Red Hat®. With this practical guide, you’ll learn the steps necessary to build, deploy, and host a complete real-world application on OpenShift without having to slog through long, detailed explanations of the technologies involved.

DevOps with OpenShift Book

Devops with OpenShift: Cloud Deployments Made Easy

Stefano Picozzi, Mike Hepburn, Noel O'Connor
September 1, 2017

For many organizations, a big part of DevOps’ appeal is software automation using infrastructure-as-code techniques. This book presents developers, architects, and infra-ops engineers with a more practical option. You’ll learn how a container-centric approach from OpenShift® can help your team deliver quality software through a self-service view of IT infrastructure.

book cover

Deploying to OpenShift

Graham Dumpleton
January 1, 2018

Get an in-depth tour of OpenShift®, the container-based software deployment and management platform from Red Hat® that provides a secure multitenant environment for the enterprise. This practical guide describes in detail how OpenShift, building on Kubernetes, enables you to automate the way you create, ship, and run applications in a containerized environment.

Ready for another OpenShift learning path?