Appendix C — 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 3: Data Architecture Move data into a DuckDB database.
Chapter 2: Project Architecture 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 4: Logging and Monitoring Add logging to the app from Chapter 2.
Chapter 5: Code Promotion Put a static Quarto site up on GitHub Pages using GitHub Actions that renders the project.
Chapter 6: Docker Put API from Chapter 2 into Docker container.
Chapter 7: Cloud Stand up an EC2 instance. Put model into S3.
Chapter 9: 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 11: Servers Resize servers.