GCP Compute Engine

From GM-RKB
Jump to navigation Jump to search

A GCP Compute Engine is an Infrastructure as a Service that enables users to launch virtual machines (VMs) on demand.



References

2023

  • GBard
    • Deployment: Compute Engine requires you to create and manage virtual machines (VMs). Cloud Run is a serverless platform that allows you to deploy containers without having to worry about managing VMs.
    • Scaling: Compute Engine scales VMs up or down based on CPU usage. Cloud Run scales containers automatically based on incoming traffic.

Cost: Compute Engine is billed by the hour, even if your VMs are idle. Cloud Run is billed by the request, so you only pay when your containers are running.

    • Language support: Compute Engine supports a wide range of languages, including Python, Java, Go, and Node.js. Cloud Run supports a subset of these languages, but it is expanding its language support over time.
    • Features: Compute Engine offers a wider range of features than Cloud Run, such as custom startup scripts, custom machine types, and persistent disks. Cloud Run is a simpler platform that focuses on running containers.
    • In general, Compute Engine is a good choice for applications that require more control over the underlying infrastructure, such as long-running applications or applications that need to be highly customized. Cloud Run is a good choice for applications that are stateless and do not require a lot of configuration, such as microservices or event-driven applications.

2023

2017