LazyMagic

Deploy Tenants

⚡ Quick Answer

Deploy Tenants: Deploy multi-tenant infrastructure to AWS. Run Deploy-TenantsAws from Service/AWSTemplates folder to create tenant-specific resources like Cognito User Pools, DynamoDB tables, and CloudFront distributions based on systemconfig.yaml configuration.

Prerequisites

  • ✅ Completed system deployment
  • 🔐 AWS SSO authentication
  • ⚙️ Configured systemconfig.yaml with tenants
  • 📦 LzAws PowerShell module
  • ⏱️ Estimated time: 5-10 minutes
  • 💰 Cost: Free (within AWS Free Tier)

In this step we will deploy the tenant services to AWS.

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/Service/AWSTemplates folder.
  3. If you haven't already, import the LzAws powershell module
    ./Import-LzAws.ps1
  4. Deploy-TenantsAws