RSSAmplifier

Blog

(untitled)

abarrak.comRSS feed ↗10 posts

Latest posts

(untitled)

Since 2024 Storage Gateway is removed from oracle cloud infrastructure . However, there are other options mentioned to use buckets in OCI as file system. Detailed in this article. Options 1) Access via OCIFs. This is the most viable option to use the bucket as file-system, from the workload VM or server. For this option, you’ll need to set up OCI config and API Key, configured somewhere , then use…

(untitled)

When I was writing the expiry calculator gem (extracted from a license management system), the library’s main logic has some sort of integration with ActiveRecord , and I needed to verify that the easy way. Mocking the built-in active record connection pool and tables mapping showed to be cumbersome and may not ideally allow to validate the intended behaviour. Luckily, I found pieces in SO and…

(untitled)

This post reviews four main virtualization options in short. 💡 VM technologies are essentially considered by people when addressing on-premise use cases or when building DR for data centers. VMware Virtualization Started at (2003). Offers type-1 hypervisor that runs on bare-metal called ESXi with minimum disk image footprint (32MB), with resources, storage, and networking capabilities, and UI…

(untitled)

This post is a follow up on the previous one where I discussed the concept of infrastructure as code and Terraform. In this post, I will provide few useful notes I took while working on IaC projects, with examples to illustrate the techniques on two of the public providers (AWS / Oracle). 🔖 Note: I'm using whitespace freely to break long lines, which is in most cases not allowed in HCL…

(untitled)

An interesting usecase I have encountered recently is establishing a secure path (bridge) between Traefik as ingress controller and its destination backends. The post addresses traefik usage within Kubernetes, however it is applicable to other setups. Case A flow diagram is probably the way to explain the setup. The main routing resource is a CRD that resembles the following snippet. apiVersion :…

(untitled)

I have enjoyed reading this piece on stability and reliability by Colm MacCárthaigh . It is part of a concise and valuable series by AWS about the art of system operations collected under the name “Amazon Builders’ Library”. The comparison between coffee urn and computers when building reliable operational model is perfect and up to the point. Then, three characteristics taken from this analogy…

(untitled)

Helmfile is an orchestrator tool for collecting, building, and deploying cloud-native apps. Basically it’s the packager for helm chart based applications. One of the interesting ideas I came along recently, is utilizing it for working in air-gapped environments, where access to the internet is not feasible. Use Case Let’s say you were deploying an application to a Kubernetes cluster. The idea is…

(untitled)

Terraform has emerged as one of the top open source infrastructure as code (IaC) tools, since its initial release by Hashicorp back in 2014. The design philosophy behind the tool is to have declarative , and stateful representation for the underlying IT infrastructure (whether it be on public, on-premise, or hybrid cloud), which in turns simplify the control, collaboration, and auditing of the…

(untitled)

Problem Sometimes, when working with docker engine on CI systems, certain type of errors could arise from the challenging restrictions in the environment. This is typical due the inherent server-client architecture in docker. Here’s one of the problems that I’ve seen recently. When a client is connecting to dockerd in order to build an image or pull external images: failed to prepare…

(untitled)

Using universally unique identifiers (UUIDs) for exposed resource identifiers is more secure , and convenient for database distribution . It is relatively simple to configure Active Record to generate UUID primary keys in migrations. Setup Here are the steps: Setup the default generation inside config/application.rb : # config/application.rb module SampleApp class Application < Rails ::…