Back to PortfolioCloud Security

Secure AWS Web Application

Designed and deployed a multi-tier web application on AWS with a focus on security. Implemented VPC with public/private subnets, Security Groups, AWS WAF, and GuardDuty for threat detection.

2025 6 weeks Cloud Security Architect AWS, Python, Terraform
98%Security Hub Compliance
99.9%Application Uptime
15+Threats Detected
30%Cost Savings

Project Overview

This project involved designing and deploying a multi-tier web application on AWS with a primary focus on implementing comprehensive security controls. The application was built using a three-tier architecture with distinct public and private subnets, ensuring proper network segregation and defense in depth.

Technical Stack

  • Cloud Platform: Amazon Web Services (AWS)
  • Compute: EC2 across multiple Availability Zones
  • Database: Amazon RDS (encrypted)
  • Load Balancing: Application Load Balancer
  • Security: WAF, GuardDuty, CloudTrail
  • Monitoring: CloudWatch, AWS Config

Security Controls Implemented

1. Network Security

  • VPC Architecture: Custom VPC with public and private subnets across multiple AZs
  • Security Groups: Least-privilege firewall rules for each tier
  • NACLs: Network-level access control as an additional layer of defense
  • NAT Gateway: Secure outbound internet access for private subnet instances

2. Application Security

  • AWS WAF: Web Application Firewall to protect against OWASP Top 10
  • SSL/TLS: End-to-end encryption using AWS Certificate Manager
  • Input Validation: Server-side validation and sanitization
  • Rate Limiting: API throttling to prevent abuse

3. Data Protection

  • Encryption at Rest: All data encrypted using AWS KMS
  • Encryption in Transit: HTTPS/TLS for all communications
  • Database Security: RDS with encrypted storage and automated backups
  • Secret Management: AWS Secrets Manager for database credentials

4. Monitoring & Incident Response

  • GuardDuty: AI-powered threat detection for malicious activity
  • CloudTrail: Comprehensive API logging and auditing
  • VPC Flow Logs: Network traffic analysis and forensics
  • CloudWatch: Real-time monitoring and alerting

Key Challenges & Solutions

Complex Network Topology

Designed a clear network segmentation strategy with documented network diagrams. Used AWS Systems Manager Session Manager to eliminate the need for SSH bastion hosts while maintaining secure access to private instances.

WAF Rule Tuning

Implemented a phased approach, starting with AWS Managed Rules and gradually adding custom rules. Used CloudWatch metrics to monitor false positives and tune rules accordingly.

Cost Optimization

Leveraged Auto Scaling Groups and right-sized instances based on CloudWatch metrics. Implemented lifecycle policies for logs and automated snapshots to manage storage costs.

Lessons Learned

This project reinforced the importance of implementing security controls from the ground up rather than retrofitting them. The Defense in Depth approach proved effective, as multiple layers of security provided comprehensive protection. Regular security assessments and continuous monitoring were crucial for maintaining the security posture.

Project Details
Duration6 weeks
RoleCloud Security Architect
TechnologiesAWS, Python, Terraform
Focus AreaCloud Security
Security Highlights
  • Zero security incidents
  • End-to-end encryption
  • Comprehensive monitoring
  • Automated compliance
AWS Services Used
EC2VPCRDSWAFGuardDutyCloudTrailCloudWatchKMSALBIAMSecrets Manager
Interested in this project?

I'd love to discuss this work and share insights.

Get In Touch