Just finished my first 'official' web server load testing by using the bamboo plan for tsung that I built previously. Here are a few things that I learned: When set use_controller_vm="true", by default maxusers is 800. Adding maxusers="50000" for example to change it. For testing proxy server, the option has to be configured as <option type="ts_http" name="http_use_server_as_proxy" value="true"></option> arrivalrate means … Continue reading First tsung load testing
Month: November 2015
Bamboo plan for tsung
We recently created a dedicated bamboo plan for using tsung to run load testing. (It can be added as a 'test' stage into the exisiting bamboo plan too). Instead of installing tsung in bamboo agent, we use a dedicate box as it is resources extensive. Here is how we set it up: 1) Create a … Continue reading Bamboo plan for tsung
hubot for Akamai
Previously, I wrote a python script to translate the Akamai error. I think the better way to do it is to build a robot to respond to users' requests. By using edgegride module, I wrote a Akamai module for hubot. Currently, I have added some of the diagnostic tool and ccu into it. It looks like this: … Continue reading hubot for Akamai
EC2 Instance assume role in other accounts
Besides IAM users, some AWS services can also assume roles. Here is the example of granting assume role permission to a EC2 instance. The scenario is that I have two accounts: In account A, I created a role (e.g RoleForB) to trust account B, and add a IAM policy to allow it to perform some read … Continue reading EC2 Instance assume role in other accounts
AWS cross accounts access S3 buckets
When working on AWS cross accounts S3 access, I found out that - Only s3:CreateBucket, s3:ListAllMyBuckets and s3:GetBucketLocation 3 actions are allowed to set relative-id of Resource to "*". For all other bucket actions, you must specify a bucket name. E.g If I want to allow a user from account B to put objects into … Continue reading AWS cross accounts access S3 buckets