Some time ago the Orinoco project was cloud-hosted on Pagodabox. This time the host in the cloud is IBM Bluemix.

Step 1: Sign up for a 30 day trial at https://console.ng.bluemix.net/registration.

Step 2: After the registration procedure is completed create an app, here the app name is orinoco. The route will become  https://eu-de.mybluemix.net. The organisation name is assessmentee.com. As an Cloud Foundry app select .php. As space name dev was selected.

Step 3: “Download, modify, and redeploy your Cloud Foundry app with the command line interface” by installing Bluemix_CLI_0.5.4_amd64.exe

Step 4: Open Powershell:

  bx info
FAILED
No API endpoint set. Use 'bx api' to set an endpoint.

The api endpoint for germany is https://api.eu-de.bluemix.net

>bx api https://api.eu-de.bluemix.net
Setting api endpoint to https://api.eu-de.bluemix.net...
OK

API endpoint: https://api.eu-de.bluemix.net (API version: 2.54.0)
Not logged in. Use 'bx login' to log in.

Step 5. Log in to CLI

bx login
 API endpoint: https://api.eu-de.bluemix.net
 Email email@address.com

Password>
 Authenticating...
 OK

Select an account (or press enter to skip):
 1. assessmentee.com (d57c59a43a211d877d8faff92c8b7a2s)
 Enter a number 1
 Targeted account assessmentee.com (d57c59a43a211d877d8faff92c8b7a2s)

Targeted org assessmentee.com
 Targeted space dev
 =========== next command should be push
 API endpoint:   https://api.eu-de.bluemix.net (API version: 2.54.0)
 Region:         eu-de
 User:           email@address.com
 Account:        assessmentee.com (d57c59a43a211d877d8faff92c8b7a2s)
 Org:            assessmentee.com
 Space:          dev

Step 6: Create a local project. This can be any folder, in  the demonstration the folder contains a single file index.php with content phpinfo();

Step 7. Push this project to space dev:

>bx cf push orinoco
Invoking 'cf push orinoco'...

Updating app orinoco in org assessmentee.com / space dev as 

email@address.com...
OK

Uploading orinoco...
Uploading app files from: C:\xampp\htdocs\bluemix
Uploading 151B, 1 files
Done uploading
OK


Step 8: view the phpinfo in https://orinoco.eu-de.mybluemix.net/, at least for the next 30 days.

Pricing: Costs are set at 0.0526 eur / GB-Hour with one GB-Hour the memory usage in GB for the duration if that memory used. An additional database would cost around 20 euro per month.

Advertisements