简体   繁体   English

如何配置Amazon AWS Elastic Beanstalk服务?

[英]How do I configure Amazon AWS Elastic Beanstalk services?

I do not understand AWS Elastic Beanstalk services (documented here ) 我不了解AWS Elastic Beanstalk服务( 在此处记录

  1. What is a "service" in this context? 在这种情况下什么是“服务”?
  2. How do I create one? 如何创建一个?
  3. Once created, how do I reference it in .config file? 创建后,如何在.config文件中引用它? is it by name only? 只是名字吗?

"Service" is a general term for a long running background process. “服务”是长期运行的后台进程的总称。 On Linux systems this is a daemon (usually managed by the init process), and on Windows systems this is called a Windows service. 在Linux系统上,这是一个守护进程(通常由init进程管理),在Windows系统上,这称为Windows服务。

Services usually conform to a well-known interface for starting, pausing, and stopping them. 服务通常遵循众所周知的接口来启动,暂停和停止它们。 For example init managed daemons have a script that looks something like this: 例如,init托管守护程序的脚本看起来像这样:

http://werxltd.com/wp/2012/01/05/simple-init-d-script-template/ http://werxltd.com/wp/2012/01/05/simple-init-d-script-template/

Creating Windows services is a little more complex: http://msdn.microsoft.com/en-us/library/aa983650(v=vs.71).aspx 创建Windows服务要稍微复杂一些: http : //msdn.microsoft.com/zh-cn/library/aa983650(v=vs.71).aspx

As far as naming goes, the name of an init service is the name of the init script in /etc/init.d . 就命名而言,初始化服务的名称是/etc/init.d中的初始化脚本的名称。 A windows service has an explicit name that you configure when you build your service. Windows服务具有在构建服务时配置的显式名称。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在AWS Elastic Beanstalk环境中配置负载均衡器? - How do I configure a load balancer in an AWS Elastic Beanstalk environment? 如何在运行 AWS Linux 2 的 AWS Elastic Beanstalk 上配置 Linux 交换空间? - How do I configure Linux swap space on AWS Elastic Beanstalk running AWS Linux 2? 如何根据AWS Elastic Beanstalk中的延迟配置扩展? - How do configure scaling based on latency in AWS Elastic Beanstalk? 如何在Elastic Beanstalk上为Amazon SES传递AWS_ACCESS_KEY_ID? - How do I pass AWS_ACCESS_KEY_ID for Amazon SES on Elastic Beanstalk? 我如何一起使用泽西岛和Amazon AWS(弹性beantalk) - How can i use jersey and Amazon AWS (elastic beanstalk) together 如何在 AWS Elastic Beanstalk 上配置我的 WSGI 应用程序的名称? - How do I configure the name of my WSGI application on AWS Elastic Beanstalk? 如何在自动缩放的(多实例)Elastic Beanstalk(Tomcat)应用程序(AWS)中配置数据文件? - How do I configure data files in a Autoscaled (multi-instance) Elastic Beanstalk (Tomcat) Application (AWS)? 如何在 Elastic Beanstalk 中配置 aws:elasticbeanstalk:container:python:staticfiles? - How do I configure aws:elasticbeanstalk:container:python:staticfiles in Elastic Beanstalk? 如何在亚马逊的Elastic Beanstalk上安装Python脚本? - How do I install a Python script on Amazon's Elastic Beanstalk? AWS 弹性 beanstalk 使用 SSL 配置具有自定义子域的多个服务 - AWS elastic beanstalk configure multiple services with custom subdomains with SSL
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM