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

Yashy
Yashy used Ask the Experts™
on
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?

Thanks
Yashy
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Global Windows Infrastructure Engineer - Consultant
Top Expert 2013
Commented:
Hi,

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
http://aws.amazon.com/console/

For various documentation, please visit
http://aws.amazon.com/documentation/

http://aws.amazon.com/articles/9982940049271604

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.

http://docs.aws.amazon.com/gettingstarted/latest/awsgsg-freetier/TestDriveFreeTier.html

Regards
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.
Steps:
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.

Author

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:)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial