Container to Cloud
Link to documentation
The documentation is hosted here https://raptho.github.io/container-to-cloud/
Course content
This course will enable you to:
- Build a small Python FastAPI backend.
- Test the app using an API Test Client
- Containerize your Python FastAPI backend
- Upload the container image to IBM Container Registry
- Deploy the container image to IBM Code Engine
- Rollout updates of your FastAPI backend
Chapters
- Fundamentals
- Install pre-requisites
- The Python app
- Test the app
- Containerization
- Deploy on IBM Cloud
- Upgrade the app’s version
Architecture
The diagram illustrates the complete workflow:
-
Local Development:
- Create a Python FastAPI application
- Define a Containerfile
- Build a container image using Podman/Docker
-
IBM Container Registry:
- Tag the local image with the IBM Container Registry URL
- Push the container image to IBM Container Registry
-
IBM Code Engine:
- Create secrets for registry access and API credentials
- Deploy the container from IBM Container Registry to IBM Code Engine
- The application runs with the configured environment variables