[英]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.