Cloud Development and Deployment with CloudBees
Table of Contents
Cloud Development and Deployment with CloudBees
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
Who this book is for
Conventions
Reader feedback
Customer support
Errata
Piracy
Questions
1. What's a PaaS and Why CloudBees?
Infrastructure as a Service
Software as a Service
Platform as a Service
So, which platform?
Cloud and clustering
Private versus public Clouds
Security
CloudBees â embrace the development stack
Summary
2. Getting Started Quickly
Subscribing to services
Keys and authorizations
Accessing services
Setting up an application using ClickStart
Getting the code
Making changes and updating the application
PaaS versus self-managed infrastructure
Summary
3. Users, Domains, and Services
Users and roles
Services
Integrated partner services
Validated partner services
Summary
4. ClickStart in Depth
What's a ClickStart?
Getting the code
Building the project
Managing the deployed application
The ClickStart ecosytem
Writing your own ClickStart
Summary
5. Managing Your Build
Jenkins
Continuous Integration
Automation
Extensibility
Scalability
DEV@cloud
Customization
Plugins
On-demand slaves
Continuous delivery
Full chain automation â continuous deployment
Job chain
Promotion
Summary
6. Running Your Applications
Scalability
Horizontal scalability
Clustering constraints
State
The HttpSession servlet
Sticky session
The client-side state
The ephemeral filesystem
Customizing the domain
Mapping your domain name
SSL encryption
The private mode
Monitoring
ClickStack
Summary
7. Tools
CloudBees SDK
Installation
Basic usage
Runtime parameters
Customizing your application
Application parameters
Resource management and binding
Plugins
Blue-green deployment
IDE integration
Eclipse plugin
Installation
The CloudBees view
ClickStart integration
IntelliJ Idea support
GitHub integration
Full cloud-based toolbox
Summary
8. Using ClickStack to Extend the Platform
The RUN@cloud architecture
Metadata
The directory structure
Plugins
ClickStack by sample
A simple ClickStack plugin
Community and contributions
Advanced ClickStack
Sharing the code
Complex setup
Testing
The local GenApp installation
Automated tests
Summary
Index
Cloud Development and Deployment with CloudBees
Copyright © 2013 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: December 2013
Production Reference: 1171213
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78328-163-3
www.packtpub.com
Author
Nicolas De loof
Reviewers
Cyrille Le Clerc
Saeed Afzal
RĂ©mi Goyard
Michael Neale
Mark Prichard
Harpeet
Spike
Aaron
Acquisition Editor
Joanne Fitzpatrick
Commissioning Editors
Poonam Jain
Nikhil Chinnari
Sharvari Tawde
Copy Editors
Alisha Aranha
Roshni Banerjee
Sarang Chari
Dipti Kapadia
Gladson Monteiro
Karuna Narayanan
Lavina Pereira
Technical Editors
Veena Pagare
Shali Sasidharan
Project Coordinator
Michelle Quadros
Proofreader
Ameesha Green
Indexer
Mehreen Deshmukh
Graphics
Yuvraj Mannari
Production Coordinator
Aparna Bhagat
Cover Work
Aparna Bhagat
Nicolas De loof has been a Java Architect for 14 years in French IT Services companies. Being a techno-addict and an open source developer, he joined the Apache Maven team in 2007, focusing on the Google Web Toolkit plugin, and later the Jenkins community.
With many relations in the French Java community, he created BreizhJUG in 2008, which is a Java User Group in Rennes, France. Later, he founded the BreizhCamp, a two-day conference.
He joined CloudBees to contribute to an awesome project: running Java in the Cloud, from source code to production.
Cyrille Le Clerc is a senior software engineer at CloudBees with more than 12 years of experience in Java technologies. He came to CloudBees from Xebia, where he was CTO and Architect. He was an early adopter of the "You Build It, You Run It" model that he had put in place for a number of high volume websites. He naturally embraced the DevOps culture as well as Cloud computing which he implements for his customers. Cyrille is very active in the Java community, as the creator of the open source project embedded-jmxtrans, and as a speaker at various conferences.
Saeed Afzal, also known as Smac Afzal, is a young software engineer with more than six years of solid hands-on experience, specializing in solution architect and implementing scalable high performance applications.
He joined the IT field and started his career at a very early age. He is purely self-trained, and has moved forward with an entrepreneur spirit in different technologies in timely manners.
More detailed information about his skills and experience can be found at
http://sirsmac.com. He can be contacted at
<[email protected]>
.
RĂ©mi Goyard started his career in 1998. Initially, he worked as a network technician (MCSE), then as a network consultant, he started his own Web agency (programming...