Solved

Web server redundency

Posted on 2012-03-14
2
298 Views
Last Modified: 2014-11-12
I have a windows 2008 web edition on my company office that does handle the website traffic, but from time to time the server gets very slow and the website.

That was caused by the number of access on our website and the current connection we have (6MB).

My question is, since we don't have the budget right now to upgrade to a new server and or the T1 lines... I would like to know if I can do a mirror from my local server to an EC2 server on amazon that I will only activate when needed.  Is that possible? So I would manually make the website live on the days and time I know the website will be busy.
0
Comment
Question by:Medrise
2 Comments
 
LVL 23

Assisted Solution

by:Dirk Kotte
Dirk Kotte earned 250 total points
ID: 37721636
you can set two A-records (IP entries) to www.yourdomain.com within DNS.
with DNS Round robin  (default at some DNS servers) you have a simple load-balancing.
also the DNS send all IP's as answer to the DNS request.
Because the most current browsers can handle more than one dns answer and automatically use the second address if the server behind the first are not reacheble - this should be usable also with a deactivated server.
0
 
LVL 33

Accepted Solution

by:
shalomc earned 250 total points
ID: 37729411
> if I can do a mirror from my local server to an EC2 server on amazon ?
yes.
You will have to install your web site on a windows instance in EC2, and bundle a private AMI out of it.

> I will only activate when needed
yes.
Your private AMI will be activated on demand. I strongly recommend that you use CloudFormation templates for the activation. To make it easier for your procedure, you can reserve an elastic IP but it is not necessary.

A key component, like mentioned by dkotte, is the DNS.
Amazon has its own DNS service (route 53) that integrates with the dynamic runtime configuration.

Assuming that you don't change your DNS service, you have 2 options:
1. Use an elastic IP and have a dual A record, like mentioned in the previous post.
2. Lower the zone's TTL to 60 seconds before the change, modify the A record to the EC2 address, and when done - return TTL to its normal value.

Another thing to plan is modifications to the web site. You need a procedure/script to refresh the content of the site that is activated on AWS prior to switch.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
Or at least that’s the word according to a new blog from Tech Target on AWS’s new Managed Services (MS) offering. According to the blog, AWS is launching their AWS MS program to expedite the adoption of cloud by Fortune 1000 and Global 2000 companie…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question