DZone
Cloud Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Cloud Zone > Vertically Scaling Our Amazon EC2 World

Vertically Scaling Our Amazon EC2 World

Kin Lane user avatar by
Kin Lane
·
Apr. 10, 11 · Cloud Zone · News
Like (0)
Save
Tweet
8.73K Views

Join the DZone community and get the full member experience.

Join For Free
Audrey and I each have two separate domains that we host on an Amazon EC2 instance.  To support these, I’ve been running a small Amazon EC2 instance which runs about .12 cents per hour.  I run 24/7 which is about 730 hours a month.  So I roughly pay about $88 / month for this server.

The traffic to our sites has been growing.  I’d like to think my blogs are growing as fast as Audrey’s, but she’s kick’n my ass with her Hack Education.  Its developed a rather large RSS subscriber following as well as an impressive assortment on high value inbound links.

Even though Hack Education is growing significantly, all 4 of our blogs are growing in traffic with both of us out on the road, actively attending Silicon Valley events and the amount of writing and social media activity we are involved with.

So its time to scale.  My first choice would to be scale horizontally using Elastic Load Balancing and Autoscaling.  Our sites use WordPress as the CMS, and our database is using Amazon RDS.   So in theory it shouldn’t be much trouble to scale across multiple servers.  The one problem is images that are uploaded through WordPress are stored locally.

I have been manually storing all files and images at Amazon S3 for about 3 years now, but Audrey has yet to start doing this.  So we have to solve this problem.  I’ve tried an Amazon S3 add-on (which sucked), I think just manually uploading to S3 as a habit is the best route for any content development.  However I still have legacy images on my blog and so does Audrey.

We could deploy some sort of version control for our WordPress and create scripts that could auto checkout when an instance deploys.  I’ve done this and it works.  It would be easier to just write a script to clean up legacy images and depend on the centralization of Amazon S3 for files and Amazon RDS for our data.   Then all that is left is latest version of WordPress which I can manage with Amazon Machine Images (AMI).  So nothing site specific is stored on the server, just a web server w/ domain pointing at a folder with common WordPress files.  Ok, there is a config file, but this doesn’t change, it can be managed with AMI as well.

Soooo…until we get these images cleaned up I am scaling vertically using a larger Amazon Instance.  We are going to a large 64 bit Windows instance.  I think a large instance is a better level to be operating from anyways.  It is 64 bit and when I’m ready to load balance and autoscale, it will handle overall loads much better.

The new Amazon Large Instance is running us .48 cents per hour which at 730 hours come to about $350.00 / month.  Hmmm….jump from $88 to $350.  Ouch.  It has to be done, so I went and looked at the Amazon Reserved Instances, and for a one year term it is $910.00.  So if I prepay a year I can get it for cheaper than what I’m paying currently for a small instance.  Pretty good deal…here we go.

AWS Scaling (geometry)

Published at DZone with permission of Kin Lane, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • What Is Lean Software Development
  • How to Utilize Python Machine Learning Models
  • Suspicious Sortings in Unity, ASP.NET Core, and More
  • Why to Implement GitOps into Your Kubernetes CI/CD Pipelines

Comments

Cloud Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo