Trying AppFog

Its common task for me when I see hosting platform that use ftp, cpanel or winscp through ssh access.

A few hosting already seen too, thanks to all client specially those fiverr consumer. They give me access to godaddy, rackspace, hostgator, fatcow, 123 and a few with vps from linode and slicehost.

Today I have chance for trying appfog (platform as service provider). Totally different from what I used to see. No cpanel, no ftp and no file manager. I guess (I think I’m right) no ssh too.

I get free plan account and try to upload a  file (phpinfo file is my standard file). The process is different since they use ruby application that force me to install Ruby installer for windows.

Check gem version

c:\xampp3\htdocs>gem -v

2.0.0

Install af through gem

c:\xampp3\htdocs>gem install af
Fetching: json_pure-1.6.8.gem (100%)
Successfully installed json_pure-1.6.8
Fetching: rubyzip-0.9.9.gem (100%)
Successfully installed rubyzip-0.9.9
Fetching: mime-types-1.23.gem (100%)
Successfully installed mime-types-1.23
Fetching: rest-client-1.6.7.gem (100%)
Successfully installed rest-client-1.6.7
Fetching: terminal-table-1.4.5.gem (100%)
Successfully installed terminal-table-1.4.5
Fetching: interact-0.4.8.gem (100%)
Successfully installed interact-0.4.8
Fetching: addressable-2.2.8.gem (100%)
Successfully installed addressable-2.2.8
Fetching: uuidtools-2.1.4.gem (100%)
Successfully installed uuidtools-2.1.4
Fetching: rb-readline-0.4.2.gem (100%)
Successfully installed rb-readline-0.4.2
Fetching: af-0.3.18.12.gem (100%)
Successfully installed af-0.3.18.12
Parsing documentation for json_pure-1.6.8
Installing ri documentation for json_pure-1.6.8
Parsing documentation for rubyzip-0.9.9
Installing ri documentation for rubyzip-0.9.9
Parsing documentation for mime-types-1.23
Installing ri documentation for mime-types-1.23
Parsing documentation for rest-client-1.6.7
Installing ri documentation for rest-client-1.6.7
Parsing documentation for terminal-table-1.4.5
Installing ri documentation for terminal-table-1.4.5
Parsing documentation for interact-0.4.8
Installing ri documentation for interact-0.4.8
Parsing documentation for addressable-2.2.8
Installing ri documentation for addressable-2.2.8
Parsing documentation for uuidtools-2.1.4
Installing ri documentation for uuidtools-2.1.4
Parsing documentation for rb-readline-0.4.2
Installing ri documentation for rb-readline-0.4.2
Parsing documentation for af-0.3.18.12
Installing ri documentation for af-0.3.18.12
Done installing documentation for json_pure, rubyzip, mime-types, rest-client, terminal-table, interact, addressable, uuidtools, rb-readline, af (107 sec).
10 gems installed

Go to folder where I put the file(s)

c:\xampp3\htdocs>cd bejitastore

Login to appfog

c:\xampp3\htdocs\bejitastore>af login
[WARNING] DL is deprecated, please use Fiddle
Attempting login to [https://api.appfog.com]
Email: [email protected]
Password: ***********
Successfully logged into [https://api.appfog.com]

Upload all files to appfog

c:\xampp3\htdocs\bejitastore>af update bejitastore
[WARNING] DL is deprecated, please use Fiddle
Uploading Application:
Checking for available resources: OK
Packing application: OK
Uploading (0K): OK
Push Status: OK
Stopping Application ‘bejitastore’: OK

Staging Application ‘bejitastore’: OK

Starting Application ‘bejitastore’: OK

c:\xampp3\htdocs\bejitastore>

How about delete file?

Same as update.

How about modify a file?

Same as update.

I still play around with possibility to upload large files using .zip or .tar.gz format.

So far its very interesting for me.

Will post update when I see / learn new things.