[英]Using Elixir on Google Cloud Platform
Does anyone know if it's possible to use Elixir on Google Cloud Platform? 有谁知道是否可以在Google Cloud Platform上使用Elixir? Specifically I'd like to know how to deploy an app to App Engine, and how to access the Cloud Storage API.
具体来说,我想知道如何将应用程序部署到App Engine,以及如何访问Cloud Storage API。
No custom runtime required any more. 不再需要自定义运行时。 Elixir is supported natively on Google Cloud Platform: https://cloud.google.com/elixir/
Google云端平台本身支持Elixir: https : //cloud.google.com/elixir/
Quickstart dock: https://cloud.google.com/community/tutorials/elixir-phoenix-on-google-app-engine/ 快速入门码头: https : //cloud.google.com/community/tutorials/elixir-phoenix-on-google-app-engine/
Check this community-tutorial on how to 查看此社区教程,了解如何
Phoenix/Elixir on Google Cloud Google Cloud上的Phoenix / Elixir
Accessing the Cloud Storage API is preferably done via JSON nowadays. 现在,最好通过JSON访问Cloud Storage API 。 Without more information I provide more customized information;
如果没有更多信息,我将提供更多定制信息。 see the Google Cloud Storage JSON API for more info.
有关更多信息,请参见Google Cloud Storage JSON API 。
Use a custom runtime in the App Engine flexible environment to use an alternative implementation of Java, Python, Node.js, or Go, or write code in any other language .
在App Engine灵活环境中使用自定义运行时 ,以使用Java,Python,Node.js或Go的替代实现,或以任何其他语言编写代码。
Source: https://cloud.google.com/appengine/docs/flexible/custom-runtimes/ 来源: https : //cloud.google.com/appengine/docs/flexible/custom-runtimes/
Config application for Google App Engine. Google App Engine的配置应用程序。 See https://cloud.google.com/appengine/docs/flexible/custom-runtimes/
请参阅https://cloud.google.com/appengine/docs/flexible/custom-runtimes/
Use Dockerfile for Elixir ( https://elixir-lang.org/ ), pick one of these: https://hub.docker.com/search/?isAutomated=0&isOfficial=0&page=1&pullCount=0&q=elixir&starCount=0 将Dockerfile用于Elixir( https://elixir-lang.org/ ),选择以下选项之一: https ://hub.docker.com/search/?isAutomated =0& isOfficial =0& page =1& pullCount =0& q = elixir & starCount =0
Deploy Dockerfile to Google App engine. 将Dockerfile部署到Google App引擎。
Use Google Cloud Storage JSON API to interactive with Google Cloud storage service by Elixir code via JSON: https://cloud.google.com/storage/docs/json_api/ 使用Google Cloud Storage JSON API通过JSON通过Elixir代码与Google Cloud Storage服务进行交互: https : //cloud.google.com/storage/docs/json_api/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.