Deploy a Spring application on OpenShift

8 Hours

19 learning resources

External Links, 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!

Website Thumbnail
Website

Red Hat OpenShift architecture

The workshop is hosted in an OpenShift environment that is running on a public cloud. The environment consists of master node(s), worker or "application" nodes, and Dynamic Provisioned Storage

Featured Image: OpenShift developer web console
Website

Explore Red Hat OpenShift

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

Website Thumbnail
Website

Create your first project

Projects are a top level concept to help you organize your deployments. Learn how to use a few different commands to make sure that things in the environment are working as expected. Don’t worry if you don’t understand all of the terminology as we will cover it in detail in later labs.

Website Thumbnail
Website

Deploy an application using a pre-existing container image

In this lab, we’re going to deploy the web component of the ParksMap application which is also called parksmap and uses OpenShift’s service discovery mechanism to discover the backend services deployed and shows their data on the map.

Website Thumbnail
Website

Access your application container and interact with it

It is generally not recommended to modify the content of a container through SSH or running custom commands inside the container. Nevertheless, in some use-cases, such as debugging an application, it might be beneficial to get into a container and inspect the application.

Website Thumbnail
Website

Deploy a database from the Red Hat OpenShift service catalog

Learn how to deploy and connect a MongoDB database where the nationalparks application will store location information. We will mark the nationalparks application as a backend for the map visualization tool, so that it can be dynamically discovered by the parksmap component using the OpenShift discovery mechanism and the map will be displayed automatically.

OpenShift 3 for Developers Book
E-book

OpenShift 3 for Developers: A Guide for Impatient Beginners

Grant Shipley + 1

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
E-book

Devops with OpenShift: Cloud Deployments Made Easy

Stefano Picozzi + 2

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
E-book

Deploying to OpenShift

Graham Dumpleton

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?