Install and Run Electron in AWS



  • sure, thanks



  • sure, thanks



  • hi Jan,
    as per our skype chat i have installed the JSreport in AWS using Docker image which you have sent.

    Please let us know how do i change the configuration like enabling authentication and updating connectionString to look for Postgres.



  • You can set environment variables in the AWS UI
    https://stackoverflow.com/a/17878600/1660996

    Something like:

    connectionString_name  postgres
    ....
    

    Every environment variable is converted into configuration option where the _ or : can be used as the nested path delimiter.



  • thank you very much for your support.

    finally i have successfully configured the JSReport in AWS.

    please let us know which licensee type should i buy, enterprise or enterprise scale.

    we are having a front end application which was built using reactjs. in one of the module we need to generate reports like pdf, xls, csv for this we are going to use JSreports.

    will this enterprise license suffices our requirement.

    how the jsreport will handle multiple request at a same time, will it slow down the response.



  • Great!

    If you run just on one VM instance, you can use individual enterprise license.
    If you plan to scale to get the high availability, the enterprise scale makes it easy for you to apply just single license key.

    The jsreport docker full image is configured to load balance tasks like phantomjs and templates rendering on multiple processes so it should work fine for you in parallel. Here you can also find a discussion regarding heavy traffic scenario. https://forum.jsreport.net/topic/143/how-can-make-report-faster-during-rendering/2



  • can you please elaborate more on enterprise scale licence,

    also please let us know how can we speed up the electronpdf, it is 60% slow when compared to phantom.

    i have configured the 'strategy' to 'dedicated-process' if i change this to 'electron-ipc', the report itself is not working.



  • You need to be more specific with your licensing question. Make sure you read the docs https://jsreport.net/buy
    Basically enterprise scale license gives you single key you can apply through AWS EB config and don't need to care about how many instances you spin up.

    You can try to use multi cpu core VM which gives better performance to electron.



  • thank you very much for your help



  • we have purchased the enterprise licence key,
    now i need to create one more AWS instance for development purpose. i will clone the existing AWS and create a new one for developmental purpose.

    can i use the same licence key for both of the applications, one will be used for production and another will be used for developmental purpose.

    how do i differentiate developmental and production application, do i need to set any variables to distinguish.



  • There is currently no need to distinguish your dev instance. Just apply the same license.
    It is likely not your case, but please note that the server instance participating in UAT or QA environment (is accessible outside dev team) needs dedicated production license.



  • thank you very much


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.