Open the ActiveMQ console

Open the Amazon MQ console here http://console.aws.amazon.com/amazon-mq.

Select the broker named “Broker”

Scroll down to the Connections section and find the links to the ActiveMQ Web Console as shown below.

Let’s take a moment to learn a little more about High Availability (HA). Note that with Amazon MQ HA, any one of the two Active/Stanby brokers can be active at a time. Any client connecting to a broker uses a failover string that defines each broker that the client can connect to send or receive messages. In the screen shot below, note the strings in the Endpoints section. This shows the failover string for an Active/Standby setup with two urls listed. If you use the *copy failover string *link to copy the failover string, you will copy a string similar to the string below. This is an example of a openwire failover string.

failover:(ssl://b-bf6b2177-06a7-4490-abcd-123456780123-1.mq.us-east-2.amazonaws.com:61617,ssl://b-bf6b2177-06a7-4490-abcd-123456780123-2.mq.us-east-2.amazonaws.com:61617)

In this lab, we have already setup the clients to use this string so you do not have to manual copy it.

Now lets connect to the ActiveMQ console.

In order to connect to the active console, first click the top link, if that fails, then click the second link. Make a note of the broker link that was active by the the -1 or -2 in the name (just for information)

Failover 1

When you connect to the correct broker, select “Manage ActiveMQ broker”, in the next screen, as shown below.

Failover 2

You will be prompted to enter a username and password. Enter user workshopUser and the password workshopUser or the password you created when starting the lab.

Select “Queues” from the main screen, as shown below:

Failover 3