Reddit DevOps
272 subscribers
64 photos
32K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Mount S3 Objects to Kubernetes Pods

One of our customers asked for a solution to mount large files from S3 transparently to EKS pods.

Here's our solution - complete with a Docker image and a Helm chart:

https://dev.to/otomato\_io/mount-s3-objects-to-kubernetes-pods-12f5

\#kubernetes #eks #aws

https://redd.it/sgx57e
@r_devops
Master EKS Clusters, Terraform & ArgoCD with this Comprehensive DevOps Tutorial!

Hey, DevOps enthusiasts! 👋

I recently created an in-depth tutorial covering the entire process of creating and managing an EKS cluster using Terraform modules and installing ArgoCD on it. I wanted to share it with you all, as I believe it can be a valuable resource for those looking to enhance their DevOps skills.

In this tutorial, you'll learn:

How to set up an EKS cluster with Terraform modules
Best practices for managing your infrastructure
Installing and configuring ArgoCD for seamless deployment
And finally, how to properly destroy the cluster once you're done
Whether you're new to DevOps or an experienced pro, I'm confident that you'll find this tutorial useful and informative!

🎥 Check out the video here: https://youtu.be/zgNs2xz1eLk

I'd love to hear your thoughts, feedback, or any questions you might have. Let's discuss and learn from each other!

Happy learning! 🚀

https://redd.it/11tx9gs
@r_devops
Instances)](https://github.com/omerbsezer/Fast-Terraform/blob/main/SAMPLE03-EC2-EBS-EFS.md)
* [SAMPLE-04: Provisioning ECR (Elastic Container Repository), Pushing Image to ECR, Provisioning ECS (Elastic Container Service), VPC (Virtual Private Cloud), ELB (Elastic Load Balancer), ECS Tasks and Service on Fargate Cluster](https://github.com/omerbsezer/Fast-Terraform/blob/main/SAMPLE04-ECR-ECS-ELB-VPC-ECS-Service.md)
* [SAMPLE-05: Provisioning ECR, Lambda Function and API Gateway to run Flask App Container on Lambda](https://github.com/omerbsezer/Fast-Terraform/blob/main/SAMPLE05-Lambda-Container-ApiGateway-FlaskApp.md)
* [SAMPLE-06: Provisioning EKS (Elastic Kubernetes Service) with Managed Nodes using Blueprint and Modules](https://github.com/omerbsezer/Fast-Terraform/blob/main/SAMPLE06-EKS-ManagedNodes-Blueprint.md)
* [SAMPLE-07: CI/CD on AWS => Provisioning CodeCommit and CodePipeline, Triggering CodeBuild and CodeDeploy, Running on Lambda Container](https://github.com/omerbsezer/Fast-Terraform/blob/main/SAMPLE07-CodeCommit-Pipeline-Build-Deploy-Lambda.md)
* [SAMPLE-08: Provisioning S3 and CloudFront to serve Static Web Site](https://github.com/omerbsezer/Fast-Terraform/blob/main/SAMPLE08-S3-CloudFront-Static-WebSite.md)

**Table of Contents**

* [Motivation](https://github.com/omerbsezer/Fast-Terraform#motivation)
* [What is Terraform?](https://github.com/omerbsezer/Fast-Terraform#what_is_terraform)
* [How Terraform Works?](https://github.com/omerbsezer/Fast-Terraform#how_terrafom_works)
* [Terraform File Components](https://github.com/omerbsezer/Fast-Terraform#terrafom_file_components)
* [Providers](https://github.com/omerbsezer/Fast-Terraform#providers)
* [Resources](https://github.com/omerbsezer/Fast-Terraform#resources)
* [Variables (tfvar)](https://github.com/omerbsezer/Fast-Terraform#variables)
* [Values (Locals, Outputs)](https://github.com/omerbsezer/Fast-Terraform#values)
* [Meta Arguments](https://github.com/omerbsezer/Fast-Terraform#meta_arguments)
* [Dynamic Blocks](https://github.com/omerbsezer/Fast-Terraform#dynamic_blocks)
* [Data Sources](https://github.com/omerbsezer/Fast-Terraform#datasources)
* [Provisioners (file, remote\_exec, local\_exec), Null Resource](https://github.com/omerbsezer/Fast-Terraform#provisioners)
* [Modules](https://github.com/omerbsezer/Fast-Terraform#modules)
* [Workspaces](https://github.com/omerbsezer/Fast-Terraform#workspaces)
* [Templates](https://github.com/omerbsezer/Fast-Terraform#templates)
* [Backends and Remote States](https://github.com/omerbsezer/Fast-Terraform#backends_remote_states)
* [Terraform Best Practices](https://github.com/omerbsezer/Fast-Terraform#best_practice)
* [AWS Terraform Hands-on Samples](https://github.com/omerbsezer/Fast-Terraform#samples)
* [SAMPLE-01: EC2s (Windows 2019 Server, Ubuntu 20.04), VPC, Key-Pairs for SSH, RDP connections](https://github.com/omerbsezer/Fast-Terraform#ec2_vpc_key_pair_ssh_rdp)
* [SAMPLE-02: Provisioning Lambda Function, API Gateway and Reaching HTML Page in Python Code From Browsers](https://github.com/omerbsezer/Fast-Terraform#lambda_apigateway_python)
* [SAMPLE-03: EBS (Elastic Block Storage: HDD, SDD) and EFS (Elastic File System: NFS) Configuration with EC2s (Ubuntu and Windows Instances)](https://github.com/omerbsezer/Fast-Terraform#ebs_efs_ec2)
* [SAMPLE-04: Provisioning ECR (Elastic Container Repository), Pushing Image to ECR, Provisioning ECS (Elastic Container Service), VPC (Virtual Private Cloud), ELB (Elastic Load Balancer), ECS Tasks and Service on Fargate Cluster](https://github.com/omerbsezer/Fast-Terraform#ecr_ecs_elb_vpc_ecs_service_fargate)
* [SAMPLE-05: Provisioning ECR, Lambda Function and API Gateway to run Flask App Container on Lambda](https://github.com/omerbsezer/Fast-Terraform#ecr_lambda_apigateway_container)
* [SAMPLE-06: Provisioning EKS (Elastic Kubernetes Service) with Managed Nodes using Blueprint and Modules](https://github.com/omerbsezer/Fast-Terraform#eks_managednodes_blueprint)
* [SAMPLE-07: CI/CD on AWS => Provisioning CodeCommit
Services](https://github.com/omerbsezer/Fast-AWS#artificialintelligence)
* [AWS Hands-on Labs](https://github.com/omerbsezer/Fast-AWS#handsonlabs)
* [HANDS-ON-01: Provisioning EC2s on VPC, Creating Key-Pair, Connecting EC2](https://github.com/omerbsezer/Fast-AWS#ec2_vpc_key_pair)
* [HANDS-ON-02: Provisioning Lambda, API Gateway and Reaching HTML Page in Python Code From Browser](https://github.com/omerbsezer/Fast-AWS#lambda_apigateway_python)
* [HANDS-ON-03: EBS and EFS Configuration with EC2s](https://github.com/omerbsezer/Fast-AWS#ebs_efs_ec2)
* [HANDS-ON-04: Provisioning ECR, Pushing Image to ECR, Provisioning ECS, VPC, ELB, ECS Tasks, Service on Fargate Cluster](https://github.com/omerbsezer/Fast-AWS#ecr_ecs_elb_vpc_ecs_service_fargate)
* [HANDS-ON-05: Provisioning ECR, Lambda and API Gateway to run Flask App Container on Lambda](https://github.com/omerbsezer/Fast-AWS#ecr_lambda_apigateway_container)
* [HANDS-ON-06: Provisioning EKS with Managed Nodes using Blueprint and Modules](https://github.com/omerbsezer/Fast-AWS#eks_managednodes_blueprint)
* [HANDS-ON-07: Provisioning CodeCommit, CodePipeline and Triggering CodeBuild and CodeDeploy Container in Lambda](https://github.com/omerbsezer/Fast-AWS#ci_cd)
* [HANDS-ON-08: Provisioning S3, CloudFront to serve Static Web Site](https://github.com/omerbsezer/Fast-AWS#s3_cloudfront)
* [HANDS-ON-09: Provisioned Gitlab Runner on EC2, connection to Gitlab Server using Docker on-premise](https://github.com/omerbsezer/Fast-AWS#gitlabrunner)
* [HANDS-ON-10: Implementing MLOps Pipeline using GitHub, CodePipeline, CodeBuild, CodeDeploy, Sagemaker Endpoint](https://github.com/omerbsezer/Fast-AWS#sagemaker)
* [References](https://github.com/omerbsezer/Fast-AWS#references)

https://redd.it/1inqgtc
@r_devops
Terraform AWS Infrastructure Framework (Multi-Env, Name-Based, Scales by Config)

🚀 Excited to share my latest open-source project: a Terraform framework for AWS focused on multi-environment infrastructure management.

After building and refining patterns across multiple environments, I open-sourced a framework that helps teams keep deployments consistent across dev / qe / prod.

The problem:
- Managing AWS infra across dev / qe / prod usually leads to:
- Configuration drift between environments
- Hardcoded resource IDs everywhere
- Repetitive boilerplate when adding “one more” resource
- Complex dependency management across modules

The solution:
A workspace-based framework with automation:

- Automatic resource linking — reference resources by name, not IDs. The framework resolves and injects IDs automatically across modules.
- DRY architecture — one codebase for dev / qe / prod using Terraform workspaces.
- Scale by configuration, not code — create unlimited resources WITHOUT re-calling modules. Just add entries in a .tfvars file using plain-English names (e.g., “prod_vpc”, “private_subnet_az1”, “eks_cluster_sg”).

What’s included:
- VPC networking (multi-AZ, public/private subnets)
- Internet gateway, NAT gateway, route tables, EIPs
- Security groups + SG-to-SG references
- VPC endpoints (Gateway & Interface)
- EKS cluster + managed node groups

Real example:
# terraform.tfvars (add more entries, no new module blocks)
eks_clusters = {
prod = {
my_cluster = {
cluster_version = "1.34"
vpc_name = "prod_vpc" # name, not ID
subnet_name = ["pri_sub1", "pri_sub2"] # names, not IDs
sg_name = ["eks_cluster_sg"] # name, not ID
}
}
}
# Framework injects vpc_id, subnet_ids, sg_ids automatically

GitHub:
https://github.com/rajarshigit2441139/terraform-aws-infrastructure-framework

Looking for:
- Feedback from the community
- Contributors interested in IaC patterns
- Teams standardizing AWS deployments

Question:
What are your biggest challenges with multi-environment Terraform? How do you handle cross-module references today?

#Terraform #AWS #InfrastructureAsCode #DevOps #CloudEngineering #EKS #Kubernetes #OpenSource #CloudArchitecture #SRE

https://redd.it/1qkjko7
@r_devops