ParticipationSystems/Discourse/Infrastructure: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
Line 4: Line 4:
[[File:Discourse_diagram.png|200px|thumb|right|Architectural overview]]
[[File:Discourse_diagram.png|200px|thumb|right|Architectural overview]]
== Overview ==
== Overview ==
* '''Hosting Provider:''' AWS
* '''Hosting Provider:''' Mesos on AWS
* '''Compute Region (AZ):''' US East (N. Virginia)
* '''Compute Region (AZ):''' US West (N. California)
* '''Discourse Version:''' tests-passed
* '''Discourse Version:''' tests-passed


== Instances ==
== Instances ==
All images for webheads are based on <i>ubuntu-precise-12.04-amd64-server-20131003 (ami-acf9cde9)</i>.
=== Webheads ===
=== Webheads ===
Webheads are automatically scaled depending on demand. To find instances, search for <i>aws:autoscaling:groupName : csa-discourse-production-as</i>.
Webheads are run on the [[Community_Ops/paas|Community PaaS]].


=== PostgreSQL ===
=== PostgreSQL ===
* '''Version:''' 9.3.3
* '''Version:''' 9.5
{| class="fullwidth-table"
{| class="fullwidth-table"
|-
|-
Line 43: Line 41:
|-
|-
|}
|}
==Deployment==
[[File:Discourse Flow - Page 1.png|300px|thumb|right|Deployment Flow]]
Discourse deployments are done through Jenkins.
== Creating a new Discourse instance ==
== Creating a new Discourse instance ==
For instructions on creating a new Discourse instance, see [[IT/Community/WG/Discourse/Setup|Discourse/Setup]]
For instructions on creating a new Discourse instance, see [[IT/Community/WG/Discourse/Setup|Discourse/Setup]]

Revision as of 10:16, 9 January 2017

Draft-template-image.png THIS PAGE IS A WORKING DRAFT Pencil-emoji U270F-gray.png
The page may be difficult to navigate, and some information on its subject might be incomplete and/or evolving rapidly.
If you have any questions or ideas, please add them as a new topic on the discussion page.

Documentation

Architectural overview

Overview

  • Hosting Provider: Mesos on AWS
  • Compute Region (AZ): US West (N. California)
  • Discourse Version: tests-passed

Instances

Webheads

Webheads are run on the Community PaaS.

PostgreSQL

  • Version: 9.5
Name Service Flavor Volume Availability Zone
pgshared-production-c postgresql db.t1.micro 300GB us-east-1c

Note: Can only be accessed from inside the CSA VPC.

Redis

  • Version: 2.8.6
Node Cluster Service Flavor Availability Zone
0001 csa-discourse-prod Redis cache.t1.micro us-east-1d

Deployment

Deployment Flow

Discourse deployments are done through Jenkins.

Creating a new Discourse instance

For instructions on creating a new Discourse instance, see Discourse/Setup