Seeking recommendations for move to AWS from dedicated server hosting about 20 domains

1

I'm looking at the possibility of moving to AWS from a Centos 7 dedicated server that I've been using for many years. There are roughly 20 domains, many which have little traffic. 2/3 of the domains are wordpress based and some others Laravel or straight php/html. There are a couple of static sites as well. I've attached the domain bandwidth/storage/db/email account info below as an image. The biggest site sees about 350 GB bandwidth per month peak, and 2.2 gig of storage. The largest in terms of storage is about 10 GB. Some of the domains use mysql for WP, laravel, php etc. Some have no databases. Some of the accounts also have a number of email accounts and one site currently only functions as an email server. During some peak times, about 15-20 days per year, mysql can max out the server's resources and bog the entire server down.

I'm considering the following:

  • A Lightsail instance for each domain (however even that seems like overkill for the low bandwidth static sites). An advantage is each site has its own IP.
  • Sharing multiple low resource intensive domains on one Lightsail instance
  • Hosting the more resource intensive sites on their own lightsail.
  • Setting up shared hosting for all websites on an EC2 (would need recommendations in terms of using RDS or not, etc).
  • Setting up shared hosting for most low bandwidth websites on Lightsail or an EC2 and the more resource hungry sites on their own EC2.

I appreciate any advice.

Domain Information

profile picture
asked 4 months ago183 views
1 Answer
0

Hi guy,

Three or four years ago I were asking me about the same, but for a Debian 5 server with about 60 subdomain, each of them with a website or webapp.

I divided my problem in two parts:

1 - Static websites: I put in a public S3 bucket with a Cloudfront. It's a nice and cheap solution for any static app. Some day I will try to migrate them to a Amplify but now it's all good;

2 - Php webapp: I've moved all files to a centralized EFS and provisioned only one EC2 host with many docker containers, each one in a TCP port.

To server that apps I pointed a ALB to that host with rules to redirect each FQDN to the correct port on my EC2 host.

In a future I expect to move that containeres to a ECS cluster, or a Beanstack deployment but for now It is fine.

answered 4 months ago
  • I'll have to look into the S3 static option.. but I think some of those static sites also have email servers.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions