Deploying Flask web app using OpenShift

Preview:

Citation preview

Deploying Flask web application Using

OpenShift

- Abhijeet Kasurde

About Me

● Free and Open Source enthusiast ● Works at Red Hat in Identity Management

project (FreeIPA)● Contributing various Open Source project like

FreeIPA, virt-manager, py-test, OpenShift etc.,● Email – abhijeetkasurde21@gmail.com● Twitter - @Pyro46

Agenda

● What is PAAS● What is OpenShift● Deploying application using Flask on OpenShift● Q and A

What is PaaS

https://en.wikipedia.org/wiki/Cloud_computing#/media/File:Cloud_computing.svg (CC BY-SA 3.0)

Application Layer

● Software as a service● Software provided via Web ● No local softwares required● End Users● Gmail, iCloud, YouTube, Facebook

Platform Layer

● Platform as a service● Providing application development platform and

operating systems via Web● No need of infrastructure● For developers

Infrastructure Layer

● Infrastructure as a service● On demand computing infrastructure● Outsourcing servers, storage, network and

computing powers

What is OpenShift?

What is OpenShift (contd.,)

● Start quickly, iterate quickly● Manages cloud and app stack for you● Code > Deploy > Run● https://www.openshift.com/● http://www.winterofcode.com/● https://www.openshift.org/● https://github.com/openshift

Supported Stuff

Deploy Flask App on OpenShift

● Pre-requisites – Free OpenShift Account

● https://www.openshift.com/app/account/new

– Installing OpenShift Client Tools● https://developers.openshift.com/en/managing-client-tool

s.html

● Basics of Web technologies like HTML, CSS and Python

Demo

Thanks

● Any questions

Recommended