Table of Contents for
Getting Started with OpenShift
Close
Version ebook
/
Retour
Getting Started with OpenShift
by Katie Miller
Published by O'Reilly Media, Inc., 2014
Cover
Getting Started With OpenShift
Getting Started With OpenShift
Preface
1. Introduction
2. Creating Applications
3. Making Code Modifications
4. Adding Application Components
5. Environment and Application Management
6. Library Dependencies
7. Networking
8. Disk Usage
9. Backup
10. Team Collaboration
11. Summary
A. Basic Linux for Non-Linux Users
Colophon
Copyright
Getting Started With OpenShift
Table of Contents
Preface
Who Should Read This Book
Why We Wrote This Book
Introducing the Insult Application
How This Book Is Organized
Online Resources
Conventions Used in This Book
Using Code Examples
Safari® Books Online
How to Contact Us
Acknowledgments
Steven
Katie
1. Introduction
What Is the Difference Between IaaS, PaaS, and SaaS?
The Three Versions of OpenShift
Choosing the Right Solution for You
Things to Understand
Words You Need to Understand
Technology You Need to Understand
SSH
Git
2. Creating Applications
Preliminary Steps
Setting Up the Command-Line Tools
Creating Your First Application
Autoscaling and Why You Should Use It by Default
Reasons to Move to the Paid Tier
3. Making Code Modifications
Cloning Code to Your Local Machine
Modifying Application Code
Building and Deploying Your Code
Action Hook Scripts
Hot-Deploying Code
4. Adding Application Components
Database-Related Cartridges
Nondatabase Cartridges
Cron
Continuous Integration
Metrics and Monitoring
Finding Cartridges and QuickStarts
Adding Third-Party Cartridges
5. Environment and Application Management
SSH Access
Using SSH to Interact with a Database
Importing SQL in an SSH Session
Environment Variables
Preconfigured Environment Variables
Custom Environment Variables
Overriding Preconfigured Environment Variables
Log Access
Changing Application Server or Database Settings
Application Server Configuration Changes
Database Configuration Changes
Using Marker Files
6. Library Dependencies
Where to Declare Dependencies
Incorporating Your Own Binary Dependencies
Modifying Your Application to Use the Database
Code to Connect to the Database
Code to Close the Database Connection
Code to Query the Terms for the Insult
What We Have Gained by Adding a Database
7. Networking
WebSockets
SSH Port Forwarding
Custom URLs
SSL Certificates
Talking to Other Services
Addressable Ports
8. Disk Usage
Where You Can Write “to Disk”
Determining How Much Disk Space Is Used
Copying Files to or from Your Local Machine
Other Storage Options
9. Backup
Managing Deployments and Rollbacks
Manual Deployments
Keeping and Utilizing Deployment History
Application Snapshots with RHC
Backing Up Your Database
Writing a Cron Script
Moving Data off the Gear
10. Team Collaboration
Managing Multiple SSH Keys
Domain Access for Teams
Possible Workflows
11. Summary
What We Covered
Other Areas to Explore
Final Words
A. Basic Linux for Non-Linux Users
Listing Directory Contents
Changing Permissions
Working with Files and Directories
Creating Files
Moving Files and Directories
Copying Files and Directories
Deleting Files
Creating Directories
Deleting Directories
Where To Learn More
Colophon
Copyright