Skip to content

keziei/terraform-projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform Labs

This repository contains my personal Terraform projects and infrastructure automation labs. It serves as a hands-on environment for exploring Terraform best practices, cloud automation, and infrastructure as code (IaC).


Project Structure

Each directory in this repository represents a separate Terraform lab or module.

1. AWS-Lab -> Work In Progress

  • Deploy AWS 3 tier architecture with dedicated vpc and select cidr range, db & app private tier, public web tier, and bastion public subnet across single/multi-region/az, with load balancing and auto scaling, observability
  • Deploy flavours of aws rds/aurora database configurations that demonstrate maa best practise

Requirements

To use these Terraform configurations, ensure you have the following installed:

  • Terraform (latest version)

  • AWS CLI (aws configure for authentication)

  • An AWS account with necessary IAM permissions

    Connect Aurora/RDS:

    • Generate an RDS IAM Token from the Bastion Host:

      aws rds generate-db-auth-token \
       --hostname <aurora-cluster-endpoint-name> \
       --port 5432 \
       --region us-east-1 \
       --username iam_db_user
    • Connect using psql:

      PGPASSWORD=$(aws rds generate-db-auth-token \
       --hostname <aurora-cluster-endpoint-name> \
       --port 5432 \
       --region us-east-1 \
       --username iam_db_user) \
       psql "host=<aurora-cluster-endpoint-name> user=iam_db_user dbname=auroradb sslmode=require"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published