Scaling EC2 Instances with AWS Auto Scaling Groups

AWS Auto Scaling Group service allows you to set up a logical grouping of similar EC2 instances that can used to ensure that a certain amount of instances is running at all times. This can be done for many different purposes, such as high availability, automatic scaling based on external …

more ...

All about keeping AWS S3 secure

With a spike in recent major hacks and leaks, AWS S3 has been put in spotlight due to organizations' failures to secure their object storage in the cloud. Just in June of this year, a big leak of US voter data was made public. This happened right after a May …

more ...

All about the AWS Elastic Load Balancing service

To make your workloads highly available on AWS you can use AWS Elastic Load Balancing service. This service allows you to balance the incoming traffic between EC2 instances in different Availability Zones (AZ) within the same region*. This service will scale automatically based on the request demand without you having …

more ...

Salt Grains

Salt Grains are really just descriptions of various pieces of the operating systems' information on the minion.

As SaltStack documentation states, they basically provide you with "grains of information". This allows you to grab information about the minion such as CPU information, underlying hardware (provided to you by dmidecode), network …

more ...

Mount S3FS on FreeBSD

S3FS is a FUSE-based utility that lets you mount your AWS S3 bucket like it's a filesystem. It handles all the abstractions of making API calls and puts/gets of files to the object store. It supports a number of features such as multistore upload, AWS S3 SSE (S3 server-side …

more ...

qemu-kvm bios-256k.bin missing

I have noticed the below error when one day i was starting up my KVM virtual machines to play around with Docker Swarm.

error: internal error: process exited while connecting to monitor: qemu: could not load PC BIOS 'bios-256k.bin'

There wasn't much information on google or forums and most …

more ...

Fix "Error: No group data available for configured repositories" in YUM

Sometimes on your RHEL-like system you may encounter the following error:

$ sudo yum grouplist
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
You can use up2date --register to register.
ULN support will be disabled.
Setting up Group Process
Error: No group data available for configured repositories

This …

more ...

Setting console resolution on CentOS 7 with Xen kernel

This one bugged me for a while. Whenever I would reboot my CentOS 7 server with Xen kernel, my console/framebuffer resolution would be terribly low. Since we live in 2016 and have huge monitors, there is no reason to use 800x600 for your screen resolution. Yes, it's nice to …

more ...

Pillars in Salt

At first Pillars were something that I could not wrap my head around due to confusing Salt documentation. Eventually the docs became better and with working in Salt extensively, the pillars finally kicked in. They are something that any experienced Salt user should be using as they open up more …

more ...

Stopping packages from updating on FreeBSD

Recently I encountered a package issue in Bacula-server package on FreeBSD 10. The package from pkg system was compiled to use Postgresql while I still use mysqld (I know, I know, I should migrate to pgsql or at least MariaDB). Of course I can recompile it with the necessary flags …

more ...