Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Discover AWS Certified experts on-demand

Post your request and work with pre-vetted talent. Pay securely through AWS.

Next

March 2020

Improving website performance using RDS, Route53 and ACM

Improving website performance using RDS, Route53 and ACM case study

OT Pavimentos was experiencing on-going stability and performance issues relating to the high traffic on their website. The website would experience periodic down-time and require manual server restarts to fix. They submitted a request on IQ for help with this problem and I connected with them to resolve their issues.

After doing an initial assessment, I found several areas to focus on. I first observed that OT Pavimentos was running their database and their web server on the same EC2 instance. This can cause problems as both the database and web server may become bottlenecks under heavy load. As websites scale it’s better to move them to different servers.

I first focused on their database. To improve its performance and reliability I migrated it to Amazon Relational Database Service (RDS). Amazon RDS offers a fully managed database that is fully compatible with what OT Pavimentos was already running. This made offloading the database relatively easy and straightforward. Amazon RDS comes with many features, such as resizable capacity and automatic patching, which the customer could start to take advantage of too.

Next I focused on their web server. I first assessed their current performance using Apache Benchmark tests. I then tuned their web server’s FastCGI/PHP-FPM configuration parameters to better handle their traffic. This will help OT Pavimento’s future scaling needs as they expand to other countries.

To ensure their website remains performant and reliable I added an application load balancer. This means if one web server stops for any reason (or slows down) customers would still have a great experience as they would be automatically routed to the performant web servers. To do this I started by migrating the customer’s website domain to Amazon Route 53, which offers highly available DNS while providing flexible routing features.

I then focused on their website security. To ensure OT Pavimentos’s customers can always access their website securely, I switched the customer’s website SSL certificate over to AWS Certificate Manager. This way OT Pavimentos can take advantage of fully automated renewal and deployment of their SSL certificates.

Finally, to address backup and recovery I deployed a life cycle manager to take EBS volume snapshots on an automated basis and deployed nightly snapshotting of RDS retained for 7 days. This means that should anything go drastically wrong with OT Pavimentos’s servers they can always roll back to a previously saved state.

As we implemented these changes, I walked OT Pavimentos through their projected monthly bill. We discussed several strategies to optimize their costs in light of the new set up. Once the project was completed, their website was not only more stable, as they had originally requested, but also more reliable, secure, and recoverable. I look forward to the opportunity to work with OT Pavimentos on IQ in the future.

open quote
Once the project was completed, their website was not only more stable, as they had originally requested, but also more reliable, secure, and recoverable.— Sribatsa Das, CEO, Business Compass LLC

Business Compass LLC

Full Rating StarFull Rating StarFull Rating StarFull Rating StarHalf Rating Star
4.9 (57 reviews)

Find talent on-demand with AWS IQ

Get started