Related Articles

8 Comments

  1. 1

    Satyanarayana

    can you please explain how to install yum update using SSM ?

    Reply
    1. 1.1

      Onur SALK

      You should be able to use as in parameters command key like –parameters ‘{“commands”:[“yum update -y”],….

      Reply
  2. 2

    Suditi

    Can I save my results in dynamodb instead of S3, as I run ssm on more than 1000 servers its difficult to get consolidated report?

    Reply
    1. 2.1

      Onur SALK

      Hi Suditi,

      I couldn’t see an option to see the results in dynamodb. However, you can create a Lambda function that writes the data to dynamodb and trigger it when ssm save the result in S3. I hope this helps.

      Reply
      1. 2.1.1

        Suditi

        Hello Onur, Thank you for replying.I was thinking if there is any other solution apart from the one which you mentioned.Is there a way I can call dynamodb APIs from the custom ssm document directly?

        Reply
  3. 3

    deepti

    hello Onur,i wanna know how can we automate user and password creation on multiple machine(instances) through bash script.I mean i wanna create Linux user in multiple server through systems manager,so that i can manage user creation and setting password remotely.

    Reply
    1. 3.1

      Onur SALK

      Hi Deepti,

      After you installed the agent, you can send the required command to your linux instances. Also if you want to automate this, you can create a Lambda function and trigger it when an instance goes to a “running state”. When it’s triggered, it can run the required EC2 system manager command.

      Reply
      1. 3.1.1

        sneha

        Thanks Onur for replying, actually I wanna do that via aws cli but whenever I am running the bash script for user creation on different servers,command is not executing. And for your solution of using lambda, I don’t know coding much.But thanks once again for replying. I am feeling sad that I did not get confirmation for your devops workshop.

        Reply

Leave a Reply to sneha Cancel reply