<p>Is there any advantage if I use Cloud Run instead of deploying a normal service/container in GKE?</p>

<p>I will try to add my perspective.</p>

<p>This answer does not cover running containers in Google Cloud Run Kubernetes. The reason is that we wanted an almost zero cost solution for a legacy PHP website. Cloud Run fit perfectly and we had an easy time both porting the code and learning Cloud Run.</p>

<p>We needed to do something with a legacy PHP website. This website was running on Windows Server 2012, IIS and PHP 7.0x. The cost was over $100.00 per month - mostly for Windows licensing fees for a VM in the cloud. The site was not accessed very much but was needed for various business reasons.</p>

<p>A decision was made Thursday (4/18/2019) was that we needed to learn Google Cloud Run, so we decided to port this site to a container and try to run the container in Google Cloud. Nothing like a real world example to learn the details.</p>

<p>Friday, we ported the PHP code to Apache. Very easy process. We did not worry about SSL as we intend to use Cloud Run SSL.</p>

<p>Saturday we started to learn Cloud Run. Within an hour we had the Hello World PHP example running. <a href="https://cloud.google.com/run/docs/quickstarts/build-and-deploy" rel="noreferrer">Link</a>.</p>

<p>Within two hours we had the containerized website running in Cloud Run. Again, very simple.</p>

<p>Then we learned how to configure Cloud Run SSL with our DNS server.</p>

<p>End result:</p>

<ol>
<li>Almost zero cost for a PHP website running in Cloud Run.</li>
<li>Approximately 1.5 days of effort to port the legacy code and learn Cloud Run.</li>
<li>Savings of about $100.00 per month (no Windows IIS server).</li>
<li>We do not have to worry about SSL certificates from now on for this site.</li>
</ol>

<p>For small websites that are static, Cloud Run is a killer product. The learning curve is very small even if you do not know Google Cloud. You just need to configure gcloud for container builds and deployment. This means developers can be independant of needing to master GCP.</p>
