Hey everyone, I'm new to Prefect (and AWS) and hav...
# ask-community
b
Hey everyone, I'm new to Prefect (and AWS) and have a quick question. When deploying your ECS Agent inside a EC2 in same AWS environment, do I still need to set authentication for the container deployments, and the S3 bucket with my scripts? Thanks!
k
Hey @Barbara Abi Khoriati, I think you can give the EC2 instance a role with permissions and it should be able to make the requests. That role is specified here so it can be passed to the agent or through the RunConfig as seen in that docs
b
@Kevin Kho Thanks for the reply! So, by setting that, It would not be necessary to set environment variables or a .aws/config.toml?
k
I believe no
👍 1