Difference between revisions of "Infrastructure"

From Kosmos Wiki
Jump to navigation Jump to search
m
 
(43 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The Kosmos project is running some community IT infrastructure, currently sponsored by 5apps. Please ask in #kosmos-dev on Freenode if you need access, changes, info, or whatever else.
+
The Kosmos project is running some community IT infrastructure, currently sponsored by 5apps. Please ask in ops@kosmos.chat if you need access, changes, info, or whatever else.
  
 
== Servers ==
 
== Servers ==
  
Most things are configured via Chef Solo, based on https://gitea.kosmos.org/kosmos/chef
+
Most things are configured via Chef Solo/Zero, based on https://gitea.kosmos.org/kosmos/chef
  
 
=== Hetzner ===
 
=== Hetzner ===
Line 11: Line 11:
 
==== andromeda.kosmos.org ====
 
==== andromeda.kosmos.org ====
  
Running Ubuntu 18.04 LTS
+
''Retired''
 +
 
 +
==== centaurus.kosmos.org ====
 +
 
 +
''retired''
 +
 
 +
==== draco.kosmos.org ====
 +
 
 +
VMs:
 +
 
 +
* bitcoin-2
 +
** bitcoind (mainnet)
 +
** NBXplorer
 +
** BTCPay Server (btcpay.kosmos.org)
 +
** LND (ln2.kosmos.org, [https://www.robtex.com/lightning/node/024cd3be18617f39cf645851e3ba63f51fc13f0bb09e3bb25e6fd4de556486d946 node info])
 +
** Ride The Lightning (10.1.1.163:3000)
 +
* wiki-1
 +
** wiki.kosmos.org (you're looking at it)
 +
* ipfs-1
 +
** ipfs.kosmos.org (IPFS node + public gateway)
 +
*** <code>ipfs swarm connect /ip4/148.251.237.73/tcp/4001/ipfs/QmZ4Lpzhz8bafbTYvEMMCmrbrMM4JfyHDR23WbCSAd9bo7</code>
 +
** [https://gitea.kosmos.org/kredits/ipfs-pinner/ ipfs-pinner] (pinning kredits data from smart contract events)
 +
* ejabberd-4
 +
** ejabberd cluster node (kosmos.org XMPP and kosmos.chat MUC)
 +
* akkounts-1
 +
** Akkounts (accounts.kosmos.org)
 +
* postgres-2
 +
** PostgreSQL master node
 +
* zerotier-2
 +
** Zerotier One network controller
 +
* uploads-1
 +
** ejabberd file uploads
 +
* garage-2
 +
** Garage cluster node
 +
* redis-1
 +
** Redis cluster node
 +
* sentry-1
 +
** Sentry service (currently only accessible via private network)
 +
* lq-1
 +
** Liquor Cabinet (RS API)
 +
 
 +
==== fornax.kosmos.org ====
 +
 
 +
Host:
 +
 
 +
* Kosmos website (kosmos.org)
 +
* Kosmos static assets (assets.kosmos.org)
  
Currently hosting:
+
VMs:
  
* kosmos.org XMPP and chat.kosmos.org MUC (ejabberd)
+
* mastodon-3
* bitcoind (mainnet)
+
** [https://kosmos.social kosmos.social] (Mastodon)
* lnd (mainnet, [https://www.robtex.com/lightning/node/024cd3be18617f39cf645851e3ba63f51fc13f0bb09e3bb25e6fd4de556486d946 node info])
+
* nodejs-4
* c-lightning (mainnet, [https://www.robtex.com/lightning/node/03e26a98ee4d1320d5775fab291580969180592db3679e6d32e360dbd147066ca3 node info])
+
** [https://gitea.kosmos.org/kosmos/wormhole wormhole] (IRC/XMPP bridge between Kosmos rooms on Freenode and kosmos.chat)
* ipfs.kosmos.org (IPFS node)
+
** [https://github.com/67P/kredits-github kredits-github]
* ipfs-cluster (to ensure kredits data is replicated)
+
** sockethub.kosmos.org ([https://github.com/sockethub/sockethub sockethub])
* [https://kosmos.social kosmos.social] (Mastodon)
+
* postgres-4
* wiki.kosmos.org (you're looking at it)
+
** PostgreSQL hot standby node
 +
* rsk-mainnet-2
 +
** rsk.kosmos.org (mainnet)
 +
* rsk-testnet-3
 +
** rsk-testnet.kosmos.org (testnet)
 +
* gitea-2
 +
** Gitea (gitea.kosmos.org)
 +
* discourse-2
 +
** Discourse (community.kosmos.org)
 +
* drone-1
 +
** Drone CI (drone.kosmos.org)
 +
* ejabberd-7
 +
** ejabberd cluster node (kosmos.org XMPP and kosmos.chat MUC)
 +
* ldap-2
 +
** ldap.kosmos.local ([[Infrastructure:LDAP]])
 +
* redis-2
 +
** Redis cluster node
 +
* lq-2
 +
** Liquor Cabinet (RS API)
  
 
=== Digital Ocean ===
 
=== Digital Ocean ===
Line 32: Line 96:
 
Currently hosting:
 
Currently hosting:
  
* sockethub.kosmos.org (Sockethub)
 
 
* Some IRC and XMPP bots (incl. botka and hal8000 on freenode)
 
* Some IRC and XMPP bots (incl. botka and hal8000 on freenode)
* IPFS + ipfs-cluster (syncing with andromeda)
+
* IPFS + [https://gitea.kosmos.org/kosmos/kredits-ipfs-pinner/ kredits-ipfs-pinner]
 
 
=== GKE ===
 
 
 
We started experimenting with Kubernetes recently. There's a 3-node cluster running on Google Kubernetes Engine at the moment.
 
 
 
* [https://gitea.kosmos.org/ gitea.kosmos.org] (Gitea, see [https://gitea.kosmos.org/kosmos/gitea.kosmos.org/ config repo])
 
* [https://heptio.github.io/ark/ ark] (backups)
 

Latest revision as of 14:32, 12 May 2023

The Kosmos project is running some community IT infrastructure, currently sponsored by 5apps. Please ask in ops@kosmos.chat if you need access, changes, info, or whatever else.

Servers

Most things are configured via Chef Solo/Zero, based on https://gitea.kosmos.org/kosmos/chef

Hetzner

These are root servers run by Hetzner Online GmbH in German datacenters (using renewable energy).

andromeda.kosmos.org

Retired

centaurus.kosmos.org

retired

draco.kosmos.org

VMs:

  • bitcoin-2
    • bitcoind (mainnet)
    • NBXplorer
    • BTCPay Server (btcpay.kosmos.org)
    • LND (ln2.kosmos.org, node info)
    • Ride The Lightning (10.1.1.163:3000)
  • wiki-1
    • wiki.kosmos.org (you're looking at it)
  • ipfs-1
    • ipfs.kosmos.org (IPFS node + public gateway)
      • ipfs swarm connect /ip4/148.251.237.73/tcp/4001/ipfs/QmZ4Lpzhz8bafbTYvEMMCmrbrMM4JfyHDR23WbCSAd9bo7
    • ipfs-pinner (pinning kredits data from smart contract events)
  • ejabberd-4
    • ejabberd cluster node (kosmos.org XMPP and kosmos.chat MUC)
  • akkounts-1
    • Akkounts (accounts.kosmos.org)
  • postgres-2
    • PostgreSQL master node
  • zerotier-2
    • Zerotier One network controller
  • uploads-1
    • ejabberd file uploads
  • garage-2
    • Garage cluster node
  • redis-1
    • Redis cluster node
  • sentry-1
    • Sentry service (currently only accessible via private network)
  • lq-1
    • Liquor Cabinet (RS API)

fornax.kosmos.org

Host:

  • Kosmos website (kosmos.org)
  • Kosmos static assets (assets.kosmos.org)

VMs:

  • mastodon-3
  • nodejs-4
  • postgres-4
    • PostgreSQL hot standby node
  • rsk-mainnet-2
    • rsk.kosmos.org (mainnet)
  • rsk-testnet-3
    • rsk-testnet.kosmos.org (testnet)
  • gitea-2
    • Gitea (gitea.kosmos.org)
  • discourse-2
    • Discourse (community.kosmos.org)
  • drone-1
    • Drone CI (drone.kosmos.org)
  • ejabberd-7
    • ejabberd cluster node (kosmos.org XMPP and kosmos.chat MUC)
  • ldap-2
  • redis-2
    • Redis cluster node
  • lq-2
    • Liquor Cabinet (RS API)

Digital Ocean

barnard.kosmos.org

Running Ubuntu 18.04 LTS

Currently hosting: