Cloud Foundry Manifests and multi-instance deployments
In a previous post we saw the basic usage of " cf push " to bring your Python script to Pivotal Cloud Foundry and running it. The only parameter we used at the time was the application name. If for example we did: cf push pretty_app1 This meant that our app would be accessible with " http://pretty_app1.cfapps.io ". Not to be confused with the name of the actual Python script, ex: " app.py " When we run this we got an instance with a certain default characteristics, ie 1GB RAM and 1GB of disk. Given that Pivotal bills you based on the memory used by your apps, you might want to be more specific about that, specially in our "hello world" app which requires little resources. You can see the health of your app as follows. In my case we can see it only requires 17MB of RAM, so 1GB is a huge waste. Luckily the " cf " cli tool has lots of options. You can explore them by simply typing " cf --help " or to see the opt