LazyMagic

Deploy WebApp

⚡ Quick Answer

Deploy WebApps: Deploy multiple Blazor web applications to AWS. Run Deploy-WebAppAws from each app folder: BaseAppLib, AdminApp, StoreApp, and Consumer. Each deployment uploads the compiled web app to S3 and configures CloudFront distribution.

Prerequisites

  • ✅ Completed system and assets deployment
  • 🔐 AWS SSO authentication
  • 🖥️ Built web applications
  • 📦 LzAws PowerShell module
  • ⏱️ Estimated time: 2-3 minutes
  • 💰 Cost: Free (within AWS Free Tier)

In this step we will deploy WebApps.

If you have not signed into your Account using your SSO profile, please do so before proceeding with this step.

  1. Open a powershell window if you don't have one open from the previous step.
  2. Navigate to the _Dev/MagicPets/BaseAppLib folder.
  3. If you haven't already, import the LzAws powershell module
    ./Import-LzAws.ps1
  4. Deploy-WebAppAws
  5. Navigate to the _Dev/MagicPets/AdminApp folder.
  6. Deploy-WebAppAws
  7. Navigate to the _Dev/MagicPets/StoreApp folder.
  8. Deploy-WebAppAws
  9. Navigate to the _Dev/MagicPets/Consumer folder.
  10. Deploy-WebAppAws