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
4 Answer(s)
-
0
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 supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
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 supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
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 supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
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 supportedCopy & paste or drag & drop images (max 30 MB per image)