MySQL Connection Timed Out on Flask/GCP

Now I feel daft… for some reason I was under the impression that the GCP instance already had a static IP address, turns out that the IP was still dynamic… so the rule that I had created to allow the traffic into the AWS server was now invalid, because the GCP instance changed IP.

If anyone has any problems like the one I mentioned, check your external IPs are definitely static! I know, it sounds obvious now :stuck_out_tongue: