Installing web and database servers, connecting them as network in Amazon EC2? How?

hi guys,

I'm setting up a cloud based infrastructure and just need some of your advice, which would be great.

I need to basically do the following:

a. Set up a load balanced Linux web server in the Amazon EC2 cloud. So I need two of those and have them as failover. Do you know how to do this?

b. Set up a load balanced Linux database server in the Amazon EC2 cloud. And this too?

c. Set up a windows 2008 development server, so that the person coding can log on and do all of their php/mysql coding from there. Do you know what I need installed on this?

And lastly, I need all of those servers to act as a network, i.e. to be able to talk to each other as you would in a normal network? Do you know how to do that?

If it's too much for any technical specifications, would you be able to provide me with wording that I can follow and use knowledge/google to go forward with it?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Emmanuel AdebayoGlobal Windows Infrastructure Engineer - ConsultantCommented:

I have worked with several Windows and Database on Amazon EC2 with loadbalancing options but not with Linux servers; I believe the procedure is the same. Everything is configured through AWS Management Console which is very easy to understand.
For AWS Management Console

For various documentation, please visit

By the time you through the above links you will have very good understanding of how you want to proceed with your configuration.

The good thing is that you can create free account on Amazon to set p a small account that you can work on to familiarise yourselve with Amazon cloud.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Shalom CarmelCTOCommented:
A detailed description is really out of scope here, but here is an abstract overview.

> Set up a load balanced Linux web server in the Amazon EC2 cloud.

There is more than one way, but the EC2 native way is by using an Elastic Load Balancer.
a. You need a dependable way to automatically start-up a new web server clone. In the ELB case, you will install the web server, configure it, and create a private AMI.
b. You create an autoscaling policy that specifies your private AMI.
c. Configure the ELB to use the autoscaling policy, and point the ELB at running instances.
d. Configure your DNS to point your www record to the ELB in a CNAME.

> Set up a load balanced Linux database server in the Amazon EC2 cloud
Load balancing databases stinks. Which database did you have in mind?

> Set up a windows 2008 development server
Ask the developers which tools they use and need. They know best.
The only thing here is also to have a private AMI after the server is set up, and the proper security groups to control access.

> And lastly, I need all of those servers to act as a network
Each EC2 server has a security group associated with it. The security group can refer to IP addressing or to another security group. So you can define on the database server that only the web servers OR the dev server can access it, by specifying their security group.
YashyAuthor Commented:
Thank you for both of your help.

I'm working on this and have managed to get a web server up but still lots to do. I appreciate the input:)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Cloud Computing

From novice to tech pro — start learning today.