DEV Community

Cover image for Deploy WordPress on EC2

Deploy WordPress on EC2

On-cloud7 on January 14, 2024

•Wordpress WordPress is a highly popular content management system (CMS). It is most commonly used for blogs but can also be used for running e-com...
Collapse
 
ryanlwh profile image
Ryan Lee • Edited

Nice tutorial. Be aware that the resources of the micro instance are limited. If you were to run this configuration in production, the machine would crash indefinitely even with a small audience (I learned it the hard way). In that case, it is better to deploy MySQL separately on another instance, or the RDS free tier.

Collapse
 
oncloud7 profile image
On-cloud7

Thanks for the heads up! You're absolutely right, micro instances are fantastic for testing purposes but can struggle in production. Running MySQL on a separate instance, either another EC2 instance or the RDS free tier, is a much better approach for handling a real audience.

Collapse
 
nickor profile image
Nick

Thanks for this! I've always wanted to host my WordPress sites on AWS EC2 but since I've never administered my own server before I'm scared that something would go wrong and my sites will be offline for days while I'm trying to find a solution. There is no tech support to help.

Collapse
 
oncloud7 profile image
On-cloud7

You're welcome! I understand your concerns about hosting your WordPress sites on AWS EC2. It's a great platform for scalability and control, but managing your own server can be daunting, especially with no dedicated tech support.

Collapse
 
oncloud7 profile image
On-cloud7

That's an excellent suggestion!will definitely try on docker