Maintaining Infrastructure as Code
py -3 -m venv .venv
.venv\Scripts\activate
.\.venv\Scripts\python.exe -m pip install --upgrade pip
pip install -r requirements.txt
Instructions are provided in the Documentaion in the section to provision PROD environment
- Each azure cloud component has its own folder under
infra - Each component has
dev,test,stageandprodconfigurations available - Instructions on how to add a new component / change an existing configuration are provided in the individual folders
The following services are provisioned at present from the github workflow:
- Resource Group
- Keyvault to store DB credentials etc.
- Keyvault to set secrets and endpoints and use them in application parameters
- PostgreSQL Flexible Instance
- Create databases from config
- Application Insights
- Log Analytics workspace
- Diagnostic Settings enabled for App Services
- Storage Account
- Storage containers
- Service Bus
- Queue
- Topics
- Subscriptions
- cosmosDB
- App Service Plan
- App Services
- Application Parameters
- Health Checks
- Diagnostic settings
- Keyvault to store DB credentials etc.