Renew AWS credential for a long run AWS CLI process


We use aws s3 sync to synchronise a big mount of files (800,000+ objects) from on-premise to AWS S3 bucket. Due to security restrictions, the Maximum CLI/API session duration is configured for 1 hour. So it is most likely the credential will expire before the sync job is completed. There are generally two places to … Continue reading Renew AWS credential for a long run AWS CLI process

Setup a Rolling Update Toggle for AWS Auto Scaling Group


Rolling update (handled by UpdatePolicy attribute) is a great feature in AWS Auto Scaling Group. With this feature, we are able to making changes without downtime. For example, replace existing instances one by one. By design, NOT every change of the Auto Scaling Group can trigger a rolling update. Only the changes made to LaunchConfigurationName, … Continue reading Setup a Rolling Update Toggle for AWS Auto Scaling Group

Stale node ids should automatically be removed in Jira Data Center


Finally finally ... Atlassian takes action on this one since reported 5 years ago. As stated in the 8.10.x release notes, Jira 8.10.0 and later now is able to remove stale node automatically. We've introduced automation to your cluster maintenance. Now, you do not have to remove the offline nodes from your cluster manually, or … Continue reading Stale node ids should automatically be removed in Jira Data Center

Run Jira Data Center in AWS – Part One


Jira is a stateful application, it requires persistent storage for both database and the shared home folder. And actually it is more complicated than it looks, e.g local index file, index files for some addons, nodes records etc. But it does not mean that you cannot run Jira in a dynamic environment, like AWS Auto … Continue reading Run Jira Data Center in AWS – Part One