Everything about DevOps

Microservices with Kubernetes

Short Summary This was a three days training where Murat Karakaş explained; what Microservices are, what Spring Boot is, what Kubernetes is, how they combine, what best practices are with them. Long Summary I took some notes meanwhile and I'm going to research the topics, provide notes, links to understand the training completely. I noticed that there are many new technologies out there and I believe it's for my benefit to research these technologies and have it written here. We can think this as a notebook for the training. Questions                    …

Continue Reading

Snapshot Restore versus pg_restore – Time Comparison

Summary I'll just cut to the chase here and give detailed analysis immediately after. The time difference between pg_restoring an 11GB sized PostgreSQL database with 159MB pg_dump file, versus restoring snapshot of its t2.medium RDS Instance: Analysis Important note! The time values are subject to change, because it depends on network, other running processes, intermediary EC2 Instance type etc. pg_restore I used a t2.medium SSM Bastion Instance to execute PostgreSQL commands. As I've mentioned before, provisioning a more powerful EC2 Instance might increase the performance drastically. You can find information about SSM Bastions in this page. Imagine you have a PostgreSQL…

Continue Reading

Session Manager – Modern Bastion

Overview Are you tired of dealing with key pairs? Maybe tired of securing them with KeyPass? Or configuring SSH daemon for ease of use? Don't worry, Systems Manager - Session Manager is here to save you from all these. Session Manager is announced on 11 September 2018 with this blog post. Seriously, I remember being excited like potatoes thrown into hot oil. Because the process for connecting RDS Instances via Bastion Hosts were literal pain in our workplace. All those SSH private keys, security of them, jumping one from another for again, security reasons... All I can say is, it…

Continue Reading

ECS Cluster Hibernation-Scheduled Stop/Start

But Why? Intensely utilized ECS Clusters can cost lots of Benjamins. Needless to say, there is no way around to lower the costs in Production environments besides provisioning appropriate type of instances for the tasks, coding efficiently, architecting a well-planned infrastructure and so on since the clusters must be running all the times. But of course an Infrastructure Engineer can take actions on Development environments to lower the costs. I'm shutting down all clusters on Development environment between 23:00-07:00 in my way by a Python Lambda script which gets deployed by Terraform. I stop clusters by setting their Auto Scaling…

Continue Reading
Close Menu