Home » Java » Enterprise Java » Zero to Cloud Ops on Container Development Kit (CDK) in Minutes

About Eric Schabell

Eric D. Schabell
Eric is Red Hat’s Portfolio Architect Director. He's renowned in the development community as a speaker, lecturer, author, and baseball expert. Follow on https://www.schabell.org.

Zero to Cloud Ops on Container Development Kit (CDK) in Minutes

While this was fun, it was not really feasible and quickly ran into limitations in use.Some time ago I walked through installing the Cloud management solution known as CloudForms in a container.

The real solution is pulling this example into the Red Hat Demo Central collection and put it on a Cloud solution based on open technologies.

This gives you the chance to go from your laptop, to Cloud installation and onwards to a Cloud Operations solution in just minutes.

Installing on the OpenShift Container Platform (OCP) was easy enough, it only took minutes, but now we’re going to how how to use the Container Development Kit (CDK).

Red Hat Dev Suite installer for CDK installation

Let’s take a look at how this works, shall we?

Cloud Operations on CDK

So now that you have this great management tool, what next to get it installed in just minutes?

The basis is to first get your own private Cloud installed on your laptop based on the CDK. This is easily done by using the Red Hat Development Suite installer by following the instructions. There is one requirement, that you sign up to the Red Hat Developers Program, but after that you have full access and in just a few minutes you will be logging into your own private Cloud.

Deploying dependencies and CloudForms on CDK.

The next step is to get the rhcs-cloudforms-demo in the Red Hat Demo Central and install CloudForms in a few more minutes.

Once all containers are deployed then CloudForms is ready to manage the Cloud operations.

Red Hat CloudForms Install Demo

Installation is easy as following the following steps. First installing the OpenShift Container Platform and then pushing a container version of CloudForms into the Cloud.

  1. First ensure you have an OpenShift container based installation, such as one of the following installed first:

Find the URL by searching for the Hostname deployed for CloudForms.

OCP Install Demo

  1. Download and unzip.
  2. Run ‘init.sh’:
# The installation needs to be pointed to a running version
   # of OpenShift, so pass an IP address such as:
   $ ./init.sh  # example for OCP.

Login to CloudForms management console.

Follow displayed instructions to log in to your brand new Red Hat CloudForms! Be sure to wait for a bit so that the containers can populate and deploy properly.

CloudForms uses a memcache and postgresql container image that must be available for data persistence.

You can find the service route (the URL to access CloudForms management console) by looking up the application routes in the provide menu in OpenShift.

CloudForms is the Cloud Suite operations and management layer of choice.

Comment and feedback welcome in the project.Hope you enjoy this container install with CloudForms and can experience the management features on your very own local machine.

Published on Java Code Geeks with permission by Eric Schabell, partner at our JCG program. See the original article here: Zero to Cloud Ops on Container Development Kit (CDK) in Minutes

Opinions expressed by Java Code Geeks contributors are their own.

(0 rating, 0 votes)
You need to be a registered member to rate this.
Start the discussion Views Tweet it!
Do you want to know how to develop your skillset to become a Java Rockstar?
Subscribe to our newsletter to start Rocking right now!
To get you started we give you our best selling eBooks for FREE!
1. JPA Mini Book
2. JVM Troubleshooting Guide
3. JUnit Tutorial for Unit Testing
4. Java Annotations Tutorial
5. Java Interview Questions
6. Spring Interview Questions
7. Android UI Design
and many more ....
I agree to the Terms and Privacy Policy
Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Inline Feedbacks
View all comments