Closed
Bug 1192920
Opened 10 years ago
Closed 10 years ago
Deploy Idea-Town
Categories
(Cloud Services :: Operations: Deployment Requests - DEPRECATED, task)
Cloud Services
Operations: Deployment Requests - DEPRECATED
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mostlygeek, Unassigned)
References
Details
Tracking bug for deploying idea-town(https://github.com/mozilla/idea-town) (elastic beanstalk, dynamodb) to AWS.
This is a new project and the first to use EB. This bug documents and serves as an way to communicate ops work deploying this app into production.
= About Idea Town =
- node.js app
- puts data into dynamodb
- collects email addresses from people interested in participating
= notes =
- node.js app forked from an old EB example
- needs to be tested to work IAM roles (ARN ok to publish?)
- modern node aws-sdk lib should have no probs w/ this
- code might need to changed
- IAM role should grant permissions to PUT to dynamodb table and SNS endpoint
- have no way to test if it is working, maybe have to write small script in
repo to "ScannedCount" dynamodb table
- no code to export data right now
- concerns about PII, only 1 field, email address (AFAICT)
= Task list (for now) =
- set up dynamodb table
- set up SNS endpoint
- set up IAM role with permissions to publish into them
- set up cloudformation to build all resources together
- write a test script to query/export data from dynamodb table
- get TLS certificate for ideatown.mozilla.com
| Reporter | ||
Comment 1•10 years ago
|
||
Update:
- deployed IAM role / application to production
- allocating TLS certificate and domain for ideatown.firefox.com
- once TLS/domain is allocated will point CNAME at it
| Reporter | ||
Comment 2•10 years ago
|
||
- confirmed with `scripts/dump-dynamo-tables.js` that data is being written correctly in prod
:jason
- could you get a TLS cert for ideatown.firefox.com (for an ELB)
- could you update inventory so ideatown.firefox.com CNAME ideatown.r53-2.services.mozilla.com (already an alias for ELB)
Flags: needinfo?(jthomas)
Comment 3•10 years ago
|
||
(In reply to Benson Wong [:mostlygeek] from comment #2)
> :jason
>
> - could you get a TLS cert for ideatown.firefox.com (for an ELB)
> - could you update inventory so ideatown.firefox.com CNAME
> ideatown.r53-2.services.mozilla.com (already an alias for ELB)
Done. ideatown.firefox.com may take a few minutes to become active.
Flags: needinfo?(jthomas)
| Reporter | ||
Comment 4•10 years ago
|
||
It's up: https://ideatown.firefox.com/ and confirmed working.
More notes:
- using `eb config` is sort of dangerous if you really don't know what you're doing.
- managing using the web console is much easier and less risky for causing weird config states
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 5•10 years ago
|
||
And I took the site down because of changes to use "basket" instead of dynamodb for emails.
You need to log in
before you can comment on or make changes to this bug.
Description
•