Configure infrastructure
This guide is intended to help set up an environment for apps that live outside of Hub.
#
PrerequisitesYou have created a new app and you want to release it
You have created a pipeline in Azure DevOps
- Your app needs to have the right configured YAML files. Using the Queue Management application as a reference, use azure-pipelines.yml and deploy.yml. Adjust these files for your application after creating a storage account and static website.
info
The following steps need to be taken for all environments. It is recommended to finish each step for each environment before you contact the server
and network support
teams, so you don't have to send multiple emails.
#
Create a Storage AccountAn Azure storage account contains all of your Azure Storage data objects: blobs, files, queues, tables, and disks.
#
Create a Static WebsiteOnce you have a storage account you can create a static website. Inside your storage account, in the left sidebar filter for "Static website".
#
Integrate a static website with Azure CDNYou can enable Azure Content Delivery Network (CDN) to cache content from a static website that is hosted in an Azure storage account.
#
Add a custom domain to your endpointEmail server-support@iqmetrix.zendesk.com with the domain you want and the associated static website endpoint.
- Submit a change request as well. Remember to specify the
server-support
team as the implementation team. - Example:
- Submit a change request as well. Remember to specify the
Before you can use a custom domain with an Azure CDN endpoint, you must first create a canonical name (CNAME) record with network-support@iqmetrix.zendesk.com to point to your CDN endpoint.
- Example:
Request that the new domain to be a trusted domain with Hydra
- this could take time, please create a work request with them with at least 2 weeks notice
Create a new custom domain in azure for that endpoint
- Click
+ Custom domain
button, and input the custom domain you requested from Server-support - From there you can set up a certificate for the new domain
- Click
If using iQ's auth, you need to add a redirect url in the devconsole app for each environment (INT, RC and PROD)
info
All these steps need to be repeated if the custom domain changes
#
Redirect HTTP to HTTPS#
Help- If you need help with anything related to Azure portal you can message #sre_product_hosting or send an email to cloudops@iqmetrix.com
- If you have problems with service connections, you need to request that your service connection gets assigned the
Storage Blob Data Contributor
role. You can see the documentation on Creating a Dev-Ops Service Connection, but you won't have permission to do this yourself, instead send an email to cloudops@iqmetrix.com.
๐ Well done, you should now have an up and running, secure, app living free from Hub ๐