Cost-Optimizing Public Cloud Infrastructure with Bare Metal