Cloud FoundryGet your hands
dirty
BUH!Ivan Borshukov
Works @SAP, Cloud Foundry enthusiast
You can find me at @botu6aa
Deploying your first Application
Let’s start from the beginning
Talk to Cloud Foundry
✨ CF Command line interface (CLI)✨ One CLI to rule them all
$ cf api api.bosh-lite.com
$ cf login
Talk to Cloud Foundry (cont)
Organizational Hierarchy
✨ Organizations - e.g. teams or customers
✨ Spaces - environment - e.g. dev, test, prod
✨ Applications
Organizational Hierarchy
✨ Organization✨ Space✨ Application A✨ Application Z
Setting our target
✨ Select organization and space
$ cf target -o acme -s rocket
Setting our target
✨ Multiple runtimes supported✨ Bring your own runtime (buildpack)✨ From static content to source code to single
executable
Deploy an application
$ cd app-directory
$ cf push my-app
Deploying an application
✨ Vertical or horizontal✨ In order of seconds✨ Cloud Foundry will look after your app
Scaling an application
$ cf scale my-app -i 3
Give me more instances
Services
✨ Database, cache, BLOB store, mail, ...✨ Provided by anyone✨ Easy to use - CF marketplace✨ Service plans
$ cf marketplace
$ cf create-service mysql
$ cf bind-service
“Binding” a service
Thank you!Any questions?
You can find me at @botu6aa, [email protected]
Credits
Special thanks to all the people who made and released these awesome resources for free:
✨ Presentation template by SlidesCarnival✨ Photographs by Unsplash
Top Related