VPC flow is a AWS feature that allows you to capture the inbound and outbound traffics of all network interfaces in your VPC. To get the information, you have to go to the Cloudwatch to read the raw logs line by line which is not really efficient. If you happen to use Sumologic, you can … Continue reading Send VPC flow logs to Sumologic
Tag: AWS
Elastic Beanstalk Gotchas
Elastic Beanstalk is a great tool for the devs who wants a quick way to spin up web application environments which have ELB, ASG, RDS and DNS, also offer an easy way to deploy codes and manage the floating dns. I have been using it for a few weeks. And here are a few gotchas … Continue reading Elastic Beanstalk Gotchas
Tips on saving AWS cost
I remember a few years back, lots companies were struggling with the VM sprawl problem. With the popularity of Cloud, the in house VM sprawl issues might be improved as most companies are moving to Cloud nowadays. I like the flexibility (on demand) and capability (a broad range of technologies) of Cloud. But I have to … Continue reading Tips on saving AWS cost
Automate Akamai Cloudlets Edge Redirect
This is one of my side projects. It is written in Python and Bash. The step is very straight forward: Download the current production version -> Add the rules, then pushes it to the staging -> Test the redirect in staging -> If passed, push it to production. If not, notify the user which one … Continue reading Automate Akamai Cloudlets Edge Redirect
First tsung load testing
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