Book Image

Implementing AppFog

Book Image

Implementing AppFog

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
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Gathering application information


There are a number of commands you can use to find information about your currently installed applications.

Command

Description

af logs [appname]

Displays log files for the application. See Chapter 4, Creating an Application from Scratch, for examples.

af files [appname] [path]

Lists the files for an application. Add a path to navigate through the remote file system. See Chapter 4, Creating an Application from Scratch, for examples.

af stats [appname]

Displays stats for an application like uptime, CPU utilization, memory use, and disk space used. See Chapter 4, Creating an Application from Scratch, for examples.

af crashes [appname]

Lists any crashes for a given application.

af crashlogs [appname]

Displays crash logs, for example stderr.log, for an application.

If you are experiencing problems with your application, these commands can be very helpful. For example, you can see information about recent crashes using the af crashes and af crashlogs...