Dynamic how? Like pages that load content from a database? Typically anything “dynamic” is on the backend, all your static shit (images, videos, sounds, fonts, etc.) are in the front end and on a CDN, which will make calls to your backend, which would be on a VM or in a k8s cluster, which in turn may make database calls.
https://wasmer.io/products/edge