Apache Tune Up I was able to do about 4K concurrent connections with this setup. Using Centos 6.7 64bit Apache httpd-2.2.15-47.el6.centos.x86_64 a Virtual Machine 4x CPU’s and 4GBs of memory, I have 2 disks, one for /var and other for […]
script to check aws status
This is a bash script made to work with nagios and to automaticly check Amazon AWS status based on the RSS from http://status.aws.amazon.com/ I did find something similar in Ruby I tried to keep it simple as possible… Here is […]
How to mount xfs
How to mount xfs #Find the new disk fdisk -l #Create the partition ( n,1,w) fdisk /dev/xvdf #Needed yum install xfsprogs.x86_64 xfsdump-3.1.3-5.7.amzn1.x86_64 #Make the files system mkfs.xfs -f /dev/xvdf #Prepare the mountpoint mv /opt/ /opt2/ mkdir /opt #Mount it mount […]
Setup AWS S3 Policy
S3 is a great place to keep logs data or even backups. Monthly Basic cost: S3 U$ 0.02 p/ GB (with Reduce Redundancy). Glacier only U$ 0.01 p/ GB For more detail use the AWS Calculator http://calculator.s3.amazonaws.com/index.html I currently send […]
Amazon Leadership Principles
Amazon Leadership Principles aren’t just a pretty inspirational wall hanging. These Principles work hard. Amazonians use them, every day, whether they’re discussing ideas for new projects, deciding on the best solution for a customer’s problem, or interviewing candidates. It’s just […]
s3 delete script
How about if you need to delete large quantities of files inside a S3 bucket. In my case it was about 5 millions files. Using a python script. p>Here is the code: # coding: utf-8 # Original by Bruno Mentges […]
s3 set cache-control
Script to set cache control header to a large S3 bucket Best let it run on the background. do nohup /root/set_cache.sh > /root/set_cache.log & p>Here is the code: #!/bin/bash # #set cache_control header on large buckets using s3cmd #Felipe Ferreira […]
