Unable to write to output file

0

Hello folks

This is the contionutation of the previos thread started on stackoverflow by our previous devops. Now i am working on this issue. https://stackoverflow.com/questions/65288790/what-permissions-s3-needs-for-aws-mediaconverter-to-have-access-to-write-files

Checked almost everything:
-Bucket permissions
-User permissions
-Service role
-ACL
-App code (added BUCKET_OWNER_FULL_CONTROL as were advised previously)

But nothing solves this issue.

Still getting the error:
Unable to write to output file [s3://{some bucket here}/{path_to_file}]:
Failed to write data: Access Denied, Error code 1401.

Please, help to find the root cuase an fix it. Cause we all are tired of this annoing issue. Only one thing "helps" with the issue when to change bucket principal from Cloudfront Origin Access ID to "*". After this is done we can write to the bucket but it becomes public what is not acceptable for us cause we want to have it private with ACL accesss. In ACL we have only one grantee - bucket owner (root).

profile picture
질문됨 3년 전882회 조회
5개 답변
0

Well. The issue was in not propper MediaConverter Role. Created the new MediaConverter role and granted the PassRole for media converter service for s3 user and looks like it works now (somehow). But only mp4 files can be converted normally while other video formats are still greyed out. Thereby looks like it is another story.

Edited by: kostyanius on Apr 27, 2021 1:32 AM

profile picture
답변함 3년 전
0

Hi,

Matthew from the AWS Team here.

Nice work on solving the permissions issues you noticed, please do share if you experience permissions issues related this going forward.

Regarding greyed out file formats:

  1. What file types are you seeing this issue with?
  2. Can you share what you're seeing with screenshots?
  3. Do you have an example of any failed job? If so, please feel free to share your account ID and Job ID in a private message.
AWS
답변함 3년 전
0

Hello
I think i could provide job json but not AWS Account ID.
So as i am not sure that you are not fraud))
Thereby - no any personal data. Sorry.)

Edited by: kostyanius on Apr 27, 2021 3:41 AM

profile picture
답변함 3년 전
0

Hi,

I understand and pleased to see you're focused on security.
For your information, Amazon AWS Employees on the AWS forum have the small Amazon logo next to their username. They also have a forum level of Amazonian.
However, I appreciate your position on this!

The reason we sometimes need your AWS Account ID is to find your specific job which failed, using this we are also able to download your JSON. AWS employees will request this information via private message only.
The only alternative option I can suggest is to look at AWS Developer Support services.

Focusing on your greyed out files:

  • is this still an issue?
  • What were the file formats affected?
  • Please detail any steps leading up to you noticing the greyed out files.

Best regards,
Matthew

AWS
답변함 3년 전
0

Not relevant anymore. Please close the thread. Thanks.

profile picture
답변함 3년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠