IOanyT Innovations
Deployment & usage guide

Deploy Apache Tomcat Server

From subscribing on AWS Marketplace to a running, secured instance — plus day-2 operations.

Operating system

Ubuntu 22.04 LTS

SSH user

ubuntu

Default login

admin / Instance ID (password is the EC2 Instance ID)

This guide covers launching and using Apache Tomcat Server from AWS Marketplace.

Prerequisites

  • An AWS account with permission to subscribe to Marketplace products and launch EC2 instances.
  • An EC2 key pair for administrative access.

Step 1 — Subscribe & launch

  1. On the AWS Marketplace listing, choose Continue to Subscribe → Continue to Configuration → Continue to Launch.
  2. Select an instance type and your key pair.
  3. Configure the security group (see the ports below) and launch.

Step 2 — Security group / ports

Open port 22 (SSH) restricted to your IP, plus any application ports.

Step 3 — Connect

ssh -i "your-key.pem" ubuntu@<PUBLIC_IP>

If you get a key-permission error: chmod 400 your-key.pem.

Step 4 — Access the application

To verify the installation, follow the below instructions

  • Open browser
  • In the address bar of the browser, type http://<your-ip-address>:8080
  • 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 ubuntu@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>:8080/manager/html
  2. Enter the username - TomcatAdmin and password -

Default credentials: admin / Instance ID (password is the EC2 Instance ID). Change them immediately after first login.

Screenshots

Apache Tomcat Server Apache Tomcat Server Apache Tomcat Server Apache Tomcat Server

Day-2 operations

Apply OS and package security updates on your normal cadence, snapshot the EBS volume for recovery, and forward logs/metrics to CloudWatch.

Support

Email support@ioanyt.com for help.