Closed Bug 1253279 Opened 9 years ago Closed 9 years ago

Access to deploy updates to code.cdn.mozilla.net for :jryans

Categories

(Infrastructure & Operations Graveyard :: WebOps: Other, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jryans, Assigned: cliang)

Details

(Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/2653] )

I would like access to deploy updated files to the CDN at code.cdn.mozilla.net. I believe this means I need access to the S3 bucket that backs the files. I do already have a Mozilla AWS key for other purposes, not sure if that is reusable for this purpose, or if a new key is needed. Supposedly :fox2mike documented this on https://mana.mozilla.org/wiki/display/SYSADMIN/Granting+access+to+code.cdn.mozilla.net. See bug 981801 and related bugs.
Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/2653]
Assignee: server-ops-webops → cliang
I'm looping in a few folks on this bug: I'd like someone who already has access to this CDN to approve your access request.
Flags: needinfo?(tofumatt)
Flags: needinfo?(thepotch)
Flags: needinfo?(rpetty)
Flags: needinfo?(janx)
I may have access but I never actually ended up using this. I think wenzel's old team was going to use it for something but we never did, so I'm quite lost on the some, sorry!
Flags: needinfo?(tofumatt)
the some = this one, silly iPad keyboard.
(In reply to C. Liang [:cyliang] from comment #2) > I'm looping in a few folks on this bug: I'd like someone who already has > access to this CDN to approve your access request. I already have access to code.cdn.mozilla.net and I approve this request! With :jryans we'd be two DevToolers who can push new revisions of https://code.cdn.mozilla.net/devices/devices.json
Flags: needinfo?(janx)
Flags: needinfo?(thepotch)
Flags: needinfo?(rpetty)
Ryan: I've sent you a new set of credentials via email (sent to your gmail account). (The S3 bucket underlying the CDN is held in a specific AWS account; I created a user for you under that account since it didn't look like one existed.) Please let me know if you haven't received the file or have issues using the account.
Flags: needinfo?(jryans)
Thanks, I received the credentials. I was able to deploy an updated version of the file to s3. The CDN still shows the old version, but I assume we just need to wait for the CDN cache to expire.
Flags: needinfo?(jryans)
K. If the updated file doesn't expire w/in a timely manner, file a bug and we can see if a cache purge is needed.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
The CDN is now giving an access denied error: https://code.cdn.mozilla.net/devices/devices.json Is this an issue with permissions on the S3 object?
Flags: needinfo?(cliang)
You probably need to set the permissions on the S3 object so that "Everyone" can read them. If I log into the AWS console and look at ./images/firefox_dark_widescreen-wide.jpg, it shows that "Everyone" can "Open/Download" the object. If I look at the ./devices/devices.json object, it is missing permissions for "Everyone".
Flags: needinfo?(cliang)
Great, it's working well now. Thanks all!
Status: RESOLVED → VERIFIED
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.