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

Getting account information


These commands give you information about your account, and are independent of any one application.

Command

Description

af login [email] [--email EMAIL, --passwd PASSWORD]

Login to your AppFog account. You can pass your e-mail, which will prompt you for a password, or you can pass both your e-mail and password. If you do not supply either your e-mail or your password you will be prompted for them. See further for examples.

af logout

Log out of your account.

af info

Provides details about your account such as how much used and available memory, services, and apps you have.

af apps

List your current apps. See previous chapters for examples.

af user

Display your currently logged in e-mail address/user name.

af passwd

Change your password. Note that this is different from user as it actually changes your password and does not just display your password.

af targets

Display a list of possible API targets and your authorization token.

af target [url...