LazyMagic

Deploy System

⚡ Quick Answer

Deploy System: Use LzAws PowerShell commands to deploy core AWS infrastructure. Run Deploy-SystemAws, Deploy-PoliciesAws, Deploy-AuthsAws, and Deploy-ServiceAws in sequence from the Service/AWSTemplates folder after importing LzAws module.

Prerequisites

  • ⚙️ Completed systemconfig.yaml file
  • 🔐 AWS SSO authentication
  • 💻 PowerShell 7 installed
  • 📁 LzAws PowerShell module
  • ⏱️ Estimated time: 5 minutes
  • 💰 Cost: Free (within AWS Free Tier)

In this step we will deploy the core system 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.
  2. Navigate to the _Dev/MagicPets/Service/AWSTemplates folder
  3. Import the LzAws powershell module
    ./Import-LzAws.ps1
  4. Deploy-SystemAws
  5. Deploy-PoliciesAws
  6. Deploy-AuthsAws
  7. Deploy-ServiceAws