Geo*_*nov 5 amazon-ec2 amazon-web-services amazon-elastic-beanstalk
工人我指的是一个在无限循环中运行某些任务的python脚本.此脚本应部署到单独的EC2实例并永久运行(可能使用管理程序).
我成功使用Elastic Beanstalk来部署Web应用程序,git aws.push并且工作正常.但是,工作人员的设置需要稍微不同,因为工作人员不需要Web服务器或弹性IP.它们也是以不同的命令开始的.
从我读过的内容来看,我认为我想要的与Heroku的工作人员dynos vs web dynos非常相似,但我也没有Heroku的任何经验,所以我可能错了.
那么Elastic Beanstalk可以实现吗?或者我应该使用完全不同的部署?
顺便说一句,我使用的是Linux和Elastic Beanstalk的CLI.
小智 9
在ElasticBeanstalk上部署后台进程(工作者)的能力实际上是在12月11日引入的.
看看公告:http: //aws.typepad.com/aws/2013/12/background-task-handling-for-aws-elastic-beanstalk.html
和文档:http: //docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features-managing-env-tiers.html
| 归档时间: |
|
| 查看次数: |
2510 次 |
| 最近记录: |