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?
Emmanuel AdebayoConnect With a Mentor Global 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.

shalomcConnect With a Mentor CTOCommented:
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:)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.