Why can't MongoDB can't compete with AWS? Aside from cloud vendor lock-in, and economies of scale that AWS has.
That’s kind of the point. If you want a managed service, Mongo can’t compete at the scale of AWS.
And by definition, if AWS is offering the same API, there is no “cloud vendor lock in”.