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

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?
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.