[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Web server redundency

Posted on 2012-03-14
2
Medium Priority
?
331 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 25

Assisted Solution

by:Dirk Kotte
Dirk Kotte earned 1000 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 1000 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

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

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

Media Temple is thrilled to announce the launch of our new Partner Program, specifically designed to empower digital agencies and adtech platforms by offering white-glove support and exclusive hosting enhancements to optimize their sites and their c…
This installment of Make It Better gives Media Temple customers the latest news, plugins, and tutorials to make their VPS hosting experience that much smoother.
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 walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
Suggested Courses

590 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