That is why DIY is usually more expensive than managed services. Engineering hours are expensive and best spent on your core competencies.
DIY only make sense at a very small scale or very large scale, everything in between is usually best offloaded to those which do it as their core competency.