Depends entirely on what "Production" means. In a corporate environment it means something completely different from a homelab
If you're doing this for real, you'd have two identical environments.
If it's playing with Docker or Kubernetes, you don't need anything more than a VM with Linux and Docker.
If you want to get serious, you can also set up a sandbox on EC2.