Skip to content

Zach-Maestas/secure-aws-architecture-capstone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Secure AWS Architecture Capstone

Architecture Diagram

βœ… Status: Completed
This project showcases a production-grade, secure AWS infrastructure built with Terraform. It follows best practices for scalability, modularity, and security, and serves as a portfolio-ready demonstration of cloud architecture design.


πŸ“˜ Overview

This is a production-grade, secure AWS infrastructure built with Terraform, designed to highlight modern cloud architecture principles.
The project demonstrates real-world skills in infrastructure-as-code (IaC), AWS networking, and secure service design, with an emphasis on modularity and least privilege.


βœ… Current Features

  • πŸ—οΈ VPC with public and private subnets across two Availability Zones
  • 🌐 Internet Gateway and NAT Gateway for controlled internet access
  • πŸ” S3 Gateway VPC Endpoint for secure private-subnet access to S3
  • ⚑ Application Load Balancer with HTTPβ†’HTTPS redirect
  • πŸ”’ AWS ACM Certificate provisioning via Route 53 DNS validation
  • 🧱 Security groups for ALB and EC2 isolation
  • πŸ“ Modular Terraform directory structure

πŸ”§ Services Used

  • Amazon VPC
  • Amazon EC2
  • Application Load Balancer (ALB)
  • AWS Certificate Manager (ACM)
  • Amazon Route 53
  • Amazon S3
  • Amazon RDS
  • Auto Scaling
  • AWS Identity and Access Management (IAM)

🧠 Goals

  • Align with the AWS Well-Architected Framework
  • Build entirely using infrastructure-as-code (Terraform)
  • Design for modularity, reusability, and scalability
  • Enforce security isolation by subnet and IAM role
  • Deploy a sample Flask application and RDS database securely

🧩 Next Phase

This project serves as Capstone 1 in a three-part Cloud Security Engineering portfolio.
The next phase, Automated Cloud Security & Operations (CloudOps) Capstone, extends this foundation by introducing:

  • Automated deployment pipelines (CI/CD)
  • Infrastructure monitoring and alerting (CloudWatch)
  • Auto Scaling and fault tolerance
  • Security automation and incident response integration

πŸ“‚ Project Structure

.
β”œβ”€β”€ application/
β”‚   β”œβ”€β”€ backend/
β”‚   β”‚   β”œβ”€β”€ app.py
β”‚   β”‚   └── requirements.txt
β”‚   └── frontend/
β”‚       β”œβ”€β”€ index.html
β”‚       β”œβ”€β”€ styles.css
β”‚       └── app.js
β”‚
β”œβ”€β”€ infrastructure/
β”‚   β”œβ”€β”€ scripts/
β”‚   β”‚   └── user_data.sh
β”‚   └── terraform/
β”‚       β”œβ”€β”€ main.tf
β”‚       β”œβ”€β”€ backend.tf
β”‚       β”œβ”€β”€ outputs.tf
β”‚       β”œβ”€β”€ providers.tf
β”‚       β”œβ”€β”€ terraform.tfvars
β”‚       β”œβ”€β”€ variables.tf
β”‚       β”œβ”€β”€ versions.tf
β”‚       β”œβ”€β”€ .terraform.lock.hcl
β”‚       └── modules/
β”‚           β”œβ”€β”€ network/
β”‚           β”‚   β”œβ”€β”€ main.tf
β”‚           β”‚   β”œβ”€β”€ variables.tf
β”‚           β”‚   └── outputs.tf
β”‚           β”œβ”€β”€ app/
β”‚           β”‚   β”œβ”€β”€ data.tf
β”‚           β”‚   β”œβ”€β”€ main.tf
β”‚           β”‚   β”œβ”€β”€ variables.tf
β”‚           β”‚   β”œβ”€β”€ security_groups.tf
β”‚           β”‚   └── outputs.tf
β”‚           β”œβ”€β”€ data/
β”‚           β”‚   β”œβ”€β”€ main.tf
β”‚           β”‚   β”œβ”€β”€ variables.tf
β”‚           β”‚   └── outputs.tf
β”‚           β”œβ”€β”€ secrets/
β”‚           β”‚   β”œβ”€β”€ main.tf
β”‚           β”‚   β”œβ”€β”€ variables.tf
β”‚           β”‚   └── outputs.tf
β”‚           └── acm/
β”‚               β”œβ”€β”€ data.tf
β”‚               β”œβ”€β”€ main.tf
β”‚               β”œβ”€β”€ variables.tf
β”‚               β”œβ”€β”€ security_groups.tf
β”‚               └── outputs.tf
β”‚
└── docs/
    β”œβ”€β”€ architecture.png
    β”œβ”€β”€ deployment.md
    β”œβ”€β”€ security.md
    └── demo.md

About

Capstone Project | AWS Certified Solutions Architect β€” Associate πŸ₯‰

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •