Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Implementing AppFog

You're reading from   Implementing AppFog Getting to grips with the AppFog service is easily achieved with this hands-on guide, which walks you through creating and deploying applications to the cloud. You'll be developing your first application in minutes.

Arrow left icon
Product type Paperback
Published in Nov 2013
Publisher Packt
ISBN-13 9781849698184
Length 86 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image