Information Technology Reference
In-Depth Information
a)
Data security on public cloud
b)
Performance issue of an application
c)
Losing control over infrastructure
d)
Vendor lock-in
There are various documents and whitepapers that talk about the data security on
cloud. Performance testing of a web application on cloud is something that has not
been touched upon. We have addressed this topic by deploying a simple web
application and testing it for variety of load with Apache JMeter load testing
tool.
A simple shopping cart application is hosted on AWS in following topologies:
a)
All In One: web server, application server and db server are installed on the
same Red Hat Enterprise Linux (RHEL) instance. Refer row number 1 in
TABLE 1 below.
b)
Two tier: Web server and application server are installed on same instance and
DB server is installed on a different instance. The web + application server
instance is configured to auto-scale [Ref 4] as per the request load on the server.
Refer row number 2 in TABLE 1 below.
c)
Three tier: Web server, application server and DB server are installed on three
separate instances. Both the Web server and Application server instances are
configured to auto-scale according to the request load. Refer row number 3 in
TABLE 1 below.
Table 1. Web Application Deployment Topologies
Scenario
ELB
Web Server
App Server
DB
1
All in One
2
Yes
Combined, Auto-Scaled
One Instance
3
Yes
Auto-Scaled
Auto-Scaled
One Instance
The auto scaled environment is configured to work with minimum two instances. This
can grow up to twenty instances depending on the load. The software load balancer
(HAProxy) is installed on the same server instance which is hosting the web server. A
custom component is deployed on each of the HAProxy server instances. This
component is responsible for the discovery of newly instantiated application server
instances. Once discovered the custom component will register those app server
instances with HAProxy server. However there would be only one DB server instance
at any given point in time. All the application servers would be pointing to the same
DB server instance.
Search WWH ::




Custom Search