Proyecto

General

Perfil

Apache ActiveMQ Artemis by Neodoo En » Histórico » Versión 2

Francisco Javier Solans Benedí, 2024-03-12 20:25

1 2 Francisco Javier Solans Benedí
# Usage Instructions
2 1 Francisco Javier Solans Benedí
3 2 Francisco Javier Solans Benedí
## Getting started
4 1 Francisco Javier Solans Benedí
5 2 Francisco Javier Solans Benedí
1. Launch the product via 1-Click
6
2. Use a web browser to access the **Administration** console at: http://[ec2-ip]:8161/console, where [ec2_ip] is the public ip provided by Amazon for your instance.
7
3. Log in using the following credentials:
8
   * Username: admin or user
9
   * Password: the instance_id of the instance
10 1 Francisco Javier Solans Benedí
11
You can also access your instance via SSH using the username and your Amazon private key.
12
13 2 Francisco Javier Solans Benedí
The **username** depends on the operative system :
14
* Centos 9 Stream: 'ec2-user'
15
* Other Centos: 'centos'
16
* Ubuntu: 'ubuntu'
17
* Rocky Linux: 'rocky'
18 1 Francisco Javier Solans Benedí
19 2 Francisco Javier Solans Benedí
## Installation details
20 1 Francisco Javier Solans Benedí
21
ActiveMQ Artemis server is installed in /usr/java/apache-artemis-[version] directory, which is linked to /usr/java/apache-artemis.
22 2 Francisco Javier Solans Benedí
23 1 Francisco Javier Solans Benedí
Server service is configured with systemd.
24
25
View status server:
26 2 Francisco Javier Solans Benedí
``` shell
27 1 Francisco Javier Solans Benedí
[centos@ip-172-31-9-232 etc]$ sudo systemctl status artemis
28 2 Francisco Javier Solans Benedí
```
29 1 Francisco Javier Solans Benedí
30 2 Francisco Javier Solans Benedí
Stop server:
31
``` shell
32 1 Francisco Javier Solans Benedí
[centos@ip-172-31-9-232 etc]$ sudo systemctl stop artemis
33
34 2 Francisco Javier Solans Benedí
```
35
36
Start server:
37
``` shell
38 1 Francisco Javier Solans Benedí
[centos@ip-172-31-9-232 etc]$ sudo systemctl start artemis
39
40 2 Francisco Javier Solans Benedí
```
41
42
## Other useful data
43
44
**Location of sensitive information**
45
All the information is saved in the folder is /var/lib/\<name of your broker\>
46
47
**Encryption configuration**
48 1 Francisco Javier Solans Benedí
There is no encrypted data.
49
50 2 Francisco Javier Solans Benedí
**Changing system credentials**
51 1 Francisco Javier Solans Benedí
To change the ActiveMQ credentials you can follow the instructions in the following link:
52 2 Francisco Javier Solans Benedí
* https://activemq.apache.org/components/artemis/documentation/latest/masking-passwords
53 1 Francisco Javier Solans Benedí
54 2 Francisco Javier Solans Benedí
**Instructions on how the user interacts with ActiveMQ to decrypt necessary data**
55 1 Francisco Javier Solans Benedí
You can use the ActiveMQ management console to view all necessary data.
56
57 2 Francisco Javier Solans Benedí
**How to assess and monitor the health and proper function of the application.** 
58 1 Francisco Javier Solans Benedí
1. Navigate to your Amazon EC2 console and verify that you're in the correct region.
59
2. Choose Instance and select your launched instance.
60
3. Select the server to display your metadata page and choose the Status checks tab at the bottom of the page to review if your status checks passed or failed.
61
62 2 Francisco Javier Solans Benedí
##  Additional resources
63 1 Francisco Javier Solans Benedí
64
Following resources will help you with your first steps using Apache ActiveMQ Artemis:
65 2 Francisco Javier Solans Benedí
* https://activemq.apache.org/getting-started
66
* https://activemq.apache.org/components/artemis