A tutorial for deploying number-crunching Python applications to IBM Cloud.
This tutorial illustrates typical work-flows and tools in cloud computing, addressing key concepts and technologies. By the end of this tutorial you should be able to deploy a Python application to the cloud, both as a Cloud Foundry app and as a Kubernetes pod. You will also gain some familiarity with
- GitHub
- IBM Cloud
- Docker containers
- Visual Studio Code
- Continuous Delivery
- Kubernetes containers
- Microservice Starter Kits
- Cloud Foundry applications
- Internet access
- A computer running either MacOS, Windows or Linux
From 1h to 2h, depending on the familiarity of the reader with the concepts.
-
Read Installing developer tools and environments and follow the steps.
-
Read Configuring DevOps tools and follow the steps.
-
Read Playing with your Python application and follow the steps.
- Cloning the repository
- Testing the example implementation
- Customizing the example implementation
- Customizing the example implementation again
- In the end, your file should look like
app/custom-health.py
-
Read Developing a number-crunching application and follow the steps.
-
Read Containerising the Python application and follow the steps.
Congratulations, you have now deployed you own Python application to IBM Cloud using two deployment modes: Cloud Foundry apps and Kubernetes pods. You have also learned how to document your API using the Swagger specification. If you want to learn more ways to deploy your Python application in the cloud, take a look at the link below.