Running Elasticsearch cluster is not cheap, as it generally requires a couple of high spec servers to provides both performances and reliabilities. Below is a typical 3 nodes Elasticsearch cluster that is running on AWS: 3 nodes, one in each availability zone. each node is both master and data node, and it is formed by ec2 … Continue reading Run Elasticsearch Cluster on Spot Instances
Our nonprod environments have quite a lot Elastic Beanstalk environments. Most of them serves low traffics .Each ELB roughly costs $20 per month (no matter you use it or not) + data cost. From the cost perspective, I don't see there is a value that each of them needs a dedicated ELB (which was created by Elastic … Continue reading Consolidate Elastic Beanstalk ELB
We noticed that one of our Java applications that is deployed on Elastic Beanstalk has hourly service interruption. Each outage only lasts for about 40 - 60 seconds. By looking at the CloudWatch, the ELB has intermittent 5xx errors every one hour, like 09:01, 10:01, 11:01 ... After some investigations, I found it out that it … Continue reading Hourly Intermittent Elastic Beanstalk Service Interruption
Continue with yesterday's good news, another exciting new feature on EBS - Elastic Volumes. It allows you to dynamically increase capacity, tune performance, and change the type of any new or existing current generation volume with no downtime or performance impact. Check it out: https://aws.amazon.com/ebs/details/#elasticvolumes
It was painful that you are unable to change the instance profile for existing EC2 instance. A good news is that you CAN now via AWS CLI!! Here is a step by step example.
My new tool - Opsgenie schedule generator. It is a tool that can create Excel spreadsheet based on the Opsgenie schedule. And it also has a Lambda version, which allows you to deploy it with AWS API gateway, so you can have your RESTful API for your roster schedule. Note: In my practise, there are two … Continue reading OpsGenie Schedule Generator
Can AWS default VPC be deleted? I checked AWS documentations and it seems the following two are against each other. So I opened a ticket with AWS, and here is their answer: Technically yes, you can delete default VPC's and create a non-default VPC. Some services such as CloudFormer to create CloudFormation templates do searches … Continue reading Can AWS default VPC be deleted?