Implementing AppFog - Matthew Nohr - E-Book

Implementing AppFog E-Book

Matthew Nohr

0,0
23,99 €

-100%
Sammeln Sie Punkte in unserem Gutscheinprogramm und kaufen Sie E-Books und Hörbücher mit bis zu 100% Rabatt.

Mehr erfahren.
Beschreibung

AppFog is the leading platform-as-a-service provider of PHP, Ruby, Node.js, and Java solutions. It is used by developers worldwide to deploy tens of thousands of applications. AppFog delivers a reliable, scalable, and fast platform for deploying applications in the cloud.This book is a hands-on guide that will walk you through creating and deploying applications to the cloud using AppFog, which will allow you to get your application deployed without the hassle of setting up servers.This book demonstrates how to use the AppFog service to build an application and have it running in the Cloud. It will walk you through the initial AppFog setup process and explain how to create your first application in minutes.You will also discover how to use services such as databases to make your applications more powerful. You will also learn how to create applications from scratch.You will find out everything you need to know to get an application running in the cloud for the first time.

Das E-Book können Sie in Legimi-Apps oder einer beliebigen App lesen, die das folgende Format unterstützen:

EPUB
MOBI

Seitenzahl: 64

Veröffentlichungsjahr: 2013

Bewertungen
0,0
0
0
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.



Table of Contents

Implementing AppFog
Credits
About the Authors
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
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Getting Started with AppFog
About AppFog
Creating an account
Creating and deploying a preconfigured application
Using the application control panel
Summary
2. Using the Command-line Tool
Installing the AppFog Gem
Logging in
Getting application statuses
Downloading the application
Fixing the application for Ruby 1.8.7
Running the application
Modifying the application
Updating the running application
Summary
3. Configuring Services
Creating a database console application
Configuring the database console
Creating and attaching a MySQL service
Creating and populating a database table
Binding a service to an application
Using the database in the application
Making changes to app.rb
Changes to views/index.erb
Changing Gemfile
Summary
4. Creating an Application from Scratch
Creating an application
Testing the application
Publishing to AppFog
Command-line options
Testing the published application
Managing the published application
Summary
5. Command-line Reference
Finding help
Getting account information
Creating and updating an application
Gathering application information
Managing your application
Using services
Creating aliases
Summary
A. Installing the AppFog Gem
Installing on Macintosh
Installing on CentOS
Installing on Ubuntu
Installing on Windows
Using the Ruby Version Manager
Index

Implementing AppFog

Implementing AppFog

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 authors, 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: November 2012

Production Reference: 1121113

Published by Packt Publishing Ltd.

Livery Place

35 Livery Street

Birmingham B3 2PB, UK.

ISBN 978-1-84969-818-4

www.packtpub.com

Cover Image by Prashant Timappa Shetty (<[email protected]>)

Credits

Authors

Matthew Nohr

Isaac Rabinovitch

Reviewers

Ngo The Hung

Abhilash Nanda

Tom O'Connor

Acquisition Editor

Nikhil Karkal

Commissioning Editor

Manasi Pandire

Technical Editors

Dipika Gaonkar

Gauri Dasgupta

Project Coordinator

Joel Goveya

Proofreader

Amy Johnson

Indexer

Mariammal Chettiyar

Production Coordinator

Shantanu Zagade

Cover Work

Shantanu Zagade

About the Authors

Matthew Nohr is a software developer with over ten years of experience in creating large scale applications. He has worked on a range of projects from enterprise Java desktop applications to commercial Java server-based products to cloud-based Groovy/Grails services. Matthew is a certified Scrum Master and has a Masters degree in Software Engineering.

I'd like to thank my wife Katie for supporting me though yet another one of my diversions.

Isaac Rabinovitch is a freelance technical writer in Portland, Oregon. He's worked with computers since the days they filled whole rooms and had hundreds of blinking lights. He's written documentation for programmers, system administrators, data center personnel, and ordinary people. His former employees include Sun, SGI, Borland, and Zilog. He's the co-author of the Java Tutorial, 4th edition. Read more about him at picknit.com.

I want to thank many folks at Portland hackathons, meetups, and other venues for their help and support. Their spirit is something that makes PDX is a great place to work on technology.

About the Reviewers

Ngo The Hung is a passionate software developer who loves open source technologies and frameworks. He is not afraid to get his hands dirty and his feet wet, he is open to most technologies as long as they are useful and fun. He also has experience in mobile development and web technologies, he has worked with multiple mobile platforms (Android/iPhone/Windows 8), open source portals, frameworks, and content management systems. In his free time, he reads manga and watches movies.

If you love to work with him or just have a talk, visit him at http://ngo-hung.com or drop him a note at <[email protected]>.

Abhilash Nanda has completed a Masters in CSE from IIT Hyderabad. He has two years experience in commercial development and a total of five years in programming. Currently he works as a software developer at TopTalent.in. He loves to learn new technologies and programming patterns that reduce human effort.

An enthusiastic programmer, writer, and thinker. When strolling alone, he thinks about the world or else about some architecture to be implemented. He loves to play cricket and has a heartfelt connection to novels and poetry.

I would like to thank every single person who has come into and out of my life, for the way they have shaped me into who I am.

Tom O'Connor is an experienced systems architect and DevOps engineer, living in the West Midlands in the United Kingdom. Over the last eight years, he has worked in a wide variety of companies, from e-commerce, to video effects, and now owns his own company providing systems consultancy for wireless network design and installations.

Tom writes a technical blog on his website, providing both tutorial articles, and updates on what he's been working on. He has wide reaching skills and experience gathered over the last ten years, having worked on Windows, Linux, and Unix systems for most of that time, coupled with recent experience in designing and building high-performance computer systems.

He is also an active member of the UK DevOps community, as well as a Community Moderator on ServerFault.com, where he demonstrates his expertise and skills to a wide audience.

Tom also worked on reviewing Learning AWS OpsWorks, which was published in September 2013.

www.PacktPub.com

Support files, eBooks, discount offers and more

You might want to visit www.PacktPub.com for support files and downloads related to your book.

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at <[email protected]> for more details.

At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.

http://PacktLib.PacktPub.com

Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books.

Why Subscribe?

Fully searchable across every book published by PacktCopy and paste, print and bookmark contentOn demand and accessible via web browser

Free Access for Packt account holders

If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access.

Preface

AppFog is a cloud-based solution that allows users to quickly build and deploy applications without having to handle server configuration and setup. This book is intended to help you to quickly get started using AppFog and learn to create and deploy applications to the AppFog cloud.

What this book covers

Chapter 1, Getting Started With AppFog