Best of Terraform2024

  1. 1
    Article
    Avatar of devtoDEV·2y

    Advanced End-to-End DevOps Project: Deploying A Microservices APP To AWS EKS using Terraform, Helm, Jenkins And ArgoCD (Part I)

    This post discusses the implementation of an advanced end-to-end DevSecOps pipeline using various tools such as GitOps, Terraform, Jenkins, and ArgoCD. The first part of the project focuses on setting up the CI pipeline, including provisioning EC2 instances and configuring Jenkins.

  2. 2
    Article
    Avatar of devtoDEV·2y

    How to deploy your own website on AWS

    Learn how to deploy your own website on AWS. Own the code and control it as you see fit. Understand DNS and Route53. Use DevOps to solve automation issues.

  3. 3
    Article
    Avatar of communityCommunity Picks·2y

    Wait, What’s GitOps?

    GitOps is a modern way to manage cloud-native systems using Git as version control for infrastructure. Argo CD, Flux, and Terraform are popular tools for implementing GitOps. Setting up GitOps with Argo CD involves deploying it to a Kubernetes cluster, connecting it to a Git repository, and integrating with a CI pipeline.

  4. 4
    Article
    Avatar of devtoDEV·2y

    Deploying a Full Stack AWS Architecture Using Terraform: Ensuring High Availability in AWS

    Learn how to deploy a full stack AWS architecture using Terraform. Ensure high availability by configuring DNS with AWS Route 53, implementing load balancing with AWS ALB, securing transmission with AWS Certificate Manager, protecting your application with AWS WAF, achieving elasticity with auto scaling, enabling persistent storage across instances with Amazon EFS, setting up a highly available database with Amazon RDS, monitoring and alerting with AWS CloudWatch, streamlining development workflow with a CI/CD pipeline using GitHub Actions, and scripting infrastructure creation with Terraform.

  5. 5
    Article
    Avatar of faunFaun·2y

    Nitric is Terraform for Developers

    Nitric introduces a new paradigm called Infrastructure from Code (IfC), designed to bring the clarity and execution capabilities of Infrastructure as Code (IaC) tools like Terraform to application developers. With Nitric, you can document application requirements in a clear, concise, and executable format using Nitric SDKs and CLI, enabling easier and more efficient development and cloud infrastructure management.

  6. 6
    Article
    Avatar of towardsdevTowards Dev·2y

    Building a Secure WebSocket API with AWS API Gateway, Lambda, and JWT Authorization using Terraform

    This guide details the steps to build a secure WebSocket API using AWS API Gateway, integrated with AWS Lambda and secured with JWT authorization. The infrastructure setup is automated with Terraform, ensuring a scalable and manageable real-time communication system with CloudWatch logging for monitoring API activity.

  7. 7
    Article
    Avatar of spaceliftSpacelift·2y

    OpenTofu vs Terraform : Key Differences and Comparison

    OpenTofu and Terraform are popular infrastructure-as-code (IaC) tools with several similarities, such as modular design, declarative configuration, and stateful management. The key difference lies in their licensing: OpenTofu remains open-source and community-driven under MPL 2.0, while Terraform has transitioned to a source-available BSL license. OpenTofu offers additional features like state encryption and early variable evaluation. Spacelift supports both tools, offering orchestration and enhanced workflow features.

  8. 8
    Article
    Avatar of spaceliftSpacelift·2y

    Terraform in DevOps – IaC, Workflow & Benefits

    Terraform is a key Infrastructure as Code (IaC) tool in the DevOps ecosystem designed to manage and automate infrastructure provisioning. It uses declarative syntax to define the desired state of infrastructure and supports multiple cloud providers through plugins. Key features include multi-cloud provisioning, remote state management, policy as code, and reusable modules. The Terraform workflow involves writing configuration files, initializing providers, planning execution, applying changes, and destroying infrastructure. Terraform seamlessly integrates with CI/CD pipelines, promoting standardization and automation in infrastructure management.

  9. 9
    Article
    Avatar of semaphoreSemaphore·2y

    10 Open-Source Tools for Optimizing Cloud Expenses

    Discover 10 open-source tools that can help organizations optimize their cloud expenses. These tools provide cost efficiency, budget management, and increased ROI. The tools include Kubernetes, Terraform, Grafana, Prometheus, Apache Kafka, Elasticsearch, Hadoop, OpenStack, Docker, and Apache Spark.

  10. 10
    Article
    Avatar of infoworldInfoWorld·2y

    The open source community strikes back

    The power of the open source community is demonstrated by recent forks of Redis and Terraform, showing resistance to the trend of companies shifting from open source licensing to more restrictive models for profitability. Initially, open source aimed to align with free market benefits to gain corporate acceptance. However, instances like Redis' and HashiCorp's license changes have sparked grassroots actions, including the creation of fully open source forks like Valkey and OpenTofu. This movement underscores that open source is driven by community principles rather than business models.

  11. 11
    Article
    Avatar of spaceliftSpacelift·2y

    How to Use AWS for Infrastructure as Code (IaC)

    Explore how to implement Infrastructure as Code (IaC) using five popular tools on AWS: CloudFormation, AWS CDK, Terraform, OpenTofu, and Pulumi. The post examines the setup process for each tool, creating a VPC, subnet, internet gateway, security group, and EC2 instance. It demonstrates the distinct approaches and benefits of each tool, including CloudFormation's declarative syntax, CDK's use of high-level programming languages, Terraform's local execution and HCL language, OpenTofu's compatibility with Terraform configurations, and Pulumi's integration with multiple programming languages.

  12. 12
    Article
    Avatar of spaceliftSpacelift·2y

    How to Manage Kubernetes Secrets with Terraform

    Kubernetes Secrets provide a secure way to store sensitive information like passwords and API tokens, abstracting them from application code. This improves security by avoiding hardcoding sensitive data. Terraform can manage these secrets in a centralized, declarative manner, offering features like secret rotation and integration with tools like Vault. However, the Terraform state file stores secrets in plain text, necessitating extra security measures. Combining Kubernetes and Terraform with tools like Spacelift can streamline workflows, improve security, and enable comprehensive infrastructure management.

  13. 13
    Article
    Avatar of spaceliftSpacelift·2y

    20+ Best Cloud Automation Tools and Platforms for 2024

    Organizations today rely on cloud automation tools to manage compute, storage, and networking resources efficiently. Key tools covered include Terraform, Spacelift, Ansible, and Prisma Cloud, each helping automate tasks like provisioning and managing cloud infrastructure. These tools provide benefits in terms of consistency, efficiency, and cost-effectiveness in cloud resource management. Advanced features like Spacelift's multi-IaC workflows and Pulumi's support for multiple programming languages further enhance these capabilities.

  14. 14
    Article
    Avatar of ciliumcilium·2y

    Talos Kubernetes on Proxmox using OpenTofu

    Talos is an immutable operating system designed to run Kubernetes, providing an out-of-the-box Kubernetes installation with a smaller attack surface and easier maintenance. This guide explains how to bootstrap and upgrade a multi-node Talos cluster running VMs on Proxmox, using OpenTofu/Terraform and following IaC principles. The setup includes configuring Talos and Proxmox, using Cilium for enhanced networking, leveraging the Proxmox CSI plugin for volume provisioning, and optionally using Intel iGPU for video support. It also covers advanced configurations like setting up Sealed Secrets for secure secret management and customising Talos images with Talos Linux Image Factory.

  15. 15
    Article
    Avatar of awsplainenglishAWS in Plain English·2y

    🧬Build an End-to-End CI/CD Pipeline for a MERN App in Kubernetes with Terraform using GitHub Actions & Ansible

    Learn how to build an End-to-End CI/CD Pipeline for a MERN App in Kubernetes with Terraform using GitHub Actions & Ansible. The article covers the pre-requirements, infrastructure provisioning with Terraform, and configuration of EC2, installation of Kubernetes (K3s), and deployment of the MERN App using Ansible.

  16. 16
    Video
    Avatar of christianlempaChristian Lempa·2y

    Automate GitLab + Terraform (state file, and more)

    Chris J shares insights on automating his self-hosted GitLab platform using Terraform. He highlights two key integrations: managing GitLab resources with the Terraform provider and using GitLab as a backend for Terraform state files. The post also touches on cyber security using Wasa, a security platform. Chris demonstrates setting up projects, managing resources, and ensuring security through proper handling of sensitive information. The tutorial aims to simplify infrastructure management and enhance DevOps practices in a home lab setting.

  17. 17
    Article
    Avatar of communityCommunity Picks·2y

    Automating Infrastructure Deployment with Terraform (AWS example)

    Learn how to automate the deployment of AWS infrastructure using Terraform. The guide covers prerequisites like setting up AWS credentials and installing Terraform, followed by a detailed breakdown of the Terraform script to configure an AWS EC2 instance, create a security group, and run startup scripts. It also includes tips for storing variables and running Terraform commands to plan and apply the configurations.

  18. 18
    Article
    Avatar of spaceliftSpacelift·2y

    Using OpenTofu with Spacelift

    OpenTofu is becoming a popular standard for Infrastructure as Code (IaC) and integrates well with Spacelift to enhance workflows. Spacelift offers features such as multi-infrastructure workflow support, policy management, context handling, cloud integrations, drift detection, and task scheduling. The integration allows for automated deployments, governance, and efficient management of infrastructure dependencies. Spacelift also provides tools for creating and managing reusable infrastructure blueprints, promoting self-service and scalability.

  19. 19
    Article
    Avatar of spaceliftSpacelift·2y

    Terraform on AWS – Deploying AWS Resources

    AWS provides a robust platform for scalable cloud infrastructure, and when paired with Terraform, it facilitates automated and consistent resource management through Infrastructure as Code (IaC). Terraform uses simple configuration files to define infrastructure and can handle a wide range of AWS resources. This post covers the basics of initializing, planning, and applying Terraform configurations for deploying AWS resources, explains the benefits of Terraform's declarative approach and state management, and includes a step-by-step guide to configure an EC2 instance, setup S3 as a remote backend, and create reusable modules. The discussion also touches on best practices and the use of Spacelift for advanced Terraform management.

  20. 20
    Article
    Avatar of communityCommunity Picks·2y

    Using Terraform, Kubernetes, and Helm: The Power Trio

    Learn how Terraform, Kubernetes, and Helm work together to streamline and optimize Kubernetes deployments. Discover the advantages of using env0 for deployment management and the best practices for Kubernetes deployments.

  21. 21
    Article
    Avatar of golangnutsGo Developers·1y

    Go + AWS - The Boring CI/CD setup using Terraform and GitHub actions.

    Exploring traditional deployment methods using EC2, Load Balancers, and Auto Scaling Groups for a cost-effective and controlled CI/CD setup with Terraform and GitHub Actions. Check out the GoAWS repository for implementation details.

  22. 22
    Article
    Avatar of spaceliftSpacelift·2y

    How to Manage On-premise Infrastructure with Terraform

    Learn how to manage on-premise infrastructure with Terraform. Terraform is versatile and can be used with various on-premise systems. There are no technical differences between on-premise and cloud use of Terraform, but there are some limitations with on-premise infrastructure. The post provides examples of configuring Terraform for virtualization platforms and bare metal servers, as well as setting up Terraform with Kubernetes on-premise.

  23. 23
    Article
    Avatar of medium_jsMedium·2y

    Learning Rust: Hello AWS

    Learn how to write and deploy an AWS Lambda function in Rust, including testing locally, deploying using ZIP files or ECR, and handling HTTP requests with AWS API Gateway.

  24. 24
    Article
    Avatar of spaceliftSpacelift·2y

    Terraform Backends – Local and Remote Explained

    Terraform backends are crucial for managing the storage and state of infrastructure deployments. They define where and how Terraform’s state data is stored and accessed, ensuring consistency across multiple runs. Common backend types include local storage and remote services like AWS S3, Azure Blob Storage, and Google Cloud Storage. Key features include state storage, state locking, and partial configuration. Best practices include securing and encrypting state files, enabling versioning, and using state locking to prevent concurrent operations.

  25. 25
    Article
    Avatar of aws-buildersAWS Builders·2y

    DNS as code

    This post discusses how to migrate existing Cloudflare configuration into OpenTofu manifests and make it even more cool with Scalr. It covers importing DNS settings, generating tokens, and generating DNS entries.