SShortSingh.
Back to feed

DevOps Day 6: Cron's OR Trap and the One-Time EC2 Key Pair Explained

0
·1 views

A DevOps practitioner documenting a 100-day learning series tackled two common Linux and AWS automation tasks on Day 6, using the KodeKloud Engineer lab platform. The cron walkthrough highlighted a widely misunderstood scheduling rule: setting both the day-of-month and day-of-week fields to non-wildcard values triggers an OR condition, not AND, causing jobs to fire more often than intended. Additional cron pitfalls covered include its minimal runtime environment requiring absolute binary paths, and the need to manually redirect output to a log file since failed jobs produce no visible error by default. On the AWS side, launching an EC2 instance via the CLI requires pre-gathering four dependencies — an AMI ID, security group, subnet, and key pair — with a warning that AMI IDs are region-specific and change frequently. The write-up also stressed that an EC2 private key is only available for download at the moment of creation, making it a one-time retrieval that cannot be recovered if missed.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingHacker News ·

Ternlight: Tiny 7MB AI Embedding Model Runs Entirely in the Browser via WASM

Ternlight is a newly released embedding model that weighs just 7 megabytes and runs directly in web browsers using WebAssembly (WASM) technology. The project was shared on Hacker News, where it attracted early community attention. Its compact size makes it suitable for client-side AI tasks without requiring server-side infrastructure. A live demo has been made available online, allowing users to test the model's capabilities firsthand.

0
ProgrammingHacker News ·

Developer builds Harry Potter-inspired AI diary using Fable framework

A developer named Maxime Rivest has created an open-source project called Riddle, hosted on GitHub, that recreates the concept of Tom Riddle's sentient diary from the Harry Potter series. The project uses Fable, a framework designed to make AI interactions more dynamic and narrative-driven. The diary behaves as an interactive AI character, responding to users in the style of the fictional artefact from J.K. Rowling's universe. The project was shared on Hacker News, where it garnered modest early attention with 8 points and no comments at the time of posting.

0
ProgrammingDEV Community ·

Yumma CSS Maps Utility Classes Directly to CSS Properties and Values

Yumma CSS is a utility-first CSS framework developed over three years as a solo project, designed for developers who already think in standard CSS. Unlike Tailwind CSS, which uses its own readable but non-CSS-native class names, Yumma CSS derives class names mechanically from the initials of CSS property and value words — for example, 'align-items: center' becomes '.ai-c'. The framework uses a fixed spacing scale based on 0.25rem increments and deliberately excludes arbitrary value syntax, prioritizing codebase consistency over flexibility. Because the system relies on familiarity with CSS properties, it is explicitly intended for experienced developers rather than beginners. The project is still in early stages, with documentation and an online playground available for those who want to explore it without installation.

0
ProgrammingDEV Community ·

AI-Generated Code Shifts Review Burden Downstream, Mirroring Social Media's Noise Problem

A software developer writing on DEV Community observed that an AI-generated comment on his product launch post recycled his own article's points back to him, prompting a reflection on effort and cost. He argues that when content production becomes nearly free — whether social media posts around 2008–2012 or AI-generated code today — the burden of evaluating quality does not disappear but shifts to those downstream. In social media, that cost landed on scrolling readers; in software development, it now falls on code reviewers, maintainers, and late-night debuggers. The developer contends this redistribution of effort happens automatically once producing stops carrying a real cost, because assessing quality remains expensive and nothing has made it cheaper. He acknowledges that much pre-AI code was already low-quality boilerplate, but stresses that the volume surge driven by AI generation has made the hidden cost of sorting good from bad significantly larger.