We use both Bamboo and AWS. Making those two work together is really a amazing thing for DevOps. In this blog, I am going to talk about my favorite bamboo plan that supports quick build, hot code deployment and blue/green deployment. We name such Bamboo plan as AWS pipeline, as it is only used for AWS … Continue reading Bamboo plan for AWS build part 1
Category: Cloud
Bots Club
Are you using Slack? If yes, are you using Bot on Slack? If yes, do your Bots talk to each other? I guess most of them probably don't. The following picture should be familiar to you, people talk to each other on Slack. Have you ever seen Bots talk to each other like we do? This … Continue reading Bots Club
Get S3 Bucket Size
I did not realize that you can not find out the bucket size in the AWS console until some one asked me today. Here is a quick command to get the total size. % for each in bucket1 bucket2; do echo -n $each; aws s3 ls --summarize --human-readable --recursive s3://$each | grep -i 'Total Size'; … Continue reading Get S3 Bucket Size
Check DNS Cache when deploy Multi-AZ RDS
It is a common practice to enable mutli-AZ when deploy RDS in AWS to provide high availability. That's not all. There is one more thing you need to check - DNS cache setting of your applications/codes. If you overlook it, the hight availability design may not work as you expect. Imagine that when RDS detects the failure … Continue reading Check DNS Cache when deploy Multi-AZ RDS
Elastic Beanstalk fail to launch environment
Elastic Beanstalk automatically creates S3 buckets under your AWS account to save the data (manifests, logs, application versions...) that is used by itself. If the files are gone, the environment may fail to lauch. Here is a real example: One of the power users set up a lifecycle against the Beanstalk bucket to automatically remove … Continue reading Elastic Beanstalk fail to launch environment