• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
@ Good Shepherdson

@ Good Shepherdson

Future living, systems engineering, energy, community, sustainability

  • Home
  • Courses & Workshops
    • HTML & CSS course
    • WordPress Website Builder course
    • PHP & MySQL course
You are here: Home / Cloud Platform / AWS / 3 Lessons learned from an epic AWS failure!

3 Lessons learned from an epic AWS failure!

November 20, 2020 by Henry Shepherdson

AWS LightSail & WordPress - Henry Shepherdson

I recently deployed a WordPress instance to AWS (Amazon Web Services) LightSail which was expecting a high volume of traffic. The site crashed within 2 hours, even though we provisioned the highest spec VM (Virtual Machine) – 32Gig RAM, 8vCPU & SSD storage.

This is what I learned from the experience

  1. LightSail does not allow you to continuously use higher than 20% CPU capacity for long periods of time – rather it allows for short spikes in load. So, even if you provision a high spec VM, take the margin into account.
  2. Use a load balancer for high volume sites – With a load balancer you can add resources on the fly so that, if you see the VM getting into trouble, you can quickly and easily deploy more resources.
  3. Create your instance at least a couple of days before you go live so that it has time to build up the allowed burst capacity time.

Resources

Follow this 4-part tutorial “Deploying a highly available WordPress site on Amazon Lightsail”, written by a Developer Advocate for Lightsail, Mike Coleman.

https://aws.amazon.com/blogs/compute/deploying-a-highly-available-wordpress-site-on-amazon-lightsail-part-1-implementing-a-highly-available-lightsail-database-with-wordpress/

“This post walks you through what to consider when architecting a scalable, redundant WordPress site. It discusses how WordPress stores such elements as user accounts, posts, settings, media, and themes, and how to configure WordPress to work with a standalone database.

This walkthrough deploys a WordPress site on Amazon Lightsail. Lightsail is the easiest way to get started on AWS, and it might be the easiest (and least expensive) way to get started on WordPress. You can launch a new WordPress site in a few clicks with one of Lightsail’s blueprints, for a few dollars a month. This gives you a single Lightsail instance to host your WordPress site that’s perfect for a small personal blog.”

Filed Under: AWS, Cloud Platform, Web Development, WordPress Tagged With: Scalability

Primary Sidebar

Archives

  • January 2023
  • July 2021
  • January 2021
  • December 2020
  • November 2020

Categories

  • AI
  • AWS
  • Business
  • Cloud Platform
  • Content Creation
  • Courses
  • Discussion
  • Entrepreneurship
  • Heart-to-Heart Posts
  • How-to Posts
  • Javascript
  • Javascript
  • Performance
  • Personal Development
  • Resource Posts
  • Society
  • Web Development
  • WordPress
  • Writing

Tags

Alcohol ban in South Africa Artificial Intelligence COVID 2020 Finding Purpose GitHub CoPilot GPT-3 MySQL Personal Branding PHP Scalability Training Web Developer

2020 / 2021 Copyright - Henry Shepherdson