简体   繁体   English

关于Amazon AWS EC2

[英]About Amazon AWS EC2

I am new to deploy a rails3.1 app to the AWS platform(heroku only previously). 我是刚开始将rails3.1应用程序部署到AWS平台(以前仅是Heroku)。

However, I want to take the advantage of EC2 + S3 free-tier micro instance. 但是,我想利用EC2 + S3自由层微型实例的优势。

I've heard that there's something called AMI and some other things like Capistrano etc. 我听说有一种叫做AMI的东西,还有Capistrano等其他东西。

Can anyone explain the whole concept of AWS cloud computing? 谁能解释AWS云计算的整个概念?

How can I upload files to EC2? 如何将文件上传到EC2? Via the terminal? 通过终端?

Eg I am using ubuntu 11.10, Can I just type "rails s" in the terminal and then Ec2 just going running in production mode? 例如,我使用的是ubuntu 11.10,是否可以在终端中键入“ rails s”,然后让EC2进入生产模式?

Thanks. 谢谢。

Amazon ec2只是另一项服务,就像您可以从某些托管服务提供商处获得的专用服务器一样,AMI代表Amazon Machine Images,它基本上是一种预配置的操作系统,一旦您使用,它就可以是任何Linux发行版甚至是Windows。确定在AMI上,您将获得一个可用于连接到服务器的SSH帐户,可以使用命令行连接或可以使用ssh进行连接的任何数量的程序,例如,我在Mac上使用zend studio,这就是我的方式编辑服务器上的文件,但我也使用带有rsync命令的命令行将所有文件从服务器备份到笔记本电脑。

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

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