Deployment guide

Firebird SQL

Overview

This guide covers the deployment and configuration of Firebird SQL on Linux, using SecureAnyCloud AMIs from the AWS Marketplace. Firebird is a relational database management system that offers ANSI SQL compliance, ACID transactions, and support for stored procedures, triggers and views. It is lightweight, needs minimal administration, and runs well on modest hardware.

What you get:

  • Firebird SQL with a database listener on port 3050
  • A dedicated installation volume at /opt/firebird
  • SYSDBA credentials that are generated automatically and stored securely
  • A systemd service for automatic startup on boot
  • An OS package update script that keeps the system current
  • AWS CLI v2 for AWS service integration
  • Systems Manager Agent (SSM) for remote management
  • CloudWatch Agent for monitoring
  • The latest security patches, applied at build time
  • 24/7 SecureAnyCloud support with a guaranteed 24-hour response SLA

Prerequisites

Before you launch this AMI, make sure you have:

  • An active AWS account
  • An active subscription to the Firebird SQL listing on AWS Marketplace
  • An EC2 key pair for SSH access
  • Familiarity with EC2 instance management and SSH

Recommended instance type: t3.small (2 vCPU, 2 GB RAM) or larger. The minimum requirements are 1 vCPU, 1 GB RAM and 20 GB of disk space.

1

Launch the AMI

  • Open the AWS Marketplace and search for "Firebird SQL SecureAnyCloud".
  • Click Continue to Subscribe, accept the terms, then click Continue to Configuration.
  • Select your preferred Region and Software Version.
  • Click Continue to Launch.
  • Choose Launch through EC2 for full control over the instance configuration.
  • Select your instance type (t3.small is recommended).
  • Configure storage with a minimum of 20 GB gp3.
  • Configure your Security Group with the inbound rules below, listed as port, protocol, source and purpose:

Port 22, TCP, from your IP: SSH access.

Port 3050, TCP, from your IP: the Firebird SQL database listener for remote connectivity.

Important: Restrict port 3050 to trusted IP addresses or application servers only.

  • Select your EC2 key pair and launch the instance.
2

Connect via SSH

When your instance is running and has passed both status checks (2/2), connect over SSH:

ssh -i your-key.pem ec2-user@<public-ip-address>

To switch to the root user:

sudo su -
3

Retrieve the SYSDBA credentials

The SYSDBA password is generated randomly and stored on the instance. Read it with:

cat /stage/scripts/firebird_sysdba_password.log

Note this password. You need it to connect to the database.

4

Connect to Firebird SQL

To connect from the server command line, run isql as the root user:

isql -u sysdba

Enter the password from the firebird_sysdba_password.log file when prompted.

To connect remotely with a database client or GUI application, use these settings:

  • Host: the public or private IP of your EC2 instance
  • Port: 3050
  • Username: SYSDBA
  • Password: the value from /stage/scripts/firebird_sysdba_password.log
5

Create a database

Create a new database in isql:

CREATE DATABASE '/opt/firebird/data/myapp.fdb' USER 'SYSDBA' PASSWORD 'your_password';

Create a table:

CREATE TABLE customers ( id INTEGER NOT NULL PRIMARY KEY, name VARCHAR(100), email VARCHAR(200), created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP );

Insert data:

INSERT INTO customers (id, name, email) VALUES (1, 'John Doe', 'john@example.com'); COMMIT;

Query data:

SELECT * FROM customers;

Server components

Firebird SQL is installed at /opt/firebird.

Note: The automatic OS package update script may update component versions on first boot.

Filesystem layout

The mount points, with their sizes and descriptions, are:

/ (38 GB): root filesystem.

/boot (2 GB): operating system kernel files.

/opt/firebird (9.8 GB): Firebird SQL installation directory.

The key directories are:

/opt/firebird: Firebird installation root.

/opt/firebird/bin: Firebird binaries (isql, gbak, gfix).

/opt/firebird/data: database files (.fdb).

/opt/firebird/security4.fdb: security database (user accounts).

Managing the Firebird service

Firebird is managed through systemd and starts automatically on boot.

Check service status:

systemctl status firebird

Stop Firebird:

systemctl stop firebird

Start Firebird:

systemctl start firebird

Restart Firebird:

systemctl restart firebird

Scripts and log files

These files are in /stage/scripts:

initial_boot_update.sh: updates the OS with the latest packages on first boot.

initial_boot_update.log: the output log for the boot update script.

firebird_sysdba_password.log: the Firebird SQL SYSDBA password.

On startup

An OS package update script runs on first boot to make sure the image is fully up to date. To disable it, remove the script and its crontab entry:

rm -f /stage/scripts/initial_boot_update.sh crontab -e
# Delete the following line, save and exit: @reboot /stage/scripts/initial_boot_update.sh

Troubleshooting

Cannot connect to Firebird on port 3050

  • Verify that Firebird is running: systemctl status firebird
  • Check that your security group allows port 3050 from your IP.
  • Test local connectivity: isql -u sysdba
  • Verify that the listener is active: netstat -tlnp | grep 3050

Authentication fails

  • Verify the SYSDBA password in /stage/scripts/firebird_sysdba_password.log.
  • Make sure you use the correct case (SYSDBA is uppercase).
  • Check that the security database exists: ls /opt/firebird/security4.fdb

Database file not found

  • Verify the full path to the .fdb file.
  • Check the file permissions.
  • Make sure the Firebird user has read and write access to the data directory.

Service fails to start

  • Check the logs: journalctl -u firebird --no-pager -n 50
  • Verify disk space: df -h /opt/firebird
  • Check for port conflicts: netstat -tlnp | grep 3050

Security Recommendations

  • Change the SYSDBA password after your first login, using gsec or SQL commands.
  • Restrict port access: only allow port 3050 from trusted IPs.
  • Create application-specific users: do not use SYSDBA for application connections.
  • Secure the password file: delete /stage/scripts/firebird_sysdba_password.log after you note the value.
  • Back up databases regularly: use gbak to create transportable backups.
  • Keep Firebird updated: apply security patches when they are available.
  • Use encrypted connections: configure SSL/TLS for remote database connections.

Support

If you have any issues with this product, contact SecureAnyCloud support:

  • Email: sales@secureanycloud.com
  • Website: secureanycloud.com
  • Support hours: 24/7 with a guaranteed 24-hour response SLA

Deploy on AWS

Launch Firebird SQL with 24/7 support from SecureAnyCloud.

View on Marketplace

Need Help?

Our support team is available 24/7.

sales@secureanycloud.com

Deploy on AWS

Launch Firebird SQL with 24/7 support from SecureAnyCloud.

View on Marketplace

Need Help?

Our support team is available 24/7.

sales@secureanycloud.com