Jump to content

Recommended type of AWS instance


xavi

Recommended Posts

Hello,

I am configuring the hosting for a couple of PS 1.7. I have been working for the past years with Amazon, and I am quite satisfied with it. For now, I have set a t2.micro EC2 instance with a micro RDS Database for testing. I have configured the shop with CCC, no compilation, OPC Cache, etc.

Which type of instance do you use? I will have about 2000 visits a day for starting. I guess I will need an EC2 medium with small RDS.

Regards.

  • Like 1
Link to comment
Share on other sites

I am using an ec3 medium with mysql on several client sites with compile, OP cache and the rest all having similar traffic as your estimate.

All is working just fine and if you kept your ec3 medium  instance up-gradable you will always be able to scale it up without any re install.

 

Link to comment
Share on other sites

Hi Rhobur,

thank you for your information.

I have been running some tests with Jmeter and a t3a.medium (2cpu, 4gb ram) is able to handle up to 1 visit / second (86400 / day) without bursting

t3a_medium_1user_second_server_stats.thumb.png.0d7a0f68e61f468faaffb2073c5d8c9f.png

 

Testing a t3a.large (2cpu, 8gb ram) made no difference, due to the increasement is just in RAM, and taking a look at the "top" command, memory consumption is constantly at 500-600 MB.

 

I made another test with a t3a.xlarge (4cpu, 16gb ram) and it was able to serve up to 2 visits per second, double of a t3a.medium.

t3a_xlarge_2user_second_server_stats.thumb.png.6782a01392f8d789e23305d9043919ec.png

 

So as you mentioned, it's the best option to use a t3a.medium. Another doubt I have is whether to install more that one shop per server or not. If I expect to have 10k visits/day tops per each shop, and t3a.medium is able to handle pretty good 50k / day, I'm considering using the same server for different shops.

What do you think about that?

 

Thanks for you info

  • Like 1
Link to comment
Share on other sites

Your graphs are very interesting and I am sure future readers with the same questions will find them very useful.

My advice is to start with the t3a.medium for both shops and keep it up-gradable.

If your shops visits increase with let's say 500 to 100% and the speed decrease you would be able to upgrade to a superior t3 without any time/money loss.

Keep in mind that not only the visits matter but the number of products and especially the number of product combinations along with the quality of the third party modules you'll be using, the theme quality etc

So testing the website against something like gmetrix.com and improving to at least a 90% score will help you save money on the hosting and offer a better experience to your clients.

Link to comment
Share on other sites

  • 2 months later...
On 5/9/2020 at 5:13 PM, Rhobur said:

I am using an ec3 medium with mysql on several client sites with compile, OP cache and the rest all having similar traffic as your estimate.

All is working just fine and if you kept your ec3 medium  instance up-gradable you will always be able to scale it up without any re install.

 

Do you use a cloudformation to create these instances?

Edited by bnadauld (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...