欲确保发展环境中工作只是相同的生产环境。这是为了最大限度地减少它为我工作指指点点。
I want to ensure that the development environment to work just the same as the production environment. This is to minimise "it works for me" finger-pointing.
因此我的团队选择的Ubuntu 14.04作为操作系统。
Hence my team chose Ubuntu 14.04 as the operating system.
我们也希望部署在AWS上。
We also want to deploy on AWS.
由于我是通过使用弹性魔豆的QwikLabs例如跑步,我意识到,没有选择,选择的Ubuntu 14.04。
As I was running through the QwikLabs example on using Elastic Beanstalk, I realized that there is no choice to select Ubuntu 14.04.
我如何去部署在AWS EC2实例的Django应用程序是在Ubuntu 14.04上运行?
How do I go about deploying a Django app on a AWS EC2 instance that is running on Ubuntu 14.04?
感谢你。
AWS限制,根据弹性魔豆上运行的操作系统,因为它的平台即服务。要获取有关操作系统和配置充分的灵活性,你需要使用EC2。
AWS limits the operating systems that run under Elastic Beanstalk, as it is Platform as a Service. To get full flexibility on operating systems and configuration, you'd need to use EC2.
有两种次优的解决方法,但:
There are two suboptimal workarounds, though:
使用正在运行Ubuntu泊坞窗实例 使用复杂黑客在EB 运行的Ubuntu use a Docker instance that is running Ubuntu use this complicated hack to run Ubuntu in EB