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 Resposta
1
Resposta aceita

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
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas