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

Binding a service to an application

Now that we have a service, let's create an application that uses it. As a starting point, we'll use the application we created in Chapter 2, Using the Command-line Tool, which displays environment variables. Now, perform the following steps:

  1. Go to the control panel page for the previous application.

  2. Click on the Clone button on the left side. The Clone Your App display appears.

  3. Choose an infrastructure. This must be the same infrastructure you chose for the database service.

  4. Enter an application name under Enter a domain. For this example, I will use insideaf2 as the application name.

  5. Click on the Clone App button. The control panel for the old application is replaced by a status display for the cloning process. Once the new application is up and running, its control panel appears.

  6. Click on the Services button on the left side of the page. The services display appears. Notice that the Bound Service list is empty but that the Other Services list contains the...