为什么javascript node.js不在谷歌应用程序引擎上 [英] why is javascript node.js not on google app engine

查看:142
本文介绍了为什么javascript node.js不在谷歌应用程序引擎上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Google创建了V8 JavaScript引擎:当第一次执行时,V8将JavaScript源代码直接编译到机器代码中。



Node.js构建于V8之上 - 为什么是谷歌不提供任何像微软Azure这样的Node.js服务器?



谷歌App Engine将是放置Node.js的自然之地。



你知道Google为什么不这样做吗?

截至2014年6月,Google有一个 Google App中有限的自定义语言预览引擎(与Google Compute Engine不同)



观看使用App Engine和自定义运行时构建Node.js应用程序并查看 https://云.google.com / appengine / docs / managed-vms /


App Engine现在提供第二个托管选项:托管虚拟机。托管虚拟机托管环境可让您在可配置计算引擎虚拟机(VM)上运行App Engine应用程序。
您还可以使用托管虚拟机部署用户可配置的自定义运行时,例如 Node.js 和其他运行时。


进入测试版的过程为: 注册并创建一个托管VM项目

托管虚拟机处于有限预览中,您必须注册才能访问此功能,创建启用结算功能的项目并向我们介绍您的项目,以便我们可以将其列入白名单以便在托管虚拟机中运行。请遵循以下步骤:


  1. 注册访问托管虚拟机。

  2. 加入应用引擎-managed-vms Google Group参与关于托管虚拟机的讨论。
  3. 项目(或应用程序 - 它们是相同的)必须位于美国数据中心。如果您打算使用现有项目,请跳至下一步。否则,请在美国数据中心创建一个新应用。转到 https://preview.appengine.google.com 并创建一个新应用。
  4. >
  5. 为项目启用结算。访问网页 https://cloud.google.com/console/project/apps~,你的项目的ID在哪里。点击左侧菜单中的设置,然后启用结算。如果您的应用是在Premier帐户下结算,请发送电子邮件至app-engine-managed-vm-tt-id@google.com,让您的新Cloud项目在同一个帐户下结算。

  6. 发送电子邮件至app-engine-managed-vm-tt-id@google.com并在主题行中填入申请ID。

当我们收到您的电子邮件时,我们会在幕后配置一些资源,并在项目准备就绪时通过电子邮件通知您。该电子邮件包含最终安装说明。如果您在遵循这些说明时遇到错误,请通过app-engine-managed-vm-tt-id@google.com与我们联系。


Google created the V8 JavaScript engine: V8 compiles JavaScript source code directly into machine code when it is first executed.

Node.js is build on V8 - why is Google not offering any Node.js servers like Microsoft Azure?

Google App Engine would be a natural place to put Node.js.

Do you know why Google is not doing just that?

解决方案

As of June 2014, Google had a limited preview for custom languages on Google App Engine (which is different from Google Compute Engine).

Watch Building Node.js applications with App Engine and Custom Runtimes and check out https://cloud.google.com/appengine/docs/managed-vms/:

App Engine now offers a second hosting option: Managed VMs. The Managed VM hosting environment lets you run App Engine applications on configurable Compute Engine Virtual Machines (VMs). You can also use Managed VMs to deploy user-configurable custom runtimes, such as for Node.js and other runtimes.

The procedure to get into the beta is:

Sign up and create a Managed VM project

Managed VMs are in Limited Preview, you must sign up for access to this feature, create a billing-enabled project, and tell us about your project so we can whitelist it to run in a Managed VM. Follow these steps:

  1. Sign up for access to Managed VMs.
  2. Join the app-engine-managed-vms Google Group to participate in discussions about Managed VMs.
  3. Projects (or apps - they are the same thing) must be in a U.S. data center. If you're planning to use an existing project, skip to the next step. Otherwise, create a new app in a U.S. data center. Navigate to https://preview.appengine.google.com and create a new app.
  4. Enable billing for the project. Visit the page https://cloud.google.com/console/project/apps~, where is the ID of your project. Click on Settings in the left menu and then enable billing. If your app is billed under a Premier account, email us at app-engine-managed-vm-tt-id@google.com to have your new Cloud project billed under the same account.
  5. Send an email to app-engine-managed-vm-tt-id@google.com with the application ID in the subject line.

When we receive your email, we’ll configure some resources behind the scenes and notify you via email when your project is ready to go. The email includes final instructions for setup. If you encounter an error while following these instructions, contact us at app-engine-managed-vm-tt-id@google.com.

这篇关于为什么javascript node.js不在谷歌应用程序引擎上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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