Apache Tomcat
GroupStack Image
Multiple Apache Tomcat EC2 Instances
robustack.com
Configuration
Apache Tomcat
robustack.com
Security Group0m
EC2 instance01
EC2 instance0n
Apache Tomcat
root
/home/tomcat
root
/home/tomcat
Security Group01
JMX / APR
JMX / APR
Features
- Group launch, start/stop and reboot with predefined procedure
- Group snapshot and restore with individual scaling of resources - instance type, ebs volume size
- GroupStack cloning over cross-regions and multi-AWS accounts
- GroupStack cloning from EC2 classic to VPC and vice versa
robustack.com
Group Launch
- Creates EBS volumes
- Apache Tomcat data 01 (vol-tomcat01)
- Apache Tomcat data 0n (vol-tomcat0n)
- Security Groups and Rules creation
- SSH(22), HTTP(8080), HTTPS(8443)
- Launchs Instances (On-Demand or Spot)
- Attaches EBS Volumes to Instances
-
Creates and mounts Filesystems
- vol-tomcat ( /home/apache-tomcat ...)
robustack.com
Group Launch - cont'd
-
Installs Softwares
- Apache Tomcat 7 (apache.org)
- libtcnative Tomcat Native Library
- JMX Remote (catalina-jmx-remote.jar)
- $CATALINA_HOME/conf/server.xml
- $CATALINA_HOME/bin/setenv.sh
- Starts Tomcat Stacks
- $CATALINA_HOME/startup.sh
robustack.com
Group Start
- You can change Instance types if required
- You can change Bidding Price for Spot Instances if necessary
- Starts Instances. If any of them is Spot, it will newly be requested with preserved AMI which was created when the Instance was stopped.
- Attaches Volumes if they are members of Spot Instances
- Mounts Filesystems
- Runs Post Bash Scripts (System/User Defined)
- Starts Application with pre-defined Start Order and dependencies
robustack.com
Group Reboot
- Stops Applications with reversed Start Order and dependencies
- Unmounts Filesystems
- Reboots Instances
- Checks if Instance reboot completed
- Mounts Filesystems
- Runs Post Bash Script (System/User Defined)
- Starts Applications with pre-defined Start Order and dependencies
robustack.com
Group Snapshot
- Freezes Filesystems if configured to do that and starts snapshot EBS Volumes (including root Volumes) immediately. And just after start snapshot initiated, unfreezes Filesystems.
- The status of Filesystems and Instances when the Snapshot Initiated will be saved for future reference
- Restoring GroupStack Snapshot which was snapshoted while it was running MAY NOT BE SUCCESSFUL . You should verify it.
robustack.com
Group Snapshot Restore
- Group Snapshot is restorable when the GroupStack is in 'stopped' status.
- Size of GroupStack Volumes (including root) can be increased through Group Snapshot Restore
- Detaches Volumes (includeing root) from Instances and creates new volumes from Group Snapshot
- Attaches Volumes to the instances if the creation completed.
- Starts Instances and resizes root Volumes
- Resizes and mounts (or vice versa) Filesystems
robustack.com
Clone GroupStack
- You can Clone GroupStack with Group Snapshot
- Cloning GroupStack over other Availability Zone or other Region, other AWS Account is possible
- If you clone GroupStack over other Region, all Group Snapshot will be copied to the destination first and then the original GroupStack configuration will be transformed into the Region.
robustack.com
Clone GroupStack - cont'd
- You can launch cloned GroupStack with minimal configuration modifications.
- GroupStack variables, schedules, triggers and Security Group rules referencing objects outside GroupStack will not be cloned to new one.
- You may require modifying Post Bash Scripts as needed.
robustack.com
Apache Tomcat
Open-source web server and servlet container developed by the Apache Software Foundation
robustack.com
Tomcat Native Library
Tomcat Native Library gives Tomcat access to the Apache Portable Runtime (APR) library's network connection (socket) implementation and random-number generator.
JMX Remote
Java Management Extensions (JMX) is a Java technology that supplies tools for managing and monitoring applications, system objects, devices and service-oriented networks.
Looking inside a running server, obtaining some statistics or reconfiguring some aspects of an application is possible through this technology.
robustack.com
info-tomcat-amazon
By robustack.com
info-tomcat-amazon
Robustack Image Information - Group Apache Tomcat Stacks
- 802