Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6190563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T02:36:40+00:00 2026-05-24T02:36:40+00:00

I need to build a web service application for my client, using the following

  • 0

I need to build a web service application for my client, using the following Cloud environment:

I need to install the Tomcat server on my amazon EC2 instance.
I need an Elastic infrastructure leveraging CloudWatch, Elastic Load Balancer (ELB), and AutoScale services provided by the Amazon Web Services (AWS) Java APIs. As load increases, I need to be able to dynamically scale the deployment, and when load decreases I need to release the wasted capacity.

Can anyone please teach me how to start on this (preferably using the Amazon JAVA API to handle most of the requirements)?

How can I install and configure my Tomcat server on the Amazon EC2 instance in such a way that it will leverage the use of Elasticity (ELB)? Is it better to install the tomcat server by myself, or should I make use of the AMI that already has Tomcat pre-installed?

I already have the Web Service application file (WAR) generated from my eclipse IDE. How can I proceed from there? What extra configuration should I make to be able to deploy this application on my EC2 instance?

I need to scale just this instance to demonstrate elasticity at this tier of the application. I need to generate load on an instance – that will in turn generate an alert (CPUAvgUtil exceeds a threshold) – which would be used in AutoScale to trigger a new instance – that ELB will then use to load balance the incoming web requests. When I have a lot of request, the Load Balancer should create new instance to serve the client’s web request.

Could someone explain me how can I proceed with these requirements to achieve good scalability?

EDIT

Based on the comment from dtuckernet below, this task can automatically be handle by using Elastic beanstalk. Any ideas on how to do it manually in Java (such as initializing the cloudwatch, ELB, and autoscale, and set an alarm to monitor the cpu usage)? I know that this is possible, as amazon actually have java API for that. However I couldn’t find any example code on the Amazon website that relates to Cloudwatch, ELB, and autoscale. I just wanna practice with the underlying infrastructures to have a thorough understanding on that, instead of using the Amazon Elastic beanstalk.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T02:36:40+00:00Added an answer on May 24, 2026 at 2:36 am

    This sounds exactly like a situation that Amazon Elastic Beanstalk could handle. Elastic Beanstalk takes all of the configuration hassle out of the mix for you, and it takes care of launching the appropriate EC2 servers with Tomcat pre-installed. All you have to do it setup your WAR file and then set your scaling points.

    http://aws.amazon.com/elasticbeanstalk/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We need to build an administration portal website to support our client/server application. Since
The problem is I need to build a web service client from a file
I need to build a client application that connects to the team foundation server
We have been using a web application framework to build apps that need to
I am unable to create a Web Service Client in my NetBeans Web Application
Given a public SOAP web service and no WSDL, I need to build a
I have a Silverlight client that I need to call a web service. The
I need to build a web application which complies with the WCAG 2.0 specification
I need to build a server to accept client connection with a very high
I want to build a web-based irc client with JQuery. I know I need

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.