Category Archives: Linux

Posts about Linux

DC/OS Exhibitor on S3 – Issues & Workarounds

If you want basic resiliency around your DC/OS master nodes when hosting them on AWS, you’ll want to have Exhibitor store its data in AWS S3. In order to do so, you’ll want to grant S3 IAM roles to your … Continue reading

Posted in Amazon Web Services, Linux, Tech. | Tagged , , , , , , , | Leave a comment

[How To] Java Heap Dump and Stack Trace

Here’s how you can quickly get java heap dump and stack dump on Amazon Linux with Java 8. Your mileage with these commands may vary. First, find the process ID (pid) and user for the java process that you want … Continue reading

Posted in Linux, Tech. | Leave a comment

Public IP Address of Private AWS Instances?

Do you want to find out the public IP address of your private instances (those in a private VPC subnet) but don’t know how? An easy way to do this would be to just do a “whatsmyip” equivalent on the … Continue reading

Posted in Amazon Web Services, Linux, Tech. | Tagged , , , , , , , , , | Leave a comment

TravisCI and Ansible on AWS

If you’re trying to use Travis CI and Ansible playbooks to spin up and configure instances on AWS, you’ll want to do things at some point: Configure instances on private subnets with Ansible via bastion host Secure the said Bastion … Continue reading

Posted in Linux, Tech. | Leave a comment

Find out last day of month using “cal” on Unix

I was writing a script the other day that required having to find out the last day of a month in a future month again generated by the script. I searched online for solutions but most of them were based … Continue reading

Posted in Linux, Tech. | Tagged , , , , , | 6 Comments