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

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

问题描述

Google 创建了 V8 JavaScript 引擎:V8 在第一次执行时将 JavaScript 源代码直接编译成机器码.

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

Node.js 基于 V8 - 为什么 Google 不提供任何 Node.js 服务器,例如 Microsoft Azure?

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

Google App Engine 将是放置 Node.js 的自然场所.

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

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

Do you know why Google is not doing just that?

推荐答案

截至 2014 年 6 月,Google 在 Google App Engine(不同于 Google Compute Engine).

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

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

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

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.

进入测试版的程序是:

托管 VM 处于有限预览阶段,您必须注册访问此功能,创建启用计费的项目,并告诉我们您的项目,以便我们可以将其列入白名单以在托管 VM 中运行.请按照以下步骤操作:

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. 注册访问托管虚拟机.
  2. 加入 app-engine-managed-vms Google 群组,参与有关托管 VM 的讨论.
  3. 项目(或应用 - 它们是一回事)必须位于美国数据中心.如果您打算使用现有项目,请跳到下一步.否则,在美国数据中心创建一个新应用程序.导航到 https://preview.appengine.google.com 并创建一个新应用.
  4. 为项目启用结算功能.访问页面 https://cloud.google.com/console/project/apps~,你的项目的ID在哪里.单击左侧菜单中的设置,然后启用计费.如果您的应用使用 Premier 帐户计费,请发送电子邮件至 app-engine-managed-vm-tt-id@google.com,让我们使用同一帐户为您的新 Cloud 项目计费.
  5. 向 app-engine-managed-vm-tt-id@google.com 发送电子邮件,主题行中包含应用 ID.
  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.

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

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天全站免登陆