Book Image

Implementing AppFog

By : Matthew Nohr, Isaac Rabinovitch
Book Image

Implementing AppFog

By: Matthew Nohr, Isaac Rabinovitch

Overview of this book

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.
Table of Contents (13 chapters)
Implementing AppFog
About the Authors
About the Reviewers

Using services

Use the command line to create and manage services such as remote databases.



af services

Lists available and configured services for your account.

af create-service [service]

Creates a new service. You will be prompted for the type (if not passed as parameter) and name of the service.

af delete-service [servicename]

Removes a service. If you do not provide a service name, you will be presented with a list of all of your services.

af bind-service [servicename] [appname]

Associates a service with an application.

af unbind-service [servicename] [appname]

Removes the association of a service with an application.

af clone-services [sourceapp] [destingationapp]

Clones all the services from one app to another one.

af tunnel

Creates a tunnel to a remote service. For example, this is useful to query your remote databases. Using this command requires the caldecott gem.

Often it will be easier to create services from the AppFog web console. However...