Solved

Web server redundency

Posted on 2012-03-14
2
305 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 24

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

What You Need to Know when Searching for a Webhost Provider
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
Steps to create a PostgreSQL RDS instance in the Amazon cloud. We will cover some of the default settings and show how to connect to the instance once it is up and running.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
Suggested Courses

626 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