AWS login and rosa login for automation

0

Hello Team, We would like to do automation to install some agents in aws rosa cluster for that we are trying to figure out how we can to do login automatically and run script. Our current setup is using mfa and generating session token and then using role switching to perform rosa work. What is the best practice to use authorisation and authentication mechanism for doing automation.

Please help.

1 回答
1
已接受的回答

I would use Systems Manager to run ad hoc automation scripts on your EC2 instances in the cluster. If you're using an AMI listed here, the agent is already installed. Otherwise, you can install it as part of the instance's user data script, or if you're using CloudFormation to deploy, you can use cfn-init to run scripts and install the SSM agent. You interact with Systems Manager using your IAM credentials, so you don't need to login directly to the instances (although you can using SSM Session Manager) to run automation.

AWS
mike
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则