Deploying containers on Compute engine s VM instance or using GKE to deploy

0 votes
Why should I choose to deploy containers on compute engine's VM instance or use the Google Kubernetes Engine(GKE) for the same?
Sep 26, 2019 in GCP by anonymous
• 19,610 points
1,800 views

1 answer to this question.

0 votes

By deploying containers on Compute Engine, you can simplify app deployment while controlling your VM infrastructure.

  • Manage VMs that are running containers in the same way you would treat any other VM when configuring and managing your Compute Engine infrastructure.

  • Create scalable services using managed instance groups (MIGs) running containers, which offer features like autoscaling, auto healing, rolling updates, multi-zone deployments, and load balancing.

  • Use familiar processes and tools such as the gcloud command-line tool or the Compute Engine API to manage your VMs with containers.

Alternatively, you might consider deploying to Google Kubernetes Engine to:

  • Run a large number of microservices

  • Have faster container startup time

  • Take advantage of Kubernetes automated orchestration, including auto upgrades, node auto repair, and autoscaling

Running each microservice on a separate virtual machine (VM) on Compute Engine could make the operating system overhead a significant part of your cost. 

Google Kubernetes Engine lets you deploy multiple containers and groups of containers for each VM instance, which can allocate host VM resources more efficiently to microservices with a smaller footprint.

answered Sep 26, 2019 by Sirajul
• 59,230 points

Related Questions In GCP

0 votes
1 answer

Create a Windows VM instance using Google Compute Engine (GCE).

To create a Windows virtual machine instance ...READ MORE

answered Sep 20, 2019 in GCP by Sirajul
• 59,230 points
4,710 views
0 votes
1 answer

Monitor the resource usage in GKE cluster.

Yes, GKE usage metering tracks information about ...READ MORE

answered Oct 17, 2019 in GCP by Sirajul
• 59,230 points
1,758 views
0 votes
1 answer

How to enable the GKE usage metering?

To enable GKE usage metering, you first create ...READ MORE

answered Oct 17, 2019 in GCP by Sirajul
• 59,230 points
1,739 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP