Specifying A Buildpack When Deploying Your App

1 hour
  • 2 Learning Objectives

About this Hands-on Lab

In this Live Environment you will be taking on the role of a design student. After completing your webdev project you need to demo it to your instructor. So you decided to deploy it to Cloud Foundry. This Live Environment will teach you how to deploy an app to Cloud Foundry by specifying a buildpack.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Push the static-html app to Cloud Foundry
Deprovision the App

Additional Resources

Register for a Pivotal Cloud Foundry account. http://run.pivotal.io/

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

Cleanup any lingering resources.

You will a directory called static-html in /root.

You will be deploying a web site using the static buildpack. The name of your app will be static-site and you will need to use a random route. Make sure that app has 64m for memory and disk quota Also you will need to specify the staticfile_buildpack when you push the app.

Verify the app deployed by pulling up user-gui a brower.

Once the app is verified deprovision tha app.

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.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout
Sign In
Welcome Back!

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