您能否推荐适用于 Python 的 Amazon AMI?
在与声称支持 Python 的托管提供商发生过一些非常糟糕的经历之后,我希望尽可能消除在 Amazon EC2 上管理 Python 的复杂性。我正在寻找一些有关选择 AMI 的指导,以便我拥有一个稳定且易于管理的环境,其中已经包含 Python,最好还包含 Apache Web 服务器和数据库。
我对 Python 版本、Web 服务器、数据库和操作系统不了解,因为我仍处于开发周期的早期阶段,我可以影响这些选择。成本不是一个考虑因素(在范围内),因此如果 Windows 意味着易于管理,那么 Windows 将运行良好。
大家有什么实际经验或建议可以分享吗?
I want to remove as much complexity as I can from administering Python in on Amazon EC2 following some truly awful experiences with hosting providers who claim support for Python. I am looking for some guidance on which AMI to choose so that I have a stable and easily managed environment which already included Python and ideally an Apache web server and a database.
I am agnostic to Python version, web server, DB and OS as I am still early enough in my development cycle that I can influence those choices. Cost is not a consideration (within bounds) so Windows will work fine if it means easy administration.
Anyone have any practical experience or recommendations they can share?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尝试 Ubuntu EC2 映像。默认安装 Python 2.7。剩下的你只需 apt-get install 并选择在基线符合你想要的方式时创建一个映像(或者只维护一个安装所有部分的脚本并在创建基本 Ubuntu 实例后运行) 。
Try the Ubuntu EC2 images. Python 2.7 is installed by default. The rest you just
apt-get install
and optionally create an image when the baseline is the way you want it (or just maintain a script that installs all the pieces and run after you create the base Ubuntu instance).如果您可以使用亚马逊提供的产品,我会推荐它。我倾向于使用 ami-84db39ed。
但老实说,如果您打算让它一直运行,那么使用 VPS 可能会节省一些钱。如果您随着时间的推移打开和关闭该服务,亚马逊往往会更便宜。
If you can get by with using the Amazon provided ones, I'd recommend it. I tend to use ami-84db39ed.
Honestly though, if you plan on leaving this running all the time, you would probably save a bit of money by just going with a VPS. Amazon tends to be cheaper if you are turning the service on and off over time.