Huggies is a side project that I started when working for the NAPI team which pronounced as ['næpɪ], and that is why I named it as Huggies 😉 The team's environments are mostly on AWS Elastic Beanstalk. In general, Elastic Beanstalk is a good tool as it abstracts the complexicity of managing Elastic Load Balancer, … Continue reading Huggies – AWS Elastic Beanstalk Automation Tool
In case you are not familiar with AWS abbreviation, SES stands for Simple Email Service, ACM is short for AWS Certificate Manager. These two are independent services, each can work without the other. But in some scenarios, you may need to make them work together to solve your problem. For example: The domain does not … Continue reading Use AWS SES to validate ACM certificate request
Each EBS volume can be modified once every 6 hours. I did not know it until 5 minutes ago. I resized a EBS volume from 100G to 150G, then I thought it might be better give it more space. To my surprise, I got this error when I tried to resize it again to 200G.
In the Elastic Beanstalk console, you get two options for your environment type: Load balancing + auto scaling or Single instance. If it make you think Single instance is just a single instance, then you are cheated. It is actually a auto scaling group as well, but with Min:1 Max:1 setting. And Elastic Beanstalk creates … Continue reading Hack ‘Environment Type’ in Elastic Beanstalk
Have your http calls ever been throttled by AWS? If not, congratulations! And if you are curious about what it looks like, here you go: Below is what AWS says about the EC2 request rate limits. The same principal applies to other AWS services, e.g Autoscaling group, in which I encountered the rate exceeded problem. … Continue reading Code smartly to avoid exceed AWS request rate
Spot fleet is good, but it may not fit every use case. E.g you can not easily shutdown the non-prod environment with spot fleet, due to its scalable target only allows 1 - 3000. In some scenarios, running autoscaling group on spot instance is a better way to go. And essentially, it is all about the … Continue reading Run autoscaling group on spot instance in a smart way