Appendix B — Lab Map
This section aims to clarify the relationship between the assets you’ll make in each portfolio exercise and labs in this book.
Chapter | Lab Activity |
---|---|
Chapter 1: Environments as Code | Create a Quarto side that uses {renv} and {venv} to create standalone R and Python virtual environments, create a page on the website for each. |
Chapter 2: Code Promotion | Put a static Quarto site up on GitHub Pages using GitHub Actions that renders the R and Python pages. |
Chapter 3: Data Architecture | Move data into a DuckDB database. |
Chapter 4: APIs | Create an API that serves a Python machine-learning model using {vetiver} and {fastAPI} . Call that API from a Shiny App in both R and Python. |
Chapter 5: Logging and Monitoring | Add logging to the app from Chapter 4. |
Chapter 9: Docker | Put API from Chapter 4 into Docker container. |
Chapter 10: Cloud | Stand up an EC2 instance. Put model into S3. |
Chapter 11: Linux Admin | Add R, Python, RStudio Server, JupyterHub, palmer penguin fastAPI + App. |
Chapter 12: Networking | Add proxy (nginx) to reach all services from the web. |
Chapter 13: DNS | Add a real URL to the EC2 instance. Put the Shiny app into an iFrame on the site. |
Chapter 14: SSL | Add SSL/HTTPS to the EC2 instance. |
Chapter 15: Servers | Resize servers. |