Pivotal CF (Cloud Foundry) Tutorial Part 3

Ok, so our app has become popular and too many users are accessing it. We need to scale. If only we had a….wait…a PaaS. Ok so here is what to do.

First we could do this via the GUI, but we are going to use the command line just for fun.

Use this command to see how we could scale our app :

> cf scale

Let’s scale the number of instances supporting our app:

> cf scale <your_app> -i 5

If you have forgotten what your app is called type in > cf apps

Try scaling down

> cf scale <your_app> -i 1

View the GUI to see what is going on. Try the same thing for memory.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s