Integrate with AWS IAM for CloudWatch
Developers can monitor their AWS resources by integrating data from Amazon CloudWatch into their test and view it in real-time, while the BlazeMeter test is running. First set up AWS IAM and then connect it to BlazeMeter.
Access Amazon Access Key ID and Secret Access Key
To learn more about policy setup and controlling User Access to your account, see also Identity and access management for Amazon CloudWatch (docs.aws.amazon.com).
Follow these steps:
-
In IAM, go to the IAM Secure AWS Access Control dashboard and select Create new group.
-
Name the group, then click Next Step.
-
Choose Custom Policy and click Select
-
Fill in the Policy Name and Document using the following parameters:
Copy{ "Version": "2012-10-17",
"Statement": [
{
"Action": [
"autoscaling:Describe*",
"cloudwatch:Describe*",
"cloudwatch:List*",
"cloudwatch:Get*",
"ec2:Describe*",
"ec2:Get*",
"ec2:ReportInstanceStatus",
"elasticache:DescribeCacheClusters",
"elasticloadbalancing:Describe*",
"sqs:GetQueueAttributes",
"sqs:ListQueues",
"rds:DescribeDBInstances",
"SNS:ListTopics"
],
"Effect": "Allow",
"Resource": "*"
}
]
} -
Click Create Group at the bottom of the page.
Example: This policy set up gives the aforementioned newly named group read-only access to all relevant AWS services currently supported by BlazeMeter's integration: -
Save the created group.
The new policy is set up.
Next, assign users to the group. When creating a new user, you can either sign up or log in with your user credentials provided by BlazeMeter to the BlazeMeter integration with AWS CloudWatch.
Follow these steps:
-
Go to Users and click Create a new user.
-
Write down your Access Key ID and Secret Access Key.
-
Assign the newly created user to the group that you created a few steps earlier. Choose a user and click Add User to Groups.
-
Select the desired group and click Add to Groups.
Now you have a user with access to CloudWatch metrics. Once the user is created and you've logged in, save the Access Key ID and Secret Access Key in BlazeMeter.
Proceed with integrating data from CloudWatch into your test and viewing it in real-time.








