Create New Document

The title of your document (will be displayed as H1)
URL-friendly name (no spaces, use dashes)
Path where to create document (optional, use forward slashes to create subdirectories)

Move/Rename Document

Current location of the document
New path for the document (including the slug)
This only changes the document's path. It does not modify the document's title (H1 heading).

Delete Document

Are you sure you want to delete this document? This action cannot be undone.

Warning: If this is a folder, all contents including subfolders and documents will be deleted.

Message

Message content goes here.

Confirm Action

Are you sure?

Attachments

Allowed file types: jpg, jpeg, png, gif, svg, webp, txt, log, csv, sfd, zip, pdf, docx, xlsx, pptx, mp4 (Max: 10MB)

Document Files

Loading attached files...

Document History

Previous Versions

Loading versions...

Preview

Select a version to preview

Wiki Settings

Language for the user interface
Number of versions to keep per document. Set to 0 to disable versioning.
Maximum allowed file size for uploads in MB.

User Management

Add New User

Leave empty to keep current password
Users with these groups can access restricted sections.

Define path-based access rules for sections of your wiki, then assign users to groups in the Users tab. Rules are evaluated in order. First match wins.

Active Rules

Import markdown files from a ZIP archive. Files will be processed and stored in the appropriate document structure. Directory structure in the ZIP (category/subcategory) will be preserved in the wiki.

Upload a ZIP file containing markdown (.md) files to import.

Create and manage backups of your wiki data. Backups include all documents, images, and configuration files.

Available Backups

Loading backups...

Add/Edit Access Rule

Selected: /

Add Column

FDW Instance Setup - Operational Guide

Overview

Create an RDS instance with postgres_fdw foreign tables pointing to another RDS instance.

Architecture

Instance Role Endpoint
fdw Production FDW fdw.ckf1dmra10jg.eu-west-1.rds.amazonaws.com
fdw-dev Develop FDW fdw-dev.ckf1dmra10jg.eu-west-1.rds.amazonaws.com
eks-mnemonica-prod Production DB eks-mnemonica-prod.ckf1dmra10jg.eu-west-1.rds.amazonaws.com
k8sdev Develop DB k8sdev.ckf1dmra10jg.eu-west-1.rds.amazonaws.com

Steps to Create a New FDW Instance

1. Create FDW reader user on source database

CREATE USER fdw_reader WITH PASSWORD '<password>';
GRANT CONNECT ON DATABASE <dbname> TO fdw_reader;
GRANT USAGE ON SCHEMA public TO fdw_reader;
GRANT SELECT ON ALL TABLES IN SCHEMA public TO fdw_reader;

2. Create RDS instance

aws rds create-db-instance \
  --db-instance-identifier <instance-name> \
  --db-instance-class db.t4g.micro \
  --engine postgres \
  --engine-version 14 \
  --master-username postgres \
  --master-user-password <password> \
  --allocated-storage 20 \
  --storage-type gp3 \
  --vpc-security-group-ids <sg-id> \
  --db-subnet-group-name <subnet-group> \
  --no-publicly-accessible \
  --storage-encrypted \
  --backup-retention-period 7 \
  --deletion-protection

3. Configure postgres_fdw

CREATE EXTENSION IF NOT EXISTS postgres_fdw;

CREATE SERVER <server_name>
  FOREIGN DATA WRAPPER postgres_fdw
  OPTIONS (host '<source-endpoint>', port '5432', dbname '<dbname>');

CREATE USER MAPPING FOR postgres
  SERVER <server_name>
  OPTIONS (user 'fdw_reader', password '<password>');

4. Create foreign tables

CREATE FOREIGN TABLE public.<table_name> (
    -- columns matching source table
)
SERVER <server_name>
OPTIONS (schema_name 'public', table_name '<source_table_name>');

5. Create application user

CREATE USER <app_user> WITH PASSWORD '<password>';
GRANT USAGE ON FOREIGN SERVER <server_name> TO <app_user>;
GRANT USAGE ON SCHEMA public TO <app_user>;
GRANT SELECT, INSERT, UPDATE, DELETE ON ALL TABLES IN SCHEMA public TO <app_user>;

Useful Commands

-- List foreign servers
\des+

-- List foreign tables
\dE+

-- View table grants
\dp

-- Drop user with foreign server grants
REVOKE ALL ON FOREIGN SERVER <server_name> FROM <user>;
DROP USER <user>;

Files

Attached Files

Loading attached files...

Comments

No comments yet. Be the first to comment!

Search Results