Skip to content

Infrastructure

kako edited this page May 6, 2016 · 2 revisions

The organization currently uses two hosting platforms to manage its services.

iPage

Platform-as-a-Service provider, with the following:

  • domain registration/management
  • shared web server with Apache+php environment
  • shared MySQL database
  • email server
  • multi-domain DNS functionality

Domains

Currently all domains are registered in iPage, and they're the following:

  • escng.com
  • pjtracker.com

Pointers

Domains in iPage have a home directory, which is the document root for any request to the domain or main subdomain (ie, www).

In the case of escng.com, we're pointing to the subdirectory containing the company website application (PHP). We're not using this settin for ptracker.com (see below).

Name Servers

The name servers we use for every domain are:

  • escng.com: iPage
  • pjtracker.com: AWS

This means that all DNS definitions for pjtracker.com are managed by AWS Route 53 instead.

DNS Records

By default, the DNS record set contains all the A records for all the services provided by iPage. Two of them point to the same shared web server, which will lead to the company website (set as the home directory for the domain):

We only added a CNAME to the devops machine hosted in AWS:

  • devops.escng.com

Subdomains

Subdomains in iPage are actually mapped to subdirectories in the single shared web server box, and generally consist of static web pages or PHP scripts.

There are two production subdomains:

  • mysql.escng.com: phpMyAdmin dashboard
  • support.escng.com: ticket support application

And several with demo applications:

  • areagear-backend.escng.com
  • bks.escng.com
  • census.escng.com
  • desicon.escng.com
  • forecaster.escng.com
  • mecs.escng.com
  • opinions.escng.com
  • wtol.escng.com

AWS

Infrastructure as a Service provider, giving us complete freedom to create machines and databases as needed, managed entirely by us.

As of today, it also providers a more sophisticated domain registration and multi-domain DNS functionality than iPage.

Zones

TODO

Load Balancers

TODO

Instances

TODO

Future

The plan is to migrate everything to AWS to use a single platform.

Clone this wiki locally