Swap URL: This is for blue/green deployment. The idea is to update the floating DNS to point to different stack's ELB CNAME. It allows us to easily divert the traffics to different backend stack, but keep it transparent to users. Cloudformation snippet "Resources": { "Route53DNSRecord": { "Properties": { "Comment": "Floating DNS Record", "HostedZoneName": { "Fn::Join": … Continue reading Bamboo plan for AWS build part 4
Bamboo plan for AWS build part 3
Continue with the Bamboo plan for AWS build, now it is time to look into the deployment plan. For each environment, I got 4 sub plans: Create Stack, Deploy Config, Swap URL and Delete Stack. Create Stack: As explained in the part 1, Stack means the infrastructure. e.g A Nginx stack has those components: ELB, Autoscaling … Continue reading Bamboo plan for AWS build part 3
Bamboo plan for AWS build part 2
Let's take a closer look at the build plan. It has four stages, and the names are self explanatory. Checkout - Check out the source code from one or more repositories. Package - Build the code or create a package of the binaries then share them as artifacts. Bake - Create new AMI. Share - Share the AMI … Continue reading Bamboo plan for AWS build part 2
Bamboo plan for AWS build part 1
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
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