Setting up Assets - AWS Integration
Here's some information on setting up Assets integration with AWS.
Before you begin
To use this integration, you need:
- Jira (Core, Software, Service Management)
Download and install Assets - AWS Integration
Download the latest version from Atlassian Marketplace.
Setting up Assets
You need to set up an import configuration in Assets. For more info, see Importing AWS data into Assets.
Setting up AWS
Complete these steps to obtain the IAM key, secret, and other details needed for your Assets configuration.
1. Create an IAM user for importing
To create the user and obtain the required key and secret, see AWS Documentation Guide.
2. Create an import policy
- Create a policy.
- Select JSON and paste the JSON text from the following file: Assets_Import-Policy-Permissions.json
Save the policy, for example as "Assets import permissions".
Remember that you need to update the policy when we adding new service support.
The have added the date of the policy as Sid in the JSON Text.
3. Assign the policy to the IAM user
Assign the policy to the user you created for importing.
4. Create an SSM policy and role
To get detailed attributes for the EC2 instance, you need to have the SSM-Agent installed on the EC2 instance and create an SSM role and attach them to your instances.
- Create a policy.
- Select JSON and paste the JSON text from the following file: SSM-Role-Policy-Permissions.json
- Save the policy, for example as "Assets SSM role".
- Change the Trusted Relationships for the role to the following JSON: SSM-Role-Trust-relationships.json
If the Agent isn't available or the role isn't assigned, the information specified in SSM instance details below won't be imported.
For more information about SSM, see AWS-SSM-Documentation.
SSM instance details
When you have configured the SSM role as described above, Assets - AWS Integration can execute the following commands on your EC2 instance and receive data.
- SSM agent being installed on the EC2 instance
- SSM role being assigned
For Linux system that don't have the
dmidecode installed, the attribute values that need it will not be available.
|Instance attribute||Windows command|
|Ram||Get-WmiObject Win32_PhysicalMemory | select Capacity"|
|Model||Get-WmiObject Win32_ComputerSystem | select Model|
Get-WmiObject Win32_BIOS | select SerialNumber
Get-WmiObject Win32_ComputerSystemProduct | select UUID
Get-WmiObject Win32_ComputerSystemProduct | select Vendor
Get-WmiObject Win32_OperatingSystem | select Caption, Manufacturer, OSArchitecture, Version, BuildNumber, ServicePackMajorVersion, ServicePackMinorVersion | Format-List
Get-WmiObject Win32_Processor | select Caption, Name, DeviceID, NumberOfCores, MaxClockSpeed | Format-List
|Instance attribute||UNIX command|
|Ram||egrep '^MemTotal' /proc/meminfo|
|Model||dmidecode | grep 'Product'|
dmidecode | grep 'Serial Number'
dmidecode | grep 'UUID'
dmidecode | grep 'Manufacturer'
uname -o -r -i -m && cat /etc/*release
egrep '^(model name|cpu MHz|[pP]rocessor|physical id|cpu cores)' /proc/cpuinfo
Was this helpful?Yes Provide feedback about this article