谷歌应用程序引擎或亚马逊网络服务 [英] Google app engine or amazon web services

查看:124
本文介绍了谷歌应用程序引擎或亚马逊网络服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一个新手,对我们的云托管。我想知道这是更好的,开始时,无论是谷歌应用程序引擎或亚马逊的Web服务。

I am a newbie to us cloud hosting. I want to know which is better to start with, either Google app engine or Amazon web service.

我的问题是:

  1. 在我的应用程序是基于Java,数据库是MySQL的。他们是否支持呢?
  2. 什么是从他们两人的免费提供的,哪一个是更好地开始?
  3. 如何容易会是从一个平台迁移到另一个?
  4. 入门与这些服务,因为我是一个新手,在这里任何一个优秀的链接。

此外,我AP preciate一些很好的链接开始使用这些服务,因为我是一个新手在这里,和它是如何工作的高级视图。

Additionally, I'd appreciate some good links for getting started with these services as I am a novice here, and a high level view on how this works.

推荐答案

有AWS和谷歌应用程序引擎之间的关键区别:AWS是基础设施即服务(IaaS),而GAE是平台即服务(PaaS)。这意味着,与AWS你仍然需要管理自己的服务器(EC2实例,数据库实例,负载均衡器等)=>需要进行一些系统管理员的工作。随着GAE你只需要code你的应用程序并将其部署到谷歌的云计算,而无需关心什么服务器或运行多少台服务器。谷歌做了所有的系统管理员为你工作。

There is a key difference between AWS and Google App Engine: AWS is infrastructure as a service (IaaS) whereas GAE is platform as a service (PaaS). What this means is that with AWS you still need to administer your own servers (ec2 instances, db instances, load balancers and so on) => some sysadmin work required. With GAE you just need to code your app and deploy it to the google cloud without caring on what servers or on how many servers it runs. Google does all the sysadmin work for you.

它们都使用付费的使用模式。

Both use a pay-for-use model.

解答每一个问题:

  1. 支持AWS。对于GAE您需要使用自己的数据存储(这就是所谓的大表)。您可以使用JPA访问大表的数据,但也有很多限制(比如你不能做表连接为例)。 GAE具有,但它似乎是在测试关系数据库支持。
  2. 在他们都有一些免费的计划: AWS ,的 GAE
  3. 困难。就像我说的第1点,GAE采用了专有的NoSql的数据存储。如果你想切换到一个关系模型,您将需要重新设计你的模型。
  4. 在阅读他们的教程: AWS ,的GAE
  1. Supported by AWS. For GAE you need to use their own data storage (it's called big table). You can use JPA for accessing big table data, but there are a lot of restrictions (like you can't do table joins for example). GAE has support for relational databases but it seems to be in beta.
  2. They both have some free plan: AWS, GAE
  3. Difficult. As I said at point 1, gae uses a proprietary NoSql data storage. If you want to switch to a relational model you will need to redesign your models.
  4. Read their tutorials: AWS, GAE.

注意:AWS还通过弹性魔豆 PaaS的支持,但仍处于测试阶段

Note: AWS also has support for PaaS through elastic beanstalk , but that's still in BETA

更新:答案不再是最新的。由于谷歌的Cloud SQL不再处于测试阶段,这意味着,无论AWS和GAE支持Java应用程序写入到使用MySQL数据库和迁移不再那么困难。总的想法是,无论是云服务供应商往往会得到的地方,他们提供的一切的一个观点:谷歌推出计算引擎而亚马逊正在魔豆。然而,亚马逊的IaaS的服务都比较成熟比谷歌的而谷歌的PaaS的服务比亚马逊更成熟。这一切都归结为是否要的IaaS或PaaS的。

Update: The answer is no longer up to date. Since Google's Cloud SQL is no longer in BETA that means that both AWS and GAE support java apps written to use a MySQL database and that migrating is no longer that difficult. The overall idea is that both cloud providers tend to get to a point where they offer "everything": Google launched Compute Engine while Amazon is working on Beanstalk. However, Amazon's IaaS services are more mature than Google's while Google's PaaS services are more mature than Amazon's. It all boils down to whether you want IaaS or PaaS.

这篇关于谷歌应用程序引擎或亚马逊网络服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆