Couldn't you just use something like Heroku then?
If you're using a PaaS that offers this, you (99.9% of the time) shouldn't look elsewhere. Just use their offering.
If you're not using an explicit PaaS, rebuilding this functionality yourself can end up being a never-ending rabbit hole.
Heroku review apps are analogous to our ephemeral environments, but we can deal with much more complicated environments, which reduces complexity in your CI/CD platform, production deployments or on-premise deployments if needed.