Next: Task 4---Scaling the PHP Front End, Previous: Task 2---Deploy a Monolithic LAMP Application, Up: Deploy and Scale a LAMP Application [Contents][Index]
The first iteration of the application’s web front end is not inherently scalable because the database and front end are located on the same machine. It would be problematic to add additional database instances whenever additional front-end capacity was needed.
To fix this issue, the front end and database need to be separated. In this task, you will adjust the configuration for the PHP front end to point to the previously deployed Lightsail database.
The demonstration video Connect to a Lightsail DB will take you step by step through the lab process. |
• Reconfigure the front end to point at the new Lightsail database: |