Skip to content
This repository has been archived by the owner on Jan 2, 2020. It is now read-only.

Installing Pixelated on AWS

varac edited this page May 29, 2017 · 13 revisions

To install a LEAP Provider with Pixelated in the cloud (currently only AWS is supported) you need to go through these docs:

For the impatient, here's a list of commands to start Pixelated on AWS:

leap new <domain>
cd <domain>
leap add-user <username> --self
leap cert ca
leap cert csr
vi cloud.json  # Here you should configure your AWS credentials following https://leap.se/en/docs/platform/guide/virtual-machines#configuration
leap vm key-register
leap vm add <node-name> services:webapp,couchdb,soledad,mx
mkdir -p files/puppet/modules/custom/manifests
git clone https://github.com/pixelated/puppet-pixelated.git files/puppet/modules/pixelated
echo '{}' > services/pixelated.json
echo 'class custom { include ::pixelated}' > files/puppet/modules/custom/manifests/init.pp
leap node init <node-name>
leap deploy

Set up DNS

See how to setup DNS for a LEAP provider. For testing purposes, you can just modify your /etc/hosts file with the output of the following command:

leap compile hosts

After the installation you can access the LEAP webapp at https://<domain> and Pixelated https://<domain>:8080

References: