Base solution for your next web application
Open Closed

Toolset for deployment #10940


User avatar
0
KPCS created

Hi Team,

We are using Angular and MS SQL Standard edition. We have a need to deploy ASPNetZero application to about 100 customers on their own premise in a two tier setup of separate server for App and Database.

Do you have any recommended toolset/process for the deployment and periodic upgrades? Some customer may upgrade in skip cycles.

Thanks,

Kind Regards, Kumar Prashant

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

4 Answer(s)
  • User Avatar
    0
    marble68 created

    FWIW, if you're doing windows - I'd do powershell scripts for the setup. Make sure servers have remote management enabled, then you can do remote powershell on both boxes.

    With that you could deploy MSSQL and configure it - then setup IIS etc and deploy the site.

    For updates, I'd suggest you setup a "deployment" server in the cloud, then use github actions to build your deployment package- with the script updating the versions in a json file provided by a static URL.

    Then, you could ping your deployment server one a regular basis and compare returned version to installed version, and alert admin for minor / major updates.

    Your job could even download your updated scripts & builds and stage them for deployment during maintenance window.

    Should be about 2 to 5 days worth of dev, testing, and documentation for a minimally viable solution.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    marble68 created

    Note, I think each version would probably want a script for doing the update with rollback upon failure.

    Your PS script could dump the database, flip IIS to maintenance page, copy the folder with a rollback name while migrations are applied, deploy into the folder, smoke test the new site on migrations complete.

    Or some variation of that.

    I'd frankly do 3 scripts - a backup and rollback first - make sure those are bulletproof.

    Sandwich your update between them. If anything goes wrong - revert.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    marble68 created

    Also - might be germane to your needs: https://theitbros.com/powershell-gui-for-scripts/

    How to make a GUI for a powershell script.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @KPCS

    We don't provide a tool for this purpose. You need to create your own scripts for publishing the app. If you need any help regarding the AspNet Zero, we will be happy to help.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)