I currently host my public-facing website on GoDaddy servers. I am developing the server backend of a mobile application.
The business logic and database are hosted on separate instances of Google Compute Engine (GCE). Each combination of the business logic and database will be set up as separate dev, QA, staging, and production instances.
I purchased an SSL certificate from GoDaddy.
I want to use the SSL for our public website host (GoDaddy) and the various environments hosts (Google Compute Engine).
How should we go about doing this?
I have the IP addresses of all the Google Compute Engine instances.
Should I modify the domain's name server or the A record, or both?
Should I use sub-domains like dev.example.com, dev-db.example.com, qa.example.com, qa-db.example.com, and www.example.com (for the public website)?
Very confused and unable to find reliable information online. Thank you in advance for your help!