php – 将我的LAMP移动到亚马逊
作者:互联网
我有一个小型LAMP应用程序,我想转移到亚马逊
>我需要亚马逊EC2,对吗?
>我希望我的静态资源来自CDN.这是否意味着我需要亚马逊的CloudFront以及EC2? (或者EC2也是CDN?)
>我还想使用PHP加速器(可能是APC),内存缓存等.我能在亚马逊上做到这一点吗?
>我还能使用MySQL吗? (我问这个是因为看起来亚马逊也有自己的RDBMS;不确定我是否被迫使用他们的RDBMS)
解决方法:
I will need Amazon EC2 for this, right?
是.
I want my static resources delivered from a CDN. Does that mean I need Amazon’s CloudFront along with EC2? (Or is EC2 also a CDN somehow?)
CloudFront是CDN,但您可以像使用自己服务器上托管的站点一样使用任何其他CDN. EC2不是CDN.
I would also like to use a PHP accelerator (probably APC), memcache, etc. Will I be able to do this on Amazon?
是的,您具有对服务器的完全root访问权限.您可以在自己拥有的服务器上安装任何软件.
Will I still be able to use MySQL? (I ask this because it seems that Amazon also has their own RDBMS; not sure if I am forced to use theirs)
是. RDS很整洁,但您始终可以在EC2服务器上运行MySQL.
标签:php,amazon-web-services,amazon-ec2,amazon-cloudfront 来源: https://codeday.me/bug/20190704/1380255.html