The Terraform State File- An Overview

In fact, it’s required by Terraform, and, according to HashiCorp, “cannot function without it.” The purpose of our introductory article is to save you from getting lost in a sea of files, without having any understanding of what is happening, how to secure them, and what you can do with them.

Using Terraform to Deploy Your S3 Website Using Cloudfront

For this article, I am going to assume that you already have an S3 website created and just want to get it deployed to Cloudfront using Terraform. If that happens to not be the case here is the code we are working with.

Diagrams as Code for Infrastructure as Code

Diagrams lets you draw the cloud system architecture using Python code and allows you to track the architecture diagram changes in any version control system. Diagrams currently supports six major providers: AWS, Azure, GCP, Kubernetes, Alibaba Cloud and Oracle Cloud.

Terraform Tips: My Favorite Tools

My favorite tools to use in conjunction with Terraform. This is an amazing tool from Warrensbox which you can find on Warren's website here or on the github repo here. Tfswitch allows you to switch ...

Using Terraform to Create an S3 Website Bucket

Create an S3 bucket. We're going to use S3 to store the files used on our website. Create an IAM policy document to manage bucket permissions. In order to allow the outside world to access the contents of our bucket we need to alter the default permissions. Setup Route53 to handle our domain. Stitching it all together.

Complete Guide to Terraform: News, Updates, Tips

From Terraform to DevOps: A Modern Revolution. Before we can even begin to dive into Terraform best practices, we need to take a step back ...

Format Your Terraform Code with Github Actions

So, today I discovered how to automate running a terraform fmt and committing it using Github actions! If you are not aware, GitHub actions are ...

Best Terraform Tutorial Guides: An Overview

In this article, we’re looking at the must-know information to get started, as well as other resources you can consider as you continue to learn. In addition, we encourage you to join our InfraCode Slack to gain more DevOps resources and 1-on-1 help.

A Comprehensive Guide to Creating Your First Terraform Configuration

Before we can even get started using Terraform we need to first create an account for a cloud service to use it with. You can use AWS, Azure, or GCP to get started. I’ll provide some instructions for AWS.

Create a bastion with AWS CDK

A bastion host is a server whose purpose is to provide access to a private network from an external network, such as the Internet. With the public cloud era, this is one of the favorite ways to access your private resources.

Intro to Terraform: Provision EC2 Instance and Install Jenkins

In this article, I will walk you through how we can easily and quickly leverage Terraform to provision an EC2 instance on AWS running Ubuntu and install Jenkins.

Terraform Imports: Resources, Modules, for_each, and Count

This guide assumes the reader has a good understanding of Terraform, Terraform modules, state file manipulation, and CI/CD. I’ll be using AWS for the examples.

Terraform: How to Use Conditionals to Dynamically Create Resources

This particular example is referred to ELB creation with a target group and a listener.

IaC CI with GitLab and Terraform

Gitlab instance for source and CI job control/triggers; A machine running Gitlab CI agent(Gitlab runner) to execute jobs; Terraform environment on ... Infrastructure as a code has never been easier.

Infrastructure as Code and APIs

In the beginning, we had to configure the infrastructure components manually. Then, came the virtualization. With virtualization, components passed to exist in the virtual and physical world.

Creating an AWS ECS Cluster of EC2 Instances With Terraform

Within a VPC there’s an autoscaling group with EC2 instances. ECS manages starting tasks on those EC2 instances based on Docker images stored in ECR container registry. Each EC2 instance is a host for a worker that writes something to RDS MySQL. EC2 and MySQL instances are in different security groups.

Ditching the AWS GUI Console

Ditching the AWS GUI Console Serverless Infrastructure as Code via AWS CloudFormation Continue reading on Towards Data Science

Terraform: how to use conditionals for dynamic resources creation

…don’t struggle looking for if/else statements, you won’t find them… All that Terraform does is nothing but evaluating the boolean logic in CONDITION and, based on that, if the value is true it will return TRUE_VAL otherwise it’ll return FALSE_VAL if the result is false.

Understanding Why Infrastructure-as-Code Struggles at Scale

Infrastructure-as-code (IaC) is a very well known and popular technology for cloud infrastructure provisioning using principles of application development i.e. writing code.

5 essential tips to build an ETL pipeline for a database hosted on Redshift

Best practices for beginners working with Airflow. Apache Airflow is one of the best workflow management systems (WMS) that provides data engineers with a friendly platform to automate, monitor, and maintain their complex data pipelines.