When comparing Microsoft Azure Functions vs Cloud Run, the Slant community recommends Microsoft Azure Functions for most people. In the question“What are the best serverless frameworks?” Microsoft Azure Functions is ranked 6th while Cloud Run is ranked 11th.
Ranked in these QuestionsQuestion Ranking
Pro No server maintenance
Pro Deploy from Visual Studio
You can deploy apps directly from Visual Studio.
Pro Supports various languages
The system supports arbitrary code and dependencies, since it is based in containers rather than a particular programming language. This makes it far more flexible than most of the other options which require a specific language.
The code doesn't need to make any Google-specific assumptions and can be easily deployed in other kinds of environments and frameworks.
Cloud Run includes Identity & Access Management (IAM) integration, so that it is possible to limit access to specific microservices rather than granting wide access.
Pro Cost effective
Google's pricing for Cloud Run involves only charging when the service is in use, with the ability for the service to scale-down-to-zero, making it economical to use Cloud Run with microservices and websites that receive relatively low or spiky traffic.
Con Chains you to a vendor
When developing anything, it's best to be vendor independent. Tightly coupling your design to a vendor is just asking for trouble.