用Amazon Web Services(EC2等)托管CakePHP的应用程序?应用程序、Web、Amazon、Services

2023-09-11 08:44:50 作者:时间在走 人心在变

我不认为我完全明白亚马逊网络服务还没有,这就是为什么我要问这个问题。我想知道,如果AWS将是一个不错的主机,这些当然是逃跑PHP和MySQL的CakePHP应用程序?

I don't think I fully understand Amazon Web Services yet, which is why I'm asking this question. I want to know if AWS would be a nice host for a CakePHP application that of course runs off PHP, and MySQL?

我将不得不改变或添加任何东西到我的code。如果使用像EC2服务?我还注意到,亚马逊有它自己的数据库系统,这是否意味着没有mysql。

Would I have to change or add anything to my code if used a service like EC2? I also noticed that Amazon has it's own database system, does that mean no mysql.

另外,作为一个侧面的问题,你们怎么认为的成本AWS的?

Also as a side question, what do you guys think of the cost AWS?

很抱歉,如果我的问题是一个小散,还是有点noobish,但是这就是为什么我问它。 在此先感谢!

Sorry if my question is a little scattered, or somewhat "noobish," but that is why I ask it. Thanks in advance!

推荐答案

除非你需要一个专用的实例,只为您的CakePHP应用程序 您可以使用一台主机,提供了一个完整的灯在共享服务器上托管堆栈会更好。

unless you need a dedicated instance just for your cakephp application you may be better off using a host that provides a full lamp hosting stack on a shared server.

使用AWS,你需要创建一个实例,配置实例,例如,安装mysql,如果这是你想要什么,等等。

with aws you would need to create an instance, configure that instance, eg install mysql if that is what you want, etc.

然后在运行时,等了整整一年它会像24 * 365 * 12C = $ 1050左右你支付每小时。 (您将需要检查的准确率,你想要的)

then you pay-per-hour while it is running, so for a full year it would be like 24*365*12c = $1050 approx. (you will need to check the exact rates for what you want)