问题描述
我想确保开发环境的工作方式与生产环境一样。这是为了最小化它适用于我的手指指向。因此,我的团队选择了Ubuntu 14.04作为操作系统。
我们也想在AWS上部署。
当我运行QwikLabs使用弹性Beanstalk的例子时,我意识到没有选择Ubuntu 14.04。
如何在Ubuntu 14.04上运行的AWS EC2实例上部署Django应用程序?
谢谢。 >
AWS限制在弹性Beanstalk下运行的操作系统,因为它是。为了在操作系统和配置上获得充分的灵活性,您需要使用EC2。
尽管如此,还有两个不太理想的解决方法:
- 使用正在运行Ubuntu的Docker实例
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.
Hence my team chose Ubuntu 14.04 as the operating system.
We also want to deploy on AWS.
As I was running through the QwikLabs example on using Elastic Beanstalk, I realized that there is no choice to select Ubuntu 14.04.
How do I go about deploying a Django app on a AWS EC2 instance that is running on Ubuntu 14.04?
Thank you.
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:
- use a Docker instance that is running Ubuntu
- use this complicated hack to run Ubuntu in EB
这篇关于如何在AWS Djastico应用程序的AWS Elastic Beanstalk上使用Ubuntu 14.04的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!