Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
OPENSHIFT COOKBOOK

You're reading from   OPENSHIFT COOKBOOK Over 100 hands-on recipes that will help you create, deploy, manage, and scale OpenShift applications

Arrow left icon
Product type Paperback
Published in Oct 2014
Publisher Packt
ISBN-13 9781783981205
Length 430 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Shekhar Gulati Shekhar Gulati
Author Profile Icon Shekhar Gulati
Shekhar Gulati
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Getting Started with OpenShift FREE CHAPTER 2. Managing Domains 3. Creating and Managing Applications 4. Using MySQL with OpenShift Applications 5. Using PostgreSQL with OpenShift Applications 6. Using MongoDB and Third-party Database Cartridges with OpenShift Applications 7. OpenShift for Java Developers 8. OpenShift for Python Developers 9. OpenShift for Node.js Developers 10. Continuous Integration for OpenShift Applications 11. Logging and Scaling Your OpenShift Applications A. Running OpenShift on a Virtual Machine
Index

What this book covers

Chapter 1, Getting Started with OpenShift, begins with an introduction to OpenShift and creating an OpenShift Online account. You will create your first OpenShift application using the web console and understand common OpenShift terminology, such as gears and cartridges. The web console is often the primary interface to OpenShift that developers use. It also discusses how to install the rhc OpenShift command-line tool and how to perform basic operations with it.

Chapter 2, Managing Domains, discusses the concept of domains and namespaces. You will learn how to perform operations, such as creating, renaming, viewing, and deleting on a domain. In addition, the chapter also covers the concept of membership, which enables team collaboration.

Chapter 3, Creating and Managing Applications, covers how to create applications using the rhc OpenShift command-line tool. The rhc command-line client is the most powerful way to interact with OpenShift. You will learn how to perform various application management operations, such as starting, stopping, cleaning, and deleting the application using rhc. It also discusses advanced OpenShift features, such as deployment tracking, rollback, configuring the binary file, and source code deployment. In addition, you will also learn how to use your own domain name for OpenShift applications.

Chapter 4, Using MySQL with OpenShift Applications, teaches readers how to use a MySQL database with their applications. It will also cover how to update the default MySQL configuration to meet the application needs.

Chapter 5, Using PostgreSQL with OpenShift Applications, presents a number of recipes that show you how to get started with the OpenShift PostgreSQL database cartridge. You will learn how to add and manage the PostgreSQL cartridge, take backups of a PostgreSQL database, list and install the PostgreSQL extensions, and use the EnterpriseDB PostgreSQL Cloud Database service with OpenShift applications.

Chapter 6, Using MongoDB and Third-party Database Cartridges with OpenShift Applications, presents a number of recipes that show you how to get started with the OpenShift MongoDB cartridge. You will also learn how to use downloadable cartridges for MariaDB and Remote Dictionary Server (Redis).

Chapter 7, OpenShift for Java Developers, covers how Java developers can effectively use OpenShift to develop and deploy Java applications. You will learn how to deploy Java EE 6 and Spring applications on OpenShift. OpenShift has first-class integration with various IDEs, so you will learn how to use Eclipse to develop and debug OpenShift applications.

Chapter 8, OpenShift for Python Developers, covers how Python developers can effectively use OpenShift to develop and deploy Python applications. This chapter will teach you how to develop Flask framework web applications on OpenShift. You will also learn how to manage application dependencies, access your application virtualenv, and use standalone WSGI servers, such as Gunicorn or Gevent.

Chapter 9, OpenShift for Node.js Developers, covers how to build Node.js applications with OpenShift. You will learn how to use the Express framework to build web applications. This chapter will also cover how to manage application dependencies using npm, working with web sockets, and using CoffeeScript with OpenShift Node.js applications.

Chapter 10, Continuous Integration for OpenShift Applications, teaches readers how to use continuous integration with their OpenShift applications. You will learn how to add the Jenkins cartridge to your application and customize a Jenkins job to meet your requirements. Also, this chapter covers how to install the Jenkins plugins, build projects hosted on GitHub, and define a custom Jenkins workflow for OpenShift applications.

Chapter 11, Logging and Scaling Your OpenShift Applications, consists of recipes that will help you work with application logs. You will learn how to create autoscalable applications. You will learn how to disable autoscaling and manually scale OpenShift applications using the rhc command-line tool.

Appendix, Running OpenShift on a Virtual Machine, explains how to run an instance of OpenShift in a virtualized environment.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image