Bulk Installation of Agents in AWS Instances
The following are the steps to install agents in bulk in AWS Instances
- Create S3 Bucket in the region you want to deploy the Agents.
- In the product web console, navigate to the Agent tab > Agent Installation > Other methods > AWS Instances > Download Agent
- Upload all files from the downloaded Agent zip folder to the created bucket and set the permission as public.
- Create IAM role for SSM.
- Change EC2 settings.
- Select the existing instance.
- Choose Action at the top of the screen.
- Choose Instance settings and assign the created role.
- Run the command to install the agents in AWS Instances.
- In the AWS System Manager console, choose Run Command
- Run the following command :
- Note: BUCKETPATH is object URL.
New-Item -ItemType directory -Path C:\\LocalOffice\\localsetup
$WebClient.DownloadFile("BUCKETPATH/DesktopCentralAgent.msi","LOCALPATH/DesktopCentralAgent.msi") $WebClient.DownloadFile("BUCKETPATH/DesktopCentralAgent.mst","LOCALPATH/DesktopCentralAgent.mst") $WebClient.DownloadFile("BUCKETPATH/setup.bat","LOCALPATH/setup.bat") cmd /c msiexec /i C:\\LocalOffice\\localsetup\\DesktopCentralAgent.msi REBOOT="REALLYSUPPRESS" MSIRESTARTMANAGERCONTROL="Disable" TRANSFORMS=C:\\LocalOffice\\localsetup\\DesktopCentralAgent.mst ENABLESILENT=yes /qn
You have now successfully installed Agents in AWS instances.