I’m current developing a new and improved version of my blog site (cycling-jersey-collection.com) as part of my open uni final year project using CakePhP 3. I need to have (which are all on my MacBook as my Dev environment)
Apache 2.4.x
mySQL 5.7.11
php 7.0.3
an SSL cert
I’ve looked at Rackspace and it’s cost prohibitive. I’m looking at AWS and there are are ALOT of options!
The site has about 4-5,000 unique web visitors/month - so could possibly just use a t2.small, eventually going the t2.medium / m4.large routes if traffic requires it.
Or, can anybody recommend any other cloud platforms?
Personally I use Digital Ocean, and I’m very very happy with it. At work we use AWS, just be careful with the T2 instances, they are CPU throttled, which means that if you hit a sudden traffic spike you might not be able to handle it. The CakePHP sites are all hosted on Rackspace.
I’m using Hetzner for hosting my projects for about 2 years now. Never had a downtime, good prices and close to my audience. And you can have a look at https://letsencrypt.org/ for SSL Certs.
I’ve had luck with Pagodabox as a PaaS. Easy deploy, easy to add extensions, change PHP versions, etc. SSL certs are a breeze with them as well.
Here’s an example of a Boxfile for a Cake app, their version of a build + deploy recipe. As you can see, it uses PHP 5.6, however upgrading to 7.0 is as simple as changing those version requirements and pushing. It uses a network storage component for file and image caching, a redis instance for other caching, and a mysql database. It also installs a few different extensions for image manipulation and such.
Adding deploy hooks is really easy as well, and you’ll see I run migrations and clear cache, though you can do much more. I suggest checking out their docs, they’re very nice. They also have excellent support and you can even jump in IRC for quick issues.
Look up Linode or DigitalOcean. They are more affordable than AWS. Both are equally good in performance and up time. If you are going to host your cakephp app (https://www.cloudways.com/en/php-cloud-hosting.php ) on them, then use PaaS solutions, like Cloudways, to do it. This platform lets you launch server instantly, without manually installing OS or stack.
I use this https://hostinghouse.pl/hosting if something is more demanding they also have VPS
It’s a polish (EU) firm, and 25PLN (polish zloty) is about 7,07$ per year (for a lets say your folder in htdocs directadmin,phpMyAdmin, mails and some more)