summaryrefslogtreecommitdiff
path: root/docs/platform/en.md
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-02-11 00:09:13 -0800
committerelijah <elijah@riseup.net>2013-02-11 00:09:13 -0800
commit90055bf202b0ae4d28a52cd2d1b5f1cf14210383 (patch)
tree1e05c47b4a2c59ae3f232b83b7b10fd54dbe55c7 /docs/platform/en.md
parentf8900bc466968fd650967abc658e701c172045c0 (diff)
many edits to platform docs
Diffstat (limited to 'docs/platform/en.md')
-rw-r--r--docs/platform/en.md61
1 files changed, 44 insertions, 17 deletions
diff --git a/docs/platform/en.md b/docs/platform/en.md
index 4f4d56d..194a070 100644
--- a/docs/platform/en.md
+++ b/docs/platform/en.md
@@ -1,7 +1,20 @@
LEAP Platform Tools
+=================================
+
+If you have ever been a sysadmin for an organization or company that provides communication services to end users, you have probably screamed this many times:
+
+> $%#*&!! It shouldn't have to be this hard.
+
+We agree! The LEAP Platform is consists of a set of complementary packages and recipes to automate the maintenance of LEAP services in a hardened Debian environment. Our goal is to make it as painless as possible for sysadmins to deploy and maintain an service provider's infrastructure.
+
+There are three main parts to the platform:
+
+1. The platform recipes.
+2. The provider instance.
+3. The command line tool you use to manage your instance.
Platform recipes (leap_platform)
-=================================
+----------------------------------------
The LEAP platform recipes define an abstract service provider. It consists of puppet modules designed to work together to provide a system administrator everything they need to manage a service provider infrastructure that provides secure communication services.
@@ -9,43 +22,57 @@ Typically, a system administrator will not need to modify the LEAP platform reci
The recipes are abstract. In order to configure settings for a particular service provider, a system administrator creates a provider instance. The platform recipes also include a base provider that provider instances inherit from.
+The repository for the platform recipes is `git://leap.se/leap_platform`.
+
Provider instance
-================================
+-----------------------------------------
A "provider instance" is a directory tree (typically tracked in git) containing all the configurations for a service provider's infrastructure. A provider instance primarily consists of:
-* A configuration file for each server (node) in the provider's infrastructure (e.g. nodes/vpn1.json)
-* A global configuration file for the provider (e.g. provider.json).
-* Additional files, such as certificates and keys (e.g. files/nodes/vpn1/vpn1_ssh.pub).
-* A pointer to the platform recipes (as defined in "Leapfile")
+* A configuration file for each server (node) in the provider's infrastructure
+* A global configuration file for the provider
+* Additional files, such as certificates and keys
+* A pointer to the platform recipes
A minimal provider instance directory looks like this:
- └── rewire # provider instance directory
- ├── common.json # settings common to all nodes
- ├── Leapfile # specifies which platform recipe directory to use
- ├── provider.json # global settings of the provider
- ├── files/ # keys, certificates, and other files.
- ├── nodes/ # a directory for node configurations, one node per file
- └── users/ # public key information for privileged sysadmins
+ └── myprovider # provider instance directory
+ ├── common.json # settings common to all nodes
+ ├── Leapfile # specifies which platform recipe directory to use
+ ├── provider.json # global settings of the provider
+ ├── files/ # keys, certificates, and other files.
+ ├── nodes/ # a directory for node configurations, one node per file
+ └── users/ # public key information for privileged sysadmins
A provider instance directory contains everything needed to manage all the servers that compose a provider's infrastructure. Because of this, you can use normal git development work-flow to manage your provider instance.
Command line program (leap_cli)
-=======================================
+------------------------------------------
-The command line program `leap` is used by sysadmins to manage everything about a service provider's infrastructure. Except when creating an new provider instance, `leap` is run from within the directory tree of a provider instance.
+The [command line program](command) `leap` is used by sysadmins to manage everything about a service provider's infrastructure. Except when creating an new provider instance, `leap` is run from within the directory tree of a provider instance.
The `leap` command line has many capabilities, including:
-* Create, initialize, and deploy nodes (e.g. servers)
+* Create, initialize, and deploy nodes
* Manage keys and certificates
* Query information about the node configurations
Traditional system configuration automation systems, like puppet or chef, deploy changes to servers using a pull method. Each server pulls a manifest from a central master server and uses this to alter the state of the server.
-Instead, LEAP uses a masterless push method: The user runs 'leap deploy' from the provider instance directory on their desktop machine to push the changes out to every server (or a subset of servers). LEAP still uses puppet, but there is no central master server that each node must pull from.
+Instead, LEAP uses a masterless push method: The user runs `leap deploy` from the provider instance directory on their desktop machine to push the changes out to every server (or a subset of servers). LEAP still uses puppet, but there is no central master server that each node must pull from.
One other significant difference between LEAP and typical system automation is how interactions among servers are handled. Rather than store a central database of information about each server that can be queried when a recipe is applied, the `leap` command compiles static representation of all the information a particular server will need in order to apply the recipes. In compiling this static representation, `leap` can use arbitrary programming logic to query and manipulate information about other servers.
These two approaches, masterless push and pre-compiled static configuration, allow the sysadmin to manage a set of LEAP servers using traditional software development techniques of branching and merging, to more easily create local testing environments using virtual servers, and to deploy without the added complexity and failure potential of a master server.
+
+The repository for the `leap` command is `git://leap.se/leap_cli`.
+
+Getting started
+----------------------------------
+
+We recommend you read the platform documentation in this order:
+
+1. [quick start tutorial](platform/quick-start).
+* platform [examples](platform/examples).
+* the `leap` [command reference](platform/command).
+* [configuration format](platform/config).