Closed
Bug 1479920
Opened 7 years ago
Closed 7 years ago
Please deploy Pushbox 0.1.1 to production
Categories
(Cloud Services :: Operations: Miscellaneous, task)
Cloud Services
Operations: Miscellaneous
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jrconlin, Assigned: oremj)
Details
See https://bugzilla.mozilla.org/show_bug.cgi?id=1459667 for details.
Configuration is (mostly) via environment variables, you'll need:
```
ROCKET_ENV=prod
ROCKET_DATABASE_URL=mysql://...
ROCKET_FXA_HOST=https://oauth.accounts.firefox.com/v1/
ROCKET_SERVER_TOKEN="Some_FxA-Server_to_Service_token"
ROCKET_SQS_URL=https://sqs.us-east-1.amazonaws.com/...
```
| Assignee | ||
Comment 1•7 years ago
|
||
I'm forgetting, what kind of server token do I need for FXA?
Flags: needinfo?(jrconlin)
| Assignee | ||
Updated•7 years ago
|
Assignee: nobody → oremj
| Assignee | ||
Comment 2•7 years ago
|
||
Also, any idea how many requests per second this is going to receive? Also, how many reads/writes to the database?
Over time it will be more clear, but want to make an educated guess with regards to database and application instance instance types.
| Reporter | ||
Comment 3•7 years ago
|
||
The server token can be any random string. It's simply checked when FxA calls to the pushbox back end.
As for the RpS, not really sure. It depends on how often and for what that FxA wants to use pushbox. Right now, I believe it's being used for Send Tab, so that may be a good mark. Reads should match fairly closely to writes with the current loads.
Going to add vlad and ryan to this, since they'll have better answers about RpS and usage.
Flags: needinfo?(vlad)
Flags: needinfo?(rfkelly)
Flags: needinfo?(jrconlin)
Comment 4•7 years ago
|
||
:jbuck or :jrgm might have some stats for this in prod
I asked jbuck in irc:
```
[10:56:18] <jbuck> Yeah, I need to look if we’ve defined that already
[10:56:22] <jbuck> in sops
```
We might be able to provide some info there
Flags: needinfo?(vlad)
Flags: needinfo?(rfkelly)
Flags: needinfo?(jbuckley)
Comment 5•7 years ago
|
||
:oremj - you can find the token in `sops -d --extract [23] type/fxa.auth_server.prod.yaml`
Flags: needinfo?(jbuckley)
| Assignee | ||
Comment 6•7 years ago
|
||
This is deployed at https://pushbox.services.mozilla.com/
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•