amazon web services – Suddenly milions of visitors to EC2 instance run wordpress multisite. Very slow, now what?

I think the title says it all…

My dream has come true, now what? EC2 was something 2 cores maybe 4 gbs of ram… I use S3 bucket as the storage, compressed the images in Photoshop prior to the upload.

I have around 400 000 images and around 250 000 posts.

now what? My wordpress was installed in the rood directory as a multisite version of wordpress and blog was created as a separate website.

so 1 multisite root wordpress instalation> 2 websites created (the main website) and the blog website with a slug /articles (it is not really in a subdirectory)