Cloud foundry demo

17
Cloud Foundry Get your hands dirty

Transcript of Cloud foundry demo

Page 1: Cloud foundry demo

Cloud FoundryGet your hands

dirty

Page 2: Cloud foundry demo

BUH!Ivan Borshukov

Works @SAP, Cloud Foundry enthusiast

You can find me at @botu6aa

Page 3: Cloud foundry demo

Deploying your first Application

Let’s start from the beginning

Page 4: Cloud foundry demo

Talk to Cloud Foundry

✨ CF Command line interface (CLI)✨ One CLI to rule them all

Page 5: Cloud foundry demo

$ cf api api.bosh-lite.com

$ cf login

Talk to Cloud Foundry (cont)

Page 6: Cloud foundry demo

Organizational Hierarchy

✨ Organizations - e.g. teams or customers

✨ Spaces - environment - e.g. dev, test, prod

✨ Applications

Page 7: Cloud foundry demo

Organizational Hierarchy

✨ Organization✨ Space✨ Application A✨ Application Z

Page 8: Cloud foundry demo

Setting our target

✨ Select organization and space

Page 9: Cloud foundry demo

$ cf target -o acme -s rocket

Setting our target

Page 10: Cloud foundry demo

✨ Multiple runtimes supported✨ Bring your own runtime (buildpack)✨ From static content to source code to single

executable

Deploy an application

Page 11: Cloud foundry demo

$ cd app-directory

$ cf push my-app

Deploying an application

Page 12: Cloud foundry demo

✨ Vertical or horizontal✨ In order of seconds✨ Cloud Foundry will look after your app

Scaling an application

Page 13: Cloud foundry demo

$ cf scale my-app -i 3

Give me more instances

Page 14: Cloud foundry demo

Services

✨ Database, cache, BLOB store, mail, ...✨ Provided by anyone✨ Easy to use - CF marketplace✨ Service plans

Page 15: Cloud foundry demo

$ cf marketplace

$ cf create-service mysql

$ cf bind-service

“Binding” a service

Page 16: Cloud foundry demo

Thank you!Any questions?

You can find me at @botu6aa, [email protected]

Page 17: Cloud foundry demo

Credits

Special thanks to all the people who made and released these awesome resources for free:

✨ Presentation template by SlidesCarnival✨ Photographs by Unsplash