Step 1: We brought up two new server images one for each e-commerce website. Their old SiteGround VPS didn’t allow each site to scale individually. As one site saw more traffic the other would suffer. By separating the servers we instantly will gain better performance.
Step 2: Segment out the databases. Most people don’t do this. At 45Squared we see this as a crucial component of running a great website. We spun up a separate database instance to load both MySQL databases in. This allows their critical business data to reside separately from the web server increasing performance and scalability.
Step 3: Migrate. We started by loading the files from each site to their new respective server. We took a snapshot of each database to test all functionality before going live.
Step 4: Go live. We shut down the existing websites and took a new snapshot of the database and moved it over. Once everything was loaded we went live!