After you have deployed PCF it's time to use it!
Run the following command from the gcp-pcf-quickstart
folder on your deployment machine.
util/env_info.sh opsman
The command will output the URL, username, password to access the Ops Manager web interface.
Run the following command from the gcp-pcf-quickstart
folder on your deployment machine:
util/env_info.sh cf
This will return an identity
and password
cf login --skip-ssl-validation -a https://api.sys.$(ENV_DIR=env/pcf util/terraform_output.sh dns_suffix)
Use the identity
from the previous step as the Email
and the
password
from the previous step. Select system
for space when prompted.
- Clone the sample app:
git clone https://github.com/cloudfoundry-samples/cf-sample-app-spring.git cd cf-sample-app-spring
- Deploy the app:
cf push
The last command will output the URL you can use to access the app.
Run the following command from the gcp-pcf-quickstart
folder on your deployment machine.
util/ssh.sh
This command will open an SSH session with the jumpbox deployed to your PCF network.