简体   繁体   English

是否应该使用谷歌云应用引擎或计算引擎或容器引擎进行大型Drupal网站迁移?

[英]Should one use google cloud app engine or compute engine or container engine for a large Drupal website migration?

I am aware that Google cloud has an IaaS offering which allows point click installation of drupal sites using Bitnami. 我知道Google云有一个IaaS产品,允许使用Bitnami点击安装drupal网站。 But I am wondering how this compares with using App Engine or container engine (instead of IaaS). 但我想知道这与使用App Engine或容器引擎(而不是IaaS)相比如何。

Per OP-- Large is defined as: "upto 1 million daily users visits to the website and growing" 每个OP--大的定义为:“每天有多达100万用户访问该网站并且正在增长”

App Engine, Kubernetes Engine (formerly Container Engine), and Compute Engine are tools that solve different problems. App Engine,Kubernetes Engine(以前称为Container Engine)和Compute Engine是解决不同问题的工具。

From what you have shared about your use case, you have the following requirements: 根据您对用例的分享,您有以下要求:

  1. Migrate a large (single) Drupal website 迁移大型(单个)Drupal网站
  2. Ensure that it scales beyond 1 million user visits per day 确保每天的用户访问量超过100万

All 3 products will support these requirements. 所有3种产品都将支持这些要求。

The important factors that you will need to consider when evaluating these products are: 评估这些产品时需要考虑的重要因素是:

  1. Cost 成本
  2. Maintenance Effort 维护努力

When evaluating the products against these two factors in the context of your requirements, you might reach a clearer winner. 在根据您的要求对这两个因素进行评估时,您可能会获得更清晰的赢家。

For the cost ratings below, it is a best guess using you high level requirements. 对于下面的成本评级,使用您的高级要求是最好的猜测。

Google App Engine - allows you to easily deploy, scale, and update your application. Google App Engine - 允许您轻松部署,扩展和更新应用程序。 It takes care of all of the "system administration" tasks for you. 它会为您完成所有“系统管理”任务。 Rolling out updates to deployed services is also done quite easily via the command line. 通过命令行可以非常轻松地完成对已部署服务的更新。

Cost is "medium" when compared to running a small single Compute Engine VM but App Engine only provisions what it believes you need to serve the traffic you are receiving, as Drupal requires a DB (can be managed by Google Cloud SQL), this will need to be provisioned separately and will add to the total cost. 与运行小型单一计算引擎VM相比, 成本是“中等”,但App Engine仅提供它认为您需要提供所需流量的服务,因为Drupal需要一个数据库(可以通过Google Cloud SQL管理),这将是需要单独配置,并将增加总成本。

Maintenance Effort is "low" because App Engine handles all of the operations tasks. 维护工作量 “低”,因为App Engine处理所有操作任务。

Google Kubernetes Engine - is a managed Kubernetes providing "Container Infrastructure as a Service". Google Kubernetes Engine - 是一个管理型Kubernetes,提供“Container Infrastructure as a Service”。 Great for when you have various sized services and you want to bin pack and utilize a cluster of machines for different services. 非常适合您拥有各种规模的服务,并且您想要打包并利用一组机器来提供不同的服务。 Given you are running a single sized application - a Drupal website, you won't really be taking advantage of this. 鉴于您正在运行单个大小的应用程序 - Drupal网站,您将无法真正利用这一点。 Scaling and administration is also a little bit more complicated as you will need to scale your Pod as well as the Kubernetes Engine cluster. 扩展和管理也有点复杂,因为您需要扩展Pod以及Kubernetes Engine集群。

Cost is "low" as Kubernetes Engine zonal masters are free and you are only charged for the compute resources of the nodes. 成本 “低”,因为Kubernetes Engine区域主人是免费的,您只需为节点的计算资源付费。

Maintenance Effort is "high" as you will have to configure scaling of your cluster and pods. 维护工作量 “很高”,因为您必须配置群集和容器的扩展。 Operate the Kubernetes Engine cluster and manage your application through the Kubernetes API. 操作Kubernetes Engine集群并通过Kubernetes API管理您的应用程序。 A lot more moving parts, when compared to App Engine. 与App Engine相比,运动部件更多。

Google Compute Engine - as mentioned, there are Cloud Launcher options to run Drupal . 谷歌计算引擎 - 如上所述,有运行Drupal的Cloud Launcher选项 However, once the instance is deployed, you will need to take care of updating. 但是,部署实例后,您需要注意更新。 Also, that particular Cloud Launcher version deploys to a single VM. 此外,该特定Cloud Launcher版本部署到单个VM。 You will probably want to setup Load Balancing, a Managed Instance Group, and Cloud SQL to ensure it is highly available and will scale. 您可能希望设置负载平衡,托管实例组和Cloud SQL,以确保它具有高可用性并可扩展。

Cost is "low" as you could run your Drupal application and DB on a single small VM, however it may not scale. 由于您可以在单个小型VM上运行Drupal应用程序和数据库,因此成本 “低”,但可能无法扩展。

Maintenance Effort is "high" as at a minimum, you will have to apply OS patches. 维护工作量至少为“高”,您必须应用操作系统补丁。 To have High Availability and scaling you will have to configure a managed instance group, load balancer, and a startup script/VM image. 要实现高可用性和扩展,您必须配置托管实例组,负载平衡器和启动脚本/ VM映像。

In conclusion , if you are an experienced System Administrator, you might prefer to deploy to Compute Engine and manage the system yourself for a potentially lower cost. 总之 ,如果您是一位经验丰富的系统管理员,您可能更愿意部署到Compute Engine并自行管理系统,以降低成本。

If you don't want any operational overhead, App Engine is the way to go. 如果您不需要任何操作开销,App Engine就是您的选择。

Kubernetes Engine is too sophisticated a tool for the problem you are solving. Kubernetes Engine是一个太复杂的工具,可以解决您正在解决的问题。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM