How udacity/devops_microservices works
This repository is a course collection, not one integrated application: it provides serverless-function tutorials, container and CSV-operation demos, supporting AWS material, and a Kubernetes machine-learning project. The main user-to-result paths are requests handled by tutorial functions or APIs, CSV aggregation through a CLI or Flask endpoint, and housing predictions from the ML API. The graph preserves those distinct products rather than implying they call one another. Unsampled subsystems are included only where the README establishes their capability; links to deployment infrastructure are documented rather than inferred from implementation.
Main entry points: csvcli.py CSV CLI · web.py CSV Flask API · app.py Prediction API · utils.py Plugin Discovery
Components 20
Lambda Tutorials
- Make Change
Lesson-1-Lambda-functions/make-change-tutorial/make_change.py - Wikipedia Exercise
Lesson-1-Lambda-functions/wikipedia-query/wikipedia_lambda_exercise.py - Wikipedia Solution
Lesson-1-Lambda-functions/wikipedia-query/wikipedia_lambda_solution.py
Container Demos
- Demo Flask API
Lesson-2-Docker-format-containers/class-demos/demos/flask-sklearn-student-starter/app.py - Library CLI
Lesson-2-Docker-format-containers/myrepo/cli.py - Fake Data API
Lesson-2-Docker-format-containers/myrepo/web.py - Repository Library
Lesson-2-Docker-format-containers/myrepo/myrepolib/repomod.py
CSV Operations
- CSV CLI
Lesson-3-Containerization/csvcli.py - CSV Flask API
Lesson-3-Containerization/flask_app/web.py - Plugin Discovery
Lesson-3-Containerization/nlib/utils.py - CSV Aggregation
Lesson-3-Containerization/nlib/csvops.py - Aggregation Functions
Lesson-3-Containerization/nlib/appliable.py
Serverless Material
- SQS Examples
Supporting-material/example_src - Sentiment Examples
Supporting-material/example_src - State Machine
Supporting-material/example_src/state_machine.json
ML Microservice
- Prediction API
project-ml-microservice-kubernetes/app.py - Model Artifacts
project-ml-microservice-kubernetes/model_data
Other components
- User
- Docker
- Kubernetes
Connections 22
- User → Make Change: requests change
README.md - User → Wikipedia Exercise: queries page
README.md - User → Wikipedia Solution: queries page
README.md - User → Library CLI: runs command
Lesson-2-Docker-format-containers/myrepo/cli.py - Library CLI → Repository Library: calls print_name
Lesson-2-Docker-format-containers/myrepo/cli.py - User → Fake Data API: requests data
Lesson-2-Docker-format-containers/myrepo/web.py - Fake Data API → Repository Library: calls fake_data
Lesson-2-Docker-format-containers/myrepo/web.py - User → CSV CLI: runs command
Lesson-3-Containerization/csvcli.py - CSV CLI → Plugin Discovery: loads plugins
Lesson-3-Containerization/csvcli.py - CSV CLI → CSV Aggregation: calls aggregation
Lesson-3-Containerization/csvcli.py - Plugin Discovery → Aggregation Functions: discovers functions
Lesson-3-Containerization/nlib/utils.py - User → CSV Flask API: uploads CSV
Lesson-3-Containerization/flask_app/web.py - CSV Flask API → Plugin Discovery: loads plugins
Lesson-3-Containerization/flask_app/web.py - CSV Flask API → CSV Aggregation: calls aggregation
Lesson-3-Containerization/flask_app/web.py - CSV Aggregation → Aggregation Functions: applies function
Lesson-3-Containerization/nlib/csvops.py - User → Prediction API: requests prediction
project-ml-microservice-kubernetes/app.py - Prediction API → Model Artifacts: loads model
- Prediction API → Docker: containerized for
README.md - Docker → Kubernetes: deployed on
README.md - User → SQS Examples: uses examples
- User → Sentiment Examples: uses examples
- User → State Machine: uses example