Scaling An App Vertically in Cloud Foundry

45 minutes
  • 2 Learning Objectives

About this Hands-on Lab

In this Live Environment you are a developer that maintains a website that tracks record albums. After making some recent changes to your application, you discover that the minimal about of resources has changed. You will need to scale up the amount of memory and disk quota for your application that is hosted in Cloud Foundry.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Scale up the resources of your app
Scale down the resources of your app

Additional Resources

Register for a Pivotal Cloud Foundry account.

Use the cf-cli to login into your Pivotal Cloud Foundry account.

Cleanup any lingering resources.

You will have an app called spring-music in /root.

Execute a cf push to bootstrap your environment with the manifest file.

Verify the app deployed by pulling up spring-music in a browser.

Now scale the memory up to 2 Gigs and disk quota to 1 Gig for your application.

Then scale down the memory up to 1 Gig and disk quota to 512 Megs for your application.

Once the app is verified deprovision spring-music.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?