如何在AWS Djastico应用程序的AWS Elastic Beanstalk上使用Ubuntu 14.04 [英] How to use Ubuntu 14.04 on AWS Elastic Beanstalk for a Python Django app

查看:155
本文介绍了如何在AWS Djastico应用程序的AWS Elastic Beanstalk上使用Ubuntu 14.04的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想确保开发环境的工作方式与生产环境一样。这是为了最小化它适用于我的手指指向。



因此,我的团队选择了Ubuntu 14.04作为操作系统。



我们也想在AWS上部署。



当我运行QwikLabs使用弹性Beanstalk的例子时,我意识到没有选择Ubuntu 14.04。







如何在Ubuntu 14.04上运行的AWS EC2实例上部署Django应用程序?



谢谢。 >

解决方案

AWS限制在弹性Beanstalk下运行的操作系统,因为它是平台即服务。为了在操作系统和配置上获得充分的灵活性,您需要使用EC2。



尽管如此,还有两个不太理想的解决方法:




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:

这篇关于如何在AWS Djastico应用程序的AWS Elastic Beanstalk上使用Ubuntu 14.04的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆