OVERVIEW
The Apache Tomcat® software is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies. The Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket specifications are developed under the Java Community Process.
If we want to send dynamic data or to make our website dynamic, we need to use the servlet. Hence, we generally need an HTTP server and what else we need is a container where we will run or servlet, so when we combine the HTTP server and the servlet (or we can say servlet container), they both combine to become a single server know as tomcat server.
Features:
Open-source and free
Reliable, stable software.
Incredibly light-weighted
Flexible due to its module-based structure.
Highly Flexible
Stable
Provides external layer of security
Well documented and highly used
GOALS
One-click launch
Easy configurable AMI with pre-installed Apache Tomcat
INSTALLATION VIA AWS MARKETPLACE
Kindly click on the below link to install the server via AWS Marketplace:
Pending...
GET STARTED
To verify the installation, follow the below instructions
Open browser
In the address bar of the browser, type http://<your-ip-address>
You will see the Apache Tomcat Manager default page (see screenshot below)
Step 1. Connect to SSH
In a terminal window, use the ssh command to connect to the instance. You specify the user name for your instance, and the public DNS name or IPv6 address for your instance, the path and file name of the private key (.pem).
ssh ec2-user@publicIP -i [Path of key pair file]
If it shows access denied message run the following command , then run the above command again to connect via ssh.
chmod 400 [Path of key pair file]
Step 2. Login via Instance ID
Follow the steps to login
1. Go to browser and open http://<your-ip-address>/manager/html
2. Enter the username - admin and password - <Instance ID>
Comments