Usage Instructions

Introduction

Apache Karaf is a modern, lightweight, modular runtime (modulith runtime) based on OSGi, designed to run enterprise applications both locally and in the cloud.

Apache Karaf is a project of the Apache Software Foundation and is released under the Apache License version 2.0, a permissive free software license that is compatible with commercial environments.

Getting started

  1. Launch the product via 1-Click
  2. Use a web browser to access the Hawtio console at http://[ec2-ip]:8181/hawtio, where [ec2-ip] is the public ip provided by Amazon for your instance.
  3. Log in using the following credentials:
    • Username: karaf
    • Password: The instance_id of the EC2 instance

You can also access your EC2 instance via SSH using the username and your Amazon private key.

The username depends on the operative system:

  • Amazon Linux: 'ec2-user'
  • Ubuntu: 'ubuntu'
  • Rocky Linux: 'rocky'
  • AlmaLinux: 'ec2-user'
  • CentOS Stream: 'ec2-user'

Installation details

To change the default username and password, edit the $KARAF_HOME/etc/users.properties file.

Apache Karaf server is installed in /opt/java/apache-karaf-[version] directory, which is linked to /opt/java/apache-karaf.

Server service is configured with systemd.

View status server:

[centos@ip-172-31-9-232 etc]$ sudo systemctl status karaf

Stop server:

[centos@ip-172-31-9-232 etc]$ sudo systemctl stop karaf

Start server:

[centos@ip-172-31-9-232 etc]$ sudo systemctl start karaf

Other useful data

Location of sensitive information

There is not sensitive data.

Encryption configuration

There is no encrypted data.

Changing system credentials

To change Karaf credentials you can follow the instructions in the following link:

Instructions on how the user interacts with Karaf to decrypt necessary data

You can use the Karaf management console to view all necessary data.

How to assess and monitor the health and proper function of the application.

  1. Navigate to your Amazon EC2 console and verify that you're in the correct region.
  2. Choose Instance and select your launched instance.
  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.

List of AMIs provisioned by Neodoo

Apache Karaf
Ubuntu Linux 22.04 LTS View
Ubuntu Linux 24.04 LTS View
Amazon Linux 2023 View

Additional resources

Following resources will help you with your first steps using Apache Karaf: