简体   繁体   English

一个Google云端平台项目中的Google Compute引擎上可以运行多少个WordPress实例。

[英]How many WordPress instances can i run on Google Compute engine in a single google cloud platform project.

i was wondering if anyone knows how many instances of a WordPress site i can potentially run on a n1-standard-4 vm instance on the google compute engine either using compute engine or the container engine with docker. 我想知道是否有人知道可以使用计算引擎或带有Docker的容器引擎在google计算引擎上的n1-standard-4虚拟机实例上运行多少个WordPress网站实例。 is there a way to run benchmarks to figure this out. 有没有办法运行基准来解决这个问题。

An easy way to get a rough estimate for Google Container Engine would be to run the WordPress tutorial with a minor modification: in the cluster create command, use --machine-type=n1-standard-4 . 粗略估算Google Container Engine的一种简单方法是运行WordPress教程,并进行少量修改:在cluster create命令中,使用--machine-type=n1-standard-4 Then after following the guide to spin up a replication controller-backed wordpress pod, scale it by running 然后,在按照指南启动了由复制控制器支持的wordpress pod之后,通过运行

kubectl scale rc wordpress --replicas=100

and see how many replicas get scheduled. 并查看计划安排多少个副本。 Keep in mind that this will just give you a rough estimate of how many instances you can run on an n1-standard-4 gated by cpu/memory. 请记住,这只会粗略估计您可以在由cpu /内存控制的n1-standard-4上运行多少个实例。 If you actually wanted to run multiple WordPress instances with persistent storage backing, you would follow this guide and repeat n times for as many as you want. 如果您确实想运行具有持久性存储支持的多个WordPress实例,则可以按照本指南进行操作,并重复n次,次数不限。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 Google Compute Engine 上运行 Docker? - How do I run Docker on Google Compute Engine? 通过Cloud Compute Engine实例部署后,如何为DOCKER运行启动脚本? - How do I run startup scripts for DOCKER when deployed via Cloud Compute Engine instances? 如何通过CI / CD部署到Google Compute Engine - How can I deploy to Google Compute Engine via CI/CD 如何在Google Cloud上Compute Engine VM上的容器优化操作系统中的docker中运行docker? - How to run docker in docker in Container-optimized OS on Compute Engine VM on Google Cloud? Eclipse Che Google Cloud Compute Engine - Eclipse Che Google Cloud Compute Engine 如何在 App Engine 谷歌云平台中安装 librabbitmq - How to install librabbitmq in App Engine Google Cloud Platform 如何将泊坞窗卷映射到谷歌计算引擎永久磁盘 - How can I map a docker volume to a google compute engine persistent disk Google PubSub和自动扩展计算引擎实例(Python) - Google PubSub and auto-scaling Compute Engine instances (Python) 如何在Google Compute Engine(GCE)内核上获取AUFS内核模块? - how can I get the AUFS kernel module on a Google Compute Engine (GCE) kernel? 如何在Google Cloud Platform上运行大型docker映像? - how to run a big docker image on the Google Cloud Platform?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM