aws

Linux User Creation Bash Script

Linux User Creation Bash Script

As your company scales and brings in new developers, managing user accounts manually can become cumbersome and error-prone. Automating this process with a Bash script can save time and ensure consistency across the board. In this article, I'll walk you through creating a Bash script called create_users.sh that reads a text file containing usernames and group names, creates the necessary users and groups, sets up home directories, generates random passwords, and logs all actions. Let's dive in! RequirementsInput File: A text file where each line is formatted as user;groups. Usernames and groups are separated by a semicolon ;, and multiple…
Read More
30 days of AWS – Part 3: AWS Well-Architected Framework

30 days of AWS – Part 3: AWS Well-Architected Framework

Definition To put it simply, the AWS well-architected framework is a collection of best practices and guidelines for designing and operating reliable, secure, efficient, and cost-effective systems in the cloud. It is built upon 6 pillars. Namely: Security Cost optimization Operational excellence Reliability Efficiency Sustainability Acronym to remember it by: S-C-O-R-E-S Operational Excellence Focus - Run and monitor systems to deliver business value. Continually improve and support processes and procedures. Key Topics Automating changes Responding to events Defining standards to maintain daily operations Design Principles Perform operations as code- Define the entire workload as code and update it with code.…
Read More
Strong Performance with EC2, Lambda, and the Momento SDK for Rust

Strong Performance with EC2, Lambda, and the Momento SDK for Rust

I wrote recently about Mind Boggling Speed with Caching with Momento and Rust and wanted to continue in that theme as I explore the Momento SDK for Rust. Caching is a technique that builders reach for when looking to accomplish either improved performance or reduce the burden on resource-dependent parts of an application. It might also be a choice when looking to save costs if an operation is charged per read such as with DynamoDB. In any of those scenarios, caching must be fast. But caching must not also introduce a high amount of complexity. This is where I love…
Read More
Scaling databases with AWS RDS and read replicas

Scaling databases with AWS RDS and read replicas

Amazon Web Services (AWS) Relational Database Service (RDS) is a managed service that simplifies the process of configuring, operating, and scaling a relational database in the cloud. AWS RDS is a versatile choice that supports several database engines including PostgreSQL, MySQL, Oracle, MariaDB, Microsoft SQL Server, and Amazon's own Aurora. Advantages of using RDS over a self hosted database Managed Service - AWS RDS is a fully managed service, which means that AWS takes care of provisioning, patching, backup, recovery, and even scaling. This allows developers and database administrators to focus on the application development and optimization rather than managing…
Read More
AWS: Your Ally in Amplifying Reliability with GenAI

AWS: Your Ally in Amplifying Reliability with GenAI

Generative AI, or the Large Language Models, is by far one of the most exciting technologies we have seen. It has far-reaching consequences, impacting various fields. Site Reliability Engineering is currently experiencing its moment, with GenAI revolutionizing operations. I refer to this as SRE 2.0, a new and improved version of SRE powered by GenAI. What really is an LLM? Before delving deeper, let's examine LLMs. A Large Language Model (LLM) is a type of artificial intelligence model developed to process and generate human-like text at scale. These models are trained on vast amounts of text data and can perform…
Read More
Full Stack Serverless Challenge #1: AWS Amplify Gen 2

Full Stack Serverless Challenge #1: AWS Amplify Gen 2

In this challenge, we'll be learning more about Amplify Gen 2. It is an AWS service that allows front-end developers to deploy full-stack applications. It has a code library that attaches itself to supported frontend frameworks like VueJS, ReactJS, Flutter, React Native, etc. Once attached to the framework, developers can easily create serverless backends, protect them with user authentication, and add file uploads and downloads. We start by following the basic getting started guide. From there, we'll get our hands dirty with the core functionalities of Amplify Gen 2. This is not a walkthrough post. It forces you to explore…
Read More
Nitro Card, Why AWS is best!

Nitro Card, Why AWS is best!

One of my interesting area is a virtualization. It is very complicated area in computer science and hardware. Why AWS is so special compared with Google Cloud and Microsoft Azure. Some people said that "First Mover Advantage" Generally speaking, Yes. But from the point of computer scientist, I think AWS Nitro is the key technology. There is no similar technology in Google Cloud and Microsoft Azure. But the detailed information is not well documented. I want to summarize the Nitro Card. This is my understanding from the AWS re-invent. In Early 2010, the performance of AWS EC2 instance was not…
Read More
Automating AWS Cost and Usage Report with CloudFormation

Automating AWS Cost and Usage Report with CloudFormation

In this blog post, we'll explore how to set up AWS Cost and Usage Report (CUR) automatically using AWS CloudFormation. This includes creating an S3 bucket for storing your reports, configuring the CUR to export data in Parquet format, and setting up Athena and Glue for querying the data. By the end of this post, you'll have a comprehensive, automated solution for managing and analyzing your AWS cost and usage data. Prerequisites Before diving into the CloudFormation template, you'll need: An AWS account AWS CLI installed and configured Appropriate permissions to create AWS resources (S3, IAM, Athena, Glue, CUR) Project…
Read More
Mitigating disruption during Amazon EKS cluster upgrade with blue/green deployment

Mitigating disruption during Amazon EKS cluster upgrade with blue/green deployment

Co-author @coangha21 Table of Contents In-place and blue/green upgrade strategies Upgrade cluster process Prerequisite Update manifests Bootstrap new cluster Re-deploy add-ons and third-party tools with compatible version Re-deploy workloads Verify workloads DNS switchover Stateful workloads migration Conclusion IntroductionUpgrading your Amazon EKS cluster version is necessary for security, performance optimization, new features, and long-term support. Nowadays, Amazon EKS introduces extended support plan for Kubernetes version that will cost you remarkably. The upgrade is never a easy game and can feel like a business continuity nightmare. Some may feel tempted to postpone the inevitable. In this blog, we will walk you through…
Read More
Studying for the AWS SAA

Studying for the AWS SAA

With countless posts on the internet explaining the "best" way to study for the AWS Solutions Architect Associate exam, I thought I would add my own experience to the mix. TLDR: Adrian Cantrill's SAA course Tutorial Dojo's practice exams: One question on the exam exactly matched Review Set 7. Many services like Karpenter were covered, which I either forgot or didn't remember from Cantrill's course. Start with Review Mode, complete each exam in an hour and a half. Study incorrect answers using flashcards or another easy-to-review method. I've been dabbling in the DevOps field for a couple of years now.…
Read More
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.