All Projects → tensult → Terraform

tensult / Terraform

Licence: mit
Terraform automation for Cloud

Projects that are alternatives of or similar to Terraform

Terraform Modules
Terraform Modules
Stars: ✭ 25 (-79.34%)
Mutual labels:  aws, terraform, hcl, infrastructure-as-code, devops
Ebs bckup
Stars: ✭ 32 (-73.55%)
Mutual labels:  automation, aws, terraform, hcl, devops
Terratag
Terratag is a CLI tool that enables users of Terraform to automatically create and maintain tags across their entire set of AWS, Azure, and GCP resources
Stars: ✭ 385 (+218.18%)
Mutual labels:  aws, terraform, hcl, infrastructure-as-code, devops
Howtheyaws
A curated collection of publicly available resources on how technology and tech-savvy organizations around the world use Amazon Web Services (AWS)
Stars: ✭ 389 (+221.49%)
Mutual labels:  automation, aws, cloud-computing, infrastructure-as-code, devops
Terraform Sqs Lambda Trigger Example
Example on how to create a AWS Lambda triggered by SQS in Terraform
Stars: ✭ 31 (-74.38%)
Mutual labels:  aws, terraform, hcl, infrastructure-as-code
Toc
A Table of Contents of all Gruntwork Code
Stars: ✭ 111 (-8.26%)
Mutual labels:  aws, terraform, infrastructure-as-code, devops
Terraform Eks
Terraform for AWS EKS
Stars: ✭ 82 (-32.23%)
Mutual labels:  aws, terraform, hcl, devops
Karch
A Terraform module to create and maintain Kubernetes clusters on AWS easily, relying entirely on kops
Stars: ✭ 38 (-68.6%)
Mutual labels:  aws, terraform, hcl, infrastructure-as-code
Docker Swarm
🐳🐳🐳 This repository is part of a blog series on Docker Swarm example using VirtualBox, OVH Openstack, Azure and Amazon Web Services AWS
Stars: ✭ 43 (-64.46%)
Mutual labels:  automation, aws, infrastructure-as-code, devops
Ecs Pipeline
☁️ 🐳 ⚡️ 🚀 Create environment and deployment pipelines to ECS Fargate with CodePipeline, CodeBuild and Github using Terraform
Stars: ✭ 85 (-29.75%)
Mutual labels:  aws, terraform, hcl, devops
Terraform Aws Asg
Terraform AWS Auto Scaling Stack
Stars: ✭ 58 (-52.07%)
Mutual labels:  aws, terraform, hcl, infrastructure-as-code
Aws Automation
AWS automation scripts and lambda functions
Stars: ✭ 81 (-33.06%)
Mutual labels:  automation, aws, cloud-computing, devops
Lambda The Terraform Way
AWS Lambda using Terraform., an Introductory Cookbook
Stars: ✭ 1,056 (+772.73%)
Mutual labels:  aws, terraform, infrastructure-as-code, devops
Terrascan
Detect compliance and security violations across Infrastructure as Code to mitigate risk before provisioning cloud native infrastructure.
Stars: ✭ 2,687 (+2120.66%)
Mutual labels:  aws, terraform, infrastructure-as-code, devops
Terraformize
Apply\Destory Terraform modules via a simple REST API endpoint.
Stars: ✭ 84 (-30.58%)
Mutual labels:  cloud-computing, terraform, infrastructure-as-code, devops
Terraform Aws Secure Baseline
Terraform module to set up your AWS account with the secure baseline configuration based on CIS Amazon Web Services Foundations and AWS Foundational Security Best Practices.
Stars: ✭ 596 (+392.56%)
Mutual labels:  aws, terraform, hcl, devops
Intro To Terraform
Sample code for the blog post series "A Comprehensive Guide to Terraform."
Stars: ✭ 550 (+354.55%)
Mutual labels:  aws, terraform, hcl, devops
Terraform Aws Couchbase
Reusable infrastructure modules for running Couchbase on AWS
Stars: ✭ 73 (-39.67%)
Mutual labels:  aws, terraform, hcl, devops
Terracognita
Reads from existing Cloud Providers (reverse Terraform) and generates your infrastructure as code on Terraform configuration
Stars: ✭ 452 (+273.55%)
Mutual labels:  aws, terraform, infrastructure-as-code, devops
Terraformer
CLI tool to generate terraform files from existing infrastructure (reverse Terraform). Infrastructure to Code
Stars: ✭ 6,316 (+5119.83%)
Mutual labels:  aws, terraform, hcl, infrastructure-as-code

terraform

Terraform automation for cloud

AWS

Before starting with Terraform you should have configured your credentials in the AWS folder in your system as shown below.

[default]
aws_access_key_id = 
aws_secret_access_key = 
[prod]
aws_access_key_id =
aws_secret_access_key =

The name for the accounts can be anything you want but make sure that in the "main.tf" file that your are using the appropriate name for the profile when configuring.

Three tier

Three tier is industry standard for modern web application where we have 3 tiers for following

  • Presentation tier (WebAPP tier): Prepares HTMLs by calling App tier
  • Application tier (App tier): Prepare data by calling DB or other third party services
  • Database tier (DB tier): Stores the data in database.

Creating three architecture in AWS requires lot of resources like VPC, Subnets, Gateways, Routing tables etc to be created and this has been automated using terraform, for details go here.

RDS MySQL Cross region & Cross account replication using DMS

Cross region replication helps to quickly recover from AWS region wide failures. Also it will help to serve the customer faster as we can use replica for read traffic and few of them might be closer to replica’s region.

Cross account replication helps to recover data from replication account when our master AWS account is compromised and we have lost access to the account completely. Such incidents happened in the past where one of the AWS customer account got hacked and the attacker deleted all the data. AWS provides several mechanisms to protect the data but having separate backup account with very limited access and tighter controls will help in unforeseen circumstances.

You can click on the following links to get a better understanding about DMS.

  1. Architecture
  2. Implementation

Please make sure to go through the readme files of each implementation so that the code wll give you the desired output. There is a "main.tf" file which configures the AWS environment while the "variables.tf" file is used to define the variables such as CIDR blocks, names, tags etc for the corresponding AWS resources. This is still a work in progress so feel free to reach out in case something is missing.

VPC Peering Connections

Creating peering connections between VPCs is a basic networking use-case, and helps reduce load on VPN connections, are reduces latency between the VPCs. here is a "main.tf" file which creates the peering connection requests and the route table entries, and the "variables.tf" file is used to define the variables. You can read the blog post to understand the code VPC Peering using Terraform

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].