{"action":"created","issue":{"url":"https://api.github.com/repos/mdn/infra/issues/27","repository_url":"https://api.github.com/repos/mdn/infra","labels_url":"https://api.github.com/repos/mdn/infra/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/mdn/infra/issues/27/comments","events_url":"https://api.github.com/repos/mdn/infra/issues/27/events","html_url":"https://github.com/mdn/infra/issues/27","id":348844993,"node_id":"MDU6SXNzdWUzNDg4NDQ5OTM=","number":27,"title":"Setup Prod (Read-Only PoC) instance of MDN","user":{"login":"limed","id":145126,"node_id":"MDQ6VXNlcjE0NTEyNg==","avatar_url":"https://avatars2.githubusercontent.com/u/145126?v=4","gravatar_id":"","url":"https://api.github.com/users/limed","html_url":"https://github.com/limed","followers_url":"https://api.github.com/users/limed/followers","following_url":"https://api.github.com/users/limed/following{/other_user}","gists_url":"https://api.github.com/users/limed/gists{/gist_id}","starred_url":"https://api.github.com/users/limed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/limed/subscriptions","organizations_url":"https://api.github.com/users/limed/orgs","repos_url":"https://api.github.com/users/limed/repos","events_url":"https://api.github.com/users/limed/events{/privacy}","received_events_url":"https://api.github.com/users/limed/received_events","type":"User","site_admin":false},"labels":[{"id":979554489,"node_id":"MDU6TGFiZWw5Nzk1NTQ0ODk=","url":"https://api.github.com/repos/mdn/infra/labels/CF:Med","name":"CF:Med","color":"476d00","default":false}],"state":"open","locked":false,"assignee":{"login":"escattone","id":3743693,"node_id":"MDQ6VXNlcjM3NDM2OTM=","avatar_url":"https://avatars2.githubusercontent.com/u/3743693?v=4","gravatar_id":"","url":"https://api.github.com/users/escattone","html_url":"https://github.com/escattone","followers_url":"https://api.github.com/users/escattone/followers","following_url":"https://api.github.com/users/escattone/following{/other_user}","gists_url":"https://api.github.com/users/escattone/gists{/gist_id}","starred_url":"https://api.github.com/users/escattone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/escattone/subscriptions","organizations_url":"https://api.github.com/users/escattone/orgs","repos_url":"https://api.github.com/users/escattone/repos","events_url":"https://api.github.com/users/escattone/events{/privacy}","received_events_url":"https://api.github.com/users/escattone/received_events","type":"User","site_admin":false},"assignees":[{"login":"escattone","id":3743693,"node_id":"MDQ6VXNlcjM3NDM2OTM=","avatar_url":"https://avatars2.githubusercontent.com/u/3743693?v=4","gravatar_id":"","url":"https://api.github.com/users/escattone","html_url":"https://github.com/escattone","followers_url":"https://api.github.com/users/escattone/followers","following_url":"https://api.github.com/users/escattone/following{/other_user}","gists_url":"https://api.github.com/users/escattone/gists{/gist_id}","starred_url":"https://api.github.com/users/escattone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/escattone/subscriptions","organizations_url":"https://api.github.com/users/escattone/orgs","repos_url":"https://api.github.com/users/escattone/repos","events_url":"https://api.github.com/users/escattone/events{/privacy}","received_events_url":"https://api.github.com/users/escattone/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/mdn/infra/milestones/5","html_url":"https://github.com/mdn/infra/milestone/5","labels_url":"https://api.github.com/repos/mdn/infra/milestones/5/labels","id":3608046,"node_id":"MDk6TWlsZXN0b25lMzYwODA0Ng==","number":5,"title":"Sprint 4 Q3 2018","description":"Goals:\r\n\r\n* Backing service accounts are opened, paid for, and used by staging\r\n* Minimal production cluster provisioned in read-only mode","creator":{"login":"jwhitlock","id":286017,"node_id":"MDQ6VXNlcjI4NjAxNw==","avatar_url":"https://avatars0.githubusercontent.com/u/286017?v=4","gravatar_id":"","url":"https://api.github.com/users/jwhitlock","html_url":"https://github.com/jwhitlock","followers_url":"https://api.github.com/users/jwhitlock/followers","following_url":"https://api.github.com/users/jwhitlock/following{/other_user}","gists_url":"https://api.github.com/users/jwhitlock/gists{/gist_id}","starred_url":"https://api.github.com/users/jwhitlock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwhitlock/subscriptions","organizations_url":"https://api.github.com/users/jwhitlock/orgs","repos_url":"https://api.github.com/users/jwhitlock/repos","events_url":"https://api.github.com/users/jwhitlock/events{/privacy}","received_events_url":"https://api.github.com/users/jwhitlock/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2018-08-29T20:07:18Z","updated_at":"2018-08-29T23:03:37Z","due_on":"2018-09-14T07:00:00Z","closed_at":null},"comments":8,"created_at":"2018-08-08T18:41:14Z","updated_at":"2018-09-13T00:33:51Z","closed_at":null,"author_association":"COLLABORATOR","body":"Once stage is up and running setup the prod instance as a read-only, proof-of concept deployment.\r\n\r\n# Acceptance Criteria\r\n* [x] Read-only snapshot of production available at new MozIT cloud domain\r\n* [x] Automated tests / checklist run against new instance\r\n* [ ] Follow-on tasks for go-live are captured in new issues\r\n\r\n# Tasks:\r\n* [x] Decide if we start with production-sized services (do it once, start paying) or stage-size services (pay less for a month or so) -- 9/10/2018 (@escattone) starting with stage-size services\r\n* [x] Combine [oregon/stage.sh](https://github.com/mdn/infra/blob/master/apps/mdn/mdn-aws/k8s/regions/oregon/stage.sh) and [portland/prod.mm.sh](https://github.com/mdn/infra/blob/master/apps/mdn/mdn-aws/k8s/regions/portland/prod.mm.sh) into `oregon/prod.mm.sh` (production read-only) and `oregon/prod.mm.min.sh` (production read-only but with stage-size replica counts)\r\n* [x] Provision prod CloudFront for the primary, attachments, and interactive-examples CDN's\r\n* [x] Provision prod database (production size)\r\n* [x] Provision prod redis (production size)\r\n* [x] Provision prod memcache (production size)\r\n* [x] Provision prod elasticsearch (production size)\r\n* [x] Download encrypted, compressed dump of the production RDS instance in MozMEAO\r\n* [x] Decrypt and load the compressed DB dump into the new prod RDS instance in IT\r\n* [ ] (Optional) Anonymize the new prod RDS instance in IT\r\n* [x] Copy EFS backup (attachments) from prod S3 bucket into new S3 bucket\r\n* [x] Make the K8s namespace, shared-storage, and services\r\n* [x] Add the access URL's of the backing services (RDS, Redis) to `mdn-secrets.prod`\r\n* [x] Deploy the `mdn-backup-secrets`, `mdn-newrelic-secrets`, `mdn-speedcurve-secrets.yaml`, and `mdn-secrets.prod`\r\n* [x] Deploy the S3 EFS sync (`make k8s-sync-from-s3-cron`) to pull (hourly) the EFS assets from the IT-owned S3 bucket into the IT-owned EFS volume\r\n* [x] Create DNS CNAME for `prod.mdn.mozit.cloud` that points to the new ELB for the `web` service created above\r\n* [x] Create DNS CNAME for `developer-prod.mdn.mozit.cloud` that points to the new prod primary CDN\r\n* [x] Create DNS CNAME for `demos.mdn.mozit.cloud` that points to the new prod attachments CDN\r\n* [x] Create DNS CNAME for `interactive-examples.mdn.mozit.cloud` that points to the new interactive-examples CDN\r\n* [x] Create, validate, and attach new certificates for the new `web` ELB, the prod primary CDN, the attachments CDN, and the interactive-examples CDN (see comment below)\r\n* [x] Make the K8s deployments\r\n* [x] Login to the MDN admin console and change the Site to `developer-prod.mdn.mozit.cloud`\r\n* [x] Create, populate, and promote new search index via the admin console\r\n* [x] Make the `humans` and `sitemaps` (run `./manage.py make_humans` and `./manage.py make_sitemaps` on the web pod)\r\n* [x] Perform [checklist](https://github.com/mdn/infra/blob/master/apps/mdn/mdn-aws/docs/stage-checklist.md)"},"comment":{"url":"https://api.github.com/repos/mdn/infra/issues/comments/420843136","html_url":"https://github.com/mdn/infra/issues/27#issuecomment-420843136","issue_url":"https://api.github.com/repos/mdn/infra/issues/27","id":420843136,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDg0MzEzNg==","user":{"login":"escattone","id":3743693,"node_id":"MDQ6VXNlcjM3NDM2OTM=","avatar_url":"https://avatars2.githubusercontent.com/u/3743693?v=4","gravatar_id":"","url":"https://api.github.com/users/escattone","html_url":"https://github.com/escattone","followers_url":"https://api.github.com/users/escattone/followers","following_url":"https://api.github.com/users/escattone/following{/other_user}","gists_url":"https://api.github.com/users/escattone/gists{/gist_id}","starred_url":"https://api.github.com/users/escattone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/escattone/subscriptions","organizations_url":"https://api.github.com/users/escattone/orgs","repos_url":"https://api.github.com/users/escattone/repos","events_url":"https://api.github.com/users/escattone/events{/privacy}","received_events_url":"https://api.github.com/users/escattone/received_events","type":"User","site_admin":false},"created_at":"2018-09-13T00:33:51Z","updated_at":"2018-09-13T00:33:51Z","author_association":"MEMBER","body":"Before I close this, I'd like to do a few more things:\r\n- I'd like to test the interactive examples in detail. Although not strictly necessary, there may be some tweaks needed to make it fully work outside the `interactive-examples.mdn.mozilla.net` domain.\r\n- I need to add the New Relic App IDs to the K8s secrets file"}}
{"actor":{"display_login":"escattone"}}