Skip to content

chore(build): fix AWS AMI build issues#7094

Merged
bluestreak01 merged 5 commits into
masterfrom
steve-fix-ami
May 14, 2026
Merged

chore(build): fix AWS AMI build issues#7094
bluestreak01 merged 5 commits into
masterfrom
steve-fix-ami

Conversation

@sklarsa
Copy link
Copy Markdown
Contributor

@sklarsa sklarsa commented May 12, 2026

This PR fixes several issues:

  1. Removes an errant apostrophe at the end of the bundled server.conf
  2. Modernizes systemd service for AWS Linux '23
  3. Bumps java runtime to corretto 17

Will post testing details in comments once I've run a new build (should be tomorrow)

Fixes #7093

@sklarsa sklarsa self-assigned this May 12, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 12, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: c40db253-dec5-4db4-b4ad-444fdc6cd36a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch steve-fix-ami

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sklarsa sklarsa added the DO NOT MERGE These changes should not be merged to main branch label May 12, 2026
@sklarsa
Copy link
Copy Markdown
Contributor Author

sklarsa commented May 13, 2026

Just built an AMI and spun up an instance. QuestDB launches correctly.

● questdb.service - QuestDB
                                                                                              Loaded: loaded ([/usr/lib/systemd/system/questdb.service](file:///usr/lib/systemd/system/questdb.service); enabled; preset: disabled)
    Drop-In: /etc/systemd/system/questdb.service.d
             └─[override.conf ](file:///etc/systemd/system/questdb.service.d/override.conf)                                                                                            Active: active (running) since Wed 2026-05-13 16:00:48 UTC; 3min 51s ago
       Docs: https://www.questdb.io/docs/introduction
   Main PID: 6508 (java)
      Tasks: 31                                                                                                          Memory: 447.4M
        CPU: 13.904s
     CGroup: /system.slice/questdb.service
             └─6508 /usr/bin/java -XX:+UnlockExperimentalVMOptions -XX:+AlwaysPreTouch -XX:+UseParallelGC -DQuestDB…

May 13 16:01:03 ip-172-31-47-169.eu-west-1.compute.internal questdb[6508]: 2026-05-13T16:01:03.850875Z A server…njoy
May 13 16:01:06 ip-172-31-47-169.eu-west-1.compute.internal questdb[6508]: 2026-05-13T16:01:06.739063Z I http-s…t=1]
May 13 16:01:06 ip-172-31-47-169.eu-west-1.compute.internal questdb[6508]: 2026-05-13T16:01:06.741199Z I i.q.c.…tml]
May 13 16:01:06 ip-172-31-47-169.eu-west-1.compute.internal questdb[6508]: 2026-05-13T16:01:06.743816Z I http-s…eue]
May 13 16:03:27 ip-172-31-47-169.eu-west-1.compute.internal questdb[6508]: 2026-05-13T16:03:27.071389Z I http-s…t=1]May 13 16:03:27 ip-172-31-47-169.eu-west-1.compute.internal questdb[6508]: 2026-05-13T16:03:27.071731Z I i.q.c.…tml]
May 13 16:03:27 ip-172-31-47-169.eu-west-1.compute.internal questdb[6508]: 2026-05-13T16:03:27.072682Z I http-s…eue]
May 13 16:04:02 ip-172-31-47-169.eu-west-1.compute.internal questdb[6508]: 2026-05-13T16:04:02.665303Z I http-s…t=1]May 13 16:04:02 ip-172-31-47-169.eu-west-1.compute.internal questdb[6508]: 2026-05-13T16:04:02.665532Z I i.q.c.…tml]
May 13 16:04:02 ip-172-31-47-169.eu-west-1.compute.internal questdb[6508]: 2026-05-13T16:04:02.667372Z I http-s…eue]
Hint: Some lines were ellipsized, use -l to show in full.
sh-5.2$ curl localhost:9000/index.html
                                                                              <!DOCTYPE html>
<html>

                                                                                                              <head>
  <meta charset="utf-8">
  <link rel="icon" href="assets/favicon.ico">
  <link rel="icon" href="assets/favicon.svg" type="image/svg+xml">                                                    <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="description"
    content="QuestDB live demo. Query three large datasets and more than 2 billion rows in milliseconds with SQL" />
  <title>QuestDB · Console</title>
  <script type="module" crossorigin src="./assets/index-Cg4NZQY-.js"></script>
  <link rel="modulepreload" crossorigin href="./assets/vendor-DsPrTxrp.js">
  <link rel="stylesheet" crossorigin href="./assets/index-DhT2UWZo.css">
</head>

<body class="mini-navbar pace-done">                                                                                  <div id="root"></div>
  <div id="sideMenu"></div>
</body>
</html>

@sklarsa sklarsa removed the DO NOT MERGE These changes should not be merged to main branch label May 13, 2026
javier
javier previously approved these changes May 13, 2026
@bluestreak01
Copy link
Copy Markdown
Member

@sklarsa next release will run on JDK25

@sklarsa
Copy link
Copy Markdown
Contributor Author

sklarsa commented May 13, 2026

@bluestreak01 updated for graalvm v25

</html>
sh-5.2$ sudo systemctl status --no-pager questdb
● questdb.service - QuestDB
     Loaded: loaded ([/usr/lib/systemd/system/questdb.service](file:///usr/lib/systemd/system/questdb.service); enabled; preset: disabled)
    Drop-In: /etc/systemd/system/questdb.service.d
             └─override.conf
     Active: active (running) since Wed 2026-05-13 16:56:52 UTC; 27s ago
       Docs: https://www.questdb.io/docs/introduction
   Main PID: 2604 (java)
      Tasks: 30
     Memory: 463.4M
        CPU: 8.121s
     CGroup: /system.slice/questdb.service
             └─2604 /usr/bin/java -XX:+UnlockExperimentalVMOptions -XX:+AlwaysPreTouch -XX:+UseParallelGC -DQuestDB…

May 13 16:56:57 ip-172-31-43-167.eu-west-1.compute.internal questdb[2604]: QuestDB configuration files are in /…conf
May 13 16:56:57 ip-172-31-43-167.eu-west-1.compute.internal questdb[2604]:
May 13 16:56:57 ip-172-31-43-167.eu-west-1.compute.internal questdb[2604]: 2026-05-13T16:56:57.204140Z A server…c95a
May 13 16:56:57 ip-172-31-43-167.eu-west-1.compute.internal questdb[2604]: 2026-05-13T16:56:57.342629Z A server…njoy
May 13 16:57:07 ip-172-31-43-167.eu-west-1.compute.internal questdb[2604]: 2026-05-13T16:57:07.690717Z I http-s…t=1]
May 13 16:57:07 ip-172-31-43-167.eu-west-1.compute.internal questdb[2604]: 2026-05-13T16:57:07.692216Z I i.q.c.…l=/]
May 13 16:57:08 ip-172-31-43-167.eu-west-1.compute.internal questdb[2604]: 2026-05-13T16:57:08.529790Z I http-s…eue]
May 13 16:57:10 ip-172-31-43-167.eu-west-1.compute.internal questdb[2604]: 2026-05-13T16:57:10.252724Z I http-s…t=1]
May 13 16:57:10 ip-172-31-43-167.eu-west-1.compute.internal questdb[2604]: 2026-05-13T16:57:10.253271Z I i.q.c.…tml]
May 13 16:57:10 ip-172-31-43-167.eu-west-1.compute.internal questdb[2604]: 2026-05-13T16:57:10.254592Z I http-s…eue]
Hint: Some lines were ellipsized, use -l to show in full.
sh-5.2$ ps aux | grep questdb
questdb     2604 20.8  5.0 38705844 406848 ?     Ssl  16:56   0:08 /usr/bin/java -XX:+UnlockExperimentalVMOptions -XX:+AlwaysPreTouch -XX:+UseParallelGC -DQuestDB-Runtime-66535 -ea -Dnoebug --add-exports java.base/jdk.internal.math=io.questdb -p /usr/local/bin/questdb.jar -m io.questdb/io.questdb.ServerMain -d /var/lib/questdb
root        2737  0.6  0.3 1246228 25896 ?       Sl   16:57   0:00 /usr/bin/ssm-session-worker steven@questdb.com-blaxj9itsh3lp6js5reg5tqogq
ssm-user    2845  0.0  0.0 222344  2180 pts/0    S+   16:57   0:00 grep questdb
sh-5.2$ /usr/bin/java --version
openjdk 25.0.2 2026-01-20
OpenJDK Runtime Environment GraalVM CE 25.0.2+10.1 (build 25.0.2+10-jvmci-b01)
OpenJDK 64-Bit Server VM GraalVM CE 25.0.2+10.1 (build 25.0.2+10-jvmci-b01, mixed mode, sharing)

@bluestreak01 bluestreak01 merged commit a964c22 into master May 14, 2026
48 checks passed
@bluestreak01 bluestreak01 deleted the steve-fix-ami branch May 14, 2026 00:43
RaphDal pushed a commit that referenced this pull request May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AWS AMI misconfiguration prevents QuestDB startup

3 participants