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:
Environment Variables | Description |
| The database URL for Postgres database with following format: postgres://{user}:{password}@{hostname}:{port}/{database-name} |
| The database URL for Redis database with following format: redis://{user}:{password}@{hostname}:{port} |
| The URL of the GeoIP server. |
| The public URL of the web API server (or load balancer). For example https://cryptlex.mycompany.com |
| The random secret used to encrypt the RSA keys. |
| The license key which you get after you purchase the license for the Cryptlex On-Premise server. |
| This is needed in case you want to enable Google SSO. |
| From name which should appear for the emails. |
| From email address for the emails. |
| SMTP host for sending emails. |
| SMTP port. |
| Set this to |
| SMTP username. |
| SMTP password. |
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:
Environment Variables | Description |
| The public URL of Release server e.g. https://cryptlex-releases.mycompany.com |
| The public URL of Web API server e.g. https://cryptlex-api.mycompany.com |
| The access key of the Filestore. |
| The secret key of the Filestore. |
| Name of the bucket where you want to store all your files. |
| This is required in case you are using AWS S3, otherwise, leave the default value as such. |
| This should only be set to true in case you are using AWS S3. |
| The hostname of the Filestore server. In case you are using AWS S3 set this to: |
| The port of the Filestore server. In case you are using AWS S3 set this to: |
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:
Environment Variables | Description |
| The public URL of Release server e.g. https://cryptlex-releases.mycompany.com |
| The public URL of Web API server e.g. https://cryptlex-api.mycompany.com |
| This shows up in the browser title. |
| Your company website. |
| Logo to be displayed. It must have a transparent background. |
| Favicon URL. |
| This is needed in case you want to enable Google SSO. |
| Google analytics key. |
Last updated