Skip to content
This repository has been archived by the owner on Jul 6, 2022. It is now read-only.

Latest commit

 

History

History
97 lines (69 loc) · 4.61 KB

File metadata and controls

97 lines (69 loc) · 4.61 KB

Setting up the environment

Estimated time

🕓 10 minutes

Objective

In this exercise you'll learn how you can create free trial account on the SAP Cloud Platform, start your Cloud Foundry Environment trial, setup local development environment and explore a bit the SAP Cloud Platform cockpit which is the web based administration tool for SAP Cloud Platform.

Exercise description

Start your Cloud Foundry Trial

💡 Note: In case you don't have a trial account on the SAP Cloud Platform yet, follow this step-by-step-tutorial to get one.

  1. Then in SAP Cloud Platform cockpit navigate to your user home. You should see a button Start Cloud Foundry Trial.


    Start Cloud Foundry Trial

  2. Click on the Start Cloud Foundry Trial button – a pop-up will appear. Enter your Verification Code, you've received on your mobile phone. This will trigger a logout, so you need to re-logon.
  3. Click again on the Start Cloud Foundry Trial button – another pop-up will appear. Select a region from the dropdown for your trial and click OK
  • If you attend TechEd Las Vegas or TechEd Bangalore select US East (VA) region.
  • If you attend TechEd Barcelona, select Europe (Frankfurt) region.

    Select Trial Region

  1. Wait for the procedure to finish. You will get a Global Account, Subaccount, Organization and Space in the region you selected. Once these are created you can navigate to your new Space (click on Go to Space button)

    Select Trial Region

Cockpit

This is a simplified picture of the domain model you have in the Cloud Foundry Environment. If you want to learn more about the different entities, check the documentation.



Domain Model Overview

This is what you see now in Cockpit:

Cockpit Domain Model Overview

Clean-up

💡 Note: There is a limited quota in the Cloud Foundry Environment trial account.

In case you already used the trial account quota, you have to clean-up applications and service instances prior continuing with the exercises. You can do so via cockpit:

  • navigate to the list of Applications running in your Space and delete all or stop all running applications;
  • go to the Service Instances and delete all.

[Optional] Local development environment

💡 Note: If you use the TechEd provided laptops then your local development environment tools listed below are already installed. In this case no need to install anything additional. If you are using your own laptop, then make sure you install and setup the tools listed below in case you don't have them.

Cloud Foundry Command Line Interface (CF CLI)

Install or update the Cloud Foundry Command Line Interface (CF CLI)

Install

Download the CF CLI and follow the installation instructions: CF CLI

  • Windows: download the Windows 64bit installer. The file is downloaded into the folder C:\Users\student\Downloads. Extract the archive and run the executable.
  • Mac: download the OS X installer. Note: as an alternative - you can use the Homebrew open source package management software to download the CLI.
  • Linux: download the Linux installer for your Debian/Ubuntu or Red Hat system

Update

Download the CF CLI binary and replace the old one with the one you have just downloaded. For Windows, move cf.exe to D:\3rdParty\CloudFoundry\.

Eclipse

  • You should have the STS (Spring Tool Suite) plugin installed

Java

Check which Java version is available using java -version. The default should be java version "1.8.0_131"

Maven

Check if maven is correctly configured by running mvn --version

Git

Check if git is installed by running git --version


© 2019 SAP SE

Previous Exercise Next Exercise