Hey everyone! I've deployed Metaflow AWS backing ...
# ask-metaflow
w
Hey everyone! I've deployed Metaflow AWS backing structures with the Cloudformation template. When I try to run example
python kmeans_flow_v2.py --environment=conda run --with batch
(from chapter 5, no modifications to the code) in AWS it fails with S3 access denied to the bucket
<s3://fast-ai-nlp/yelp_review_full_csv.tgz>
I've checked Batch compute environment role and added s3:* allow there. I did the same for the EC2 role. I even tried adding full admin aws permissions. But still no luck. I can normally run this example locally on the workstation EC2 machine, it has full admin role attached. So I suppose it's a permission issue but I'm a bit lost what else to check/try. Thanks in advance.
Copy code
2022-12-10 14:50:12.623 [3/start/6 (pid 5150)] [c7258b30-7083-42f5-a5ab-5467f69fc19b] <flow KmeansFlow step start> failed:
2022-12-10 14:50:12.952 [3/start/6 (pid 5150)] [c7258b30-7083-42f5-a5ab-5467f69fc19b]     S3 access denied:
2022-12-10 14:50:14.720 [3/start/6 (pid 5150)] AWS Batch error:
2022-12-10 14:50:12.952 [3/start/6 (pid 5150)] [c7258b30-7083-42f5-a5ab-5467f69fc19b]     <s3://fast-ai-nlp/yelp_review_full_csv.tgz>
1