MDOQ uses multiple endpoints and servers. On this page you can find a list of all IP's that require access to your Magento store.
If you are receiving errors deploying your site using MDOQ it's possible the IPs are being blocked by your WAF, please add the IP's below.
The following IPs should be allowed to bypass your WAF for your site:
198.244.212.92
51.89.218.141
PLEASE NOTE: you must also add your production IP to the above list, you can obtain this by SSH-ing into your production instance and running the following from the CLI
curl checkip.amazonaws.com
You then also need to ensure MDOQ Deployer is allowed to deploy to your production site. This can be done by adding a custom rule (Cloudflare expression below) into your WAF ensuring this User Agent is allowed
A screen-shot is below for the desired configuration