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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ