Upgrade the AWS Blu Age Runtime on Amazon EC2 - AWS Mainframe Modernization

AWS Mainframe Modernization Service (Managed Runtime Environment experience) is no longer open to new customers. For capabilities similar to AWS Mainframe Modernization Service (Managed Runtime Environment experience) explore AWS Mainframe Modernization Service (Self-Managed Experience). Existing customers can continue to use the service as normal. For more information, see AWS Mainframe Modernization availability change.

Upgrade the AWS Blu Age Runtime on Amazon EC2

This guide describes how to upgrade the AWS Blu Age Runtime on Amazon EC2.

Prerequisites

Before you begin, make sure you meet the following prerequisites.

Upgrade the AWS Blu Age Runtime in the Amazon EC2 instance

Complete the following steps to upgrade the AWS Blu Age Runtime.

  1. Connect to your Amazon EC2 instance and change the user to su by running the following command.

    sudo su

    You need superuser privilege to run commands in this tutorial.

  2. To extract the binaries, use the following commands. Run the commands in each folder.

    unzip gapwalk-x.y.z.zip unzip aws-bluage-webapps-x.y.z.zip
  3. Stop the Apache Tomcat services by using the following commands.

    systemctl stop tomcat.service systemctl stop tomcat-webapps.service
  4. Replace the content of <your-tomcat-path>/shared/ with the content of gapwalk-x.y.z/shared/.

  5. Replace <your-tomcat-path>/webapps/gapwalk-application.war with gapwalk-x.y.z/webapps/gapwalk-application.war.

  6. Replace the war files in <your-tomcat-path>/webapps/, namely bac.war and jac.war, with the same files from aws-bluage-webapps-x.y.z/velocity/webapps/.

  7. Start the Apache Tomcat services by running the following commands.

    systemctl start tomcat.service systemctl start tomcat-webapps.service
  8. Check the logs.

To check the status of the deployed application, run the following commands.

curl http://localhost:8080/gapwalk-application/

The following message should appear.

Jics application is running
curl http://localhost:8181/jac/api/services/rest/jicsservice/

The following message should appear.

Jics application is running
curl http://localhost:8181/bac/api/services/rest/bluesamserver/serverIsUp

The response should be empty.

The AWS Blu Age runtime is successfully upgraded.

Upgrade the AWS Blu Age Runtime in a container

Complete the following steps to upgrade the AWS Blu Age Runtime.

  1. Rebuild your Docker image with the desired AWS Blu Age Runtime version. For instructions, see Set up AWS Blu Age Runtime on Amazon EC2.

  2. Push your Docker image to your Amazon ECR repository.

  3. Stop and restart your Amazon ECS or Amazon EKS service.

  4. Check the logs.

The AWS Blu Age Runtime is successfully upgraded.