Solved

Web server redundency

Posted on 2012-03-14
2
294 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 32

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

If you are thinking of adopting cloud services, or just curious as to what ‘the cloud’ can offer then the leader according to Gartner for Infrastructure as a Service (IaaS) is Amazon Web Services (AWS).  When I started using AWS I was completely new…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now