简体   繁体   English

如何将Rails应用程序部署到EC2(Amazon)

[英]How to deploy Rails app to EC2 (Amazon)

Guys, help me please to deploy my Rails app to AWS EC2. 伙计们,请帮我将我的Rails应用程序部署到AWS EC2。 If you can, write full information about prefer my app files to deploy and other. 如果可以,请编写有关首选我的应用程序文件进行部署的其他完整信息。 Im using: SQlite Dont using: git 即时通讯使用:SQlite不要使用:git

In addition to the options already mentioned in the comments, I'd consider using Amazon Elastic Beanstalk which will help provision all the necessary AWS resources (including a database, load balancer, security groups). 除了评论中已经提到的选项之外,我还将考虑使用Amazon Elastic Beanstalk,这将有助于预配置所有必需的AWS资源(包括数据库,负载均衡器,安全组)。 See: https://medium.com/@jatescher/how-to-set-up-a-rails-4-2-app-on-aws-with-elastic-beanstalk-and-postgresql-3f9f29c046e2#.shg7u87kv 参见: https : //medium.com/@jatescher/how-to-set-up-a-rails-4-2-app-on-aws-with-elastic-beanstalk-and-postgresql-3f9f29c046e2#.shg7u87kv

It's also worth considering whether you really want to use SQLite in production rather than something more powerful like Postgres or MySQL. 还值得考虑的是,您是否真的要在生产中使用SQLite,而不是像Postgres或MySQL这样更强大的功能。 This thread has a good discussion of some the relevant issues: Using SQLite as production database, bad idea but 该线程对一些相关问题进行了很好的讨论: 使用SQLite作为生产数据库,不好的主意但是

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM