# PLATFORM AS A SERVICE - CLOUD FOUNDRY
### Kevin Bütikofer, Charles-Lewis Jaggi
## Connexion à cloud foundary




On utilise le script supply
d'après la documentation de la commande push ${random-route} permet de rendre la route(url d'accès) unique.
Url : https://cf-demo-courteous-mouse.cfapps.io/

Url : https://cf-demo-12.cfapps.io/
On voit qu'on a reussi à mettre le nom du groupe dans l'url
### Scale app on three instances
```
cf scale cf-demo -i 3 -m 600M
```
### Instance infos

plugin repo :

### Statistics

What other statistics (beside your applications) do you get?
* Container List with the ressource they use
* Events
* Response time
* Crash Info
## Task 3
### Where is the data stored?
```
\spring-music\src\main\resources
```
### Does it persist between application restarts?
No, the file is reloaded on startup
### What services are available in the marketplace?
* Application Tier Networking & Gateway
* CF Tooling
* Data Management
* DevOps Tooling
* Identity & Security
* Messaging & Integration
* Microservices Management
* Monitoring, Metrics & Logging
### Create database instance
```
cf create-service elephantsql turtle cf-spring-music-db
```
### Bind the database
```
cf bind-service spring-music cf-spring-music-db
```
### Route
* Create
```
cf create-route development cfapps.io --hostname spring-music-12
```
* Route
```
cf map-route spring-music cfapps.io --hostname spring-music-12
```

## Spring Music App
