Cloud Platforms
Cryptlex can be easily hosted on cloud computing platforms like AWS, GCE, Azure, Heroku, DigitalOcean and others supporting Dockers.
Hosting Cryptlex On-Premise
In order to run Cryptlex on any cloud computing platform, you would require the following services:
Database
Postgres database is required for storing all Cryptlex data. Following are some of the cloud computing platforms which provide Postgres database service:
Cache
Redis is required for storing the cache data. Following are some of the cloud computing platforms which provide Redis database service:
Filestore
Any AWS S3 compatible file store is required for storing releases. In case you don't want to use the Cryptlex release management API, this service is not required. Currently, the following file stores are supported:
Minio (self-host)
Cryptlex Web API Server
Cryptlex Web API server can be easily hosted on any cloud computing platform with Docker runtime. The Docker image is available on DockerHub:
Cryptlex Web API Server (private)
The Cryptlex Web API server must not be exposed publicly on the internet. Instead, you must use an HTTPS-enabled reverse proxy server (load balancer) to forward the traffic to the server.
Just follow the guidelines of your cloud computing platform to run Docker apps and ensure the following environment variables are set for the Web API server:
Other than SMTP, Cryptlex also supports Mailgun and SendGrid for sending emails. So instead of setting SMTP environment variables, you can set MAILGUN_APIKEY
and MAILGUN_DOMAIN
environment variables to enable MailGun or set SENDGRID_APIKEY
environment variable to enable SendGrid.
Geo IP Server
This service is used to get location information from the IP address of the user. Cryptlex GeoIP server can be easily hosted on any cloud computing platform with Docker runtime. The docker image is available on DockerHub:
Instead of using cryptlex/freegeoip server for getting location information from the IP address, you can also use Ipstack and Ipdata third-party GeoIP services.
Configuring ipstack
To configure the ipstack you need to set following environment variables for the Web API server:
Configuring ipdata
To configure the ipdata you need to set following environment variables for the Web API server:
Cryptlex Release Server
Cryptlex Release server handles the upload and download of releases you create in Cryptlex. In case you don't want to use the Cryptlex release management API, this service is not required. It can be easily hosted on any cloud computing platform with Docker runtime. The docker image is available on DockerHub:
Cryptlex Release Server (private)
The Cryptlex Release server must not be exposed publicly on the internet. Instead, you must use an HTTPS-enabled reverse proxy server (load balancer) to forward the traffic to the server.
Just follow the guidelines of your cloud computing platform to run Docker apps and ensure following environment variables are set for the Release server:
Cryptlex Dashboard
It can be easily hosted on any cloud computing platform with Docker runtime. The docker image is available on DockerHub:
Just follow the guidelines of your cloud computing platform to run Docker apps and ensure following environment variables are set for the Dashboard static server:
Last updated