To enable a fast deployment process, AWS resources will be provisioned using Terraform . The archicture compoent to support resiliency, reliability, scalability, security, load balancing are stated below;
- Public Subnet ( internet facing , Load Balncer is provisioned in this subnet )
- App Subnet
- Web Subnet.
- Route tables
- Security group
- NACL
- EC2 , Autoscaling.
Application Deployment will be supported by AWS EC2 User-Data. AWS userdata is the set of commands/data you can provide to a instance at launch time.
- Terraform installed
- AWS CLI configured
- cd to Project
- terrform init
- terraform plan
- terrfaorm apply --auto-approve