apache - 谷歌云管理 Tomcat 服务

标签 apache amazon-web-services tomcat google-cloud-platform

google cloud 或 aws 是否提供管理 Apache tomcat,它只获取 war 文件并根据负载的增加和减少进行自动缩放?不是计算引擎。我不想创建 VM。这应该由管理服务管理。

最佳答案

Google App Engine 可以直接获取并运行 WAR 文件 - 只需使用 appcfg部署方法。

如果使用 docker 打包,您将有更多选择,因为这会提供可以在许多地方运行的图像类型(Multilpe GCP、AWS 和 Azure 选项、本地 Kubernetes 等)。这甚至可以像构建一个将 WAR 复制到码头图像中的 dockerfile 一样简单:

FROM jetty:latest
COPY YOUR_WAR.war /var/lib/jetty/webapps

虽然爆发 war 可能更好 - 请参阅 this question 中的讨论

关于apache - 谷歌云管理 Tomcat 服务,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55653085/

相关文章:

apache - "The machine with the name ' c6401 ' was not found configured for this Vagrant environment."错误

linux - 如何为所有请求添加 ~username 前缀?

amazon-web-services - 由 LaunchConfig 创建的实例的 CloudFormation 标签

java - 如何在eclipse中定义PremGen空间?获取SpringContext初始化失败java.lang.OutOfMemoryError : PermGen space

tomcat - tomcat中的字符编码

java - Apache 提卡 : Parsing a text file omits last part?

java - 刚刚将我的hadoop集群升级到2.4.1,并且一切正常

node.js - AWS Cloud9 Lambda 安装node.js 模块

java - 升级 AWS Elastic Beanstalk 平台版本后的 handshake_failure

java - 将字符集添加到响应 header