Anyone familiar with Amazon EC2 and setting up infrastructure on there?

hi guys,

I'm setting up a website infrastructure for my friend. He wants everything hosted in the cloud.

We've signed up to Amazon cloud and can begin the set up. The PDF attached is what they recommend.

I need to basically set up the infrastructure to have an Apache web server, a MySQL database server, a microsoft development server and a content delivery network.

This is a start up with the site being the entire focus of the business. It will consist of a lot of videos/pictures being stored/viewed as time goes on, but not necessarily instantly.

I am a little stuck whether I should create one web server and one application server and two database servers?

Also, what's the different between the application server a database server? I thought the application server would consist of the MYSQL application and respond to requests? Any info would be great guys.

Thank you
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 Amazon EC2, application and web servers work greatly in a situation whereby you are working in tier-level and you want to separate your application tier from the web tier, you can have 2 tier level, 3 tier level.

You are proposing to have 3 tier architecture whereby you have web tier - IIS/Apache (Presentation), application tier - IIS/Apache(Logic) and the database tier- MySQL (Database)

The main benefits of this architectural tier are:
1. Maintainability. Because each tier is independent of the other tiers, updates or changes can be carried out without affecting the application as a whole.
2. Scalability. Because tiers are based on the deployment of layers, scaling out an application is reasonably straightforward.
3. Flexibility. Because each tier can be managed or scaled independently, flexibility is increased.
4. Availability. Applications can exploit the modular architecture of enabling systems using easily scalable components, which increases availability.

You need to note that your Web and application are not load balanced and if you cannot afford any downtime for your application you need to cater for this.

Let me know if you need more information.


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
YashyAuthor Commented:
thank you so much for your feedback.

Is what you wrote based on the pdf file I attached?

Do you propose a similar outline to our architecture in the way that Amazon has shown?
Emmanuel AdebayoGlobal Windows Infrastructure Engineer - ConsultantCommented:
Yes,  but I don't know much about how your application works or your requirement, it might be that you can make your web and application to run from the same server so that you can load balance the Web and application through the Amazon EC2.

I hope this is clear.

YashyAuthor Commented:
But then does it usually work as such:

Example of application server is where the MYSQL is installed.

Example of the database server is where the actual database is located?
YashyAuthor Commented:
The website will be running php, mysql for its database and HTML, jquery, javascript.

Would you set up php for the web server, mysql on the database server?

Then my question is, what would run on the actual application server?
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.