You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Use php-apache as base image
- Install dependencies and set workdir
- Copy wordpress application code and set permissions
- Start apache in foreground inside container as pid(1) process
Note: Application Dockerfile path : app/Dockerfile
CI/CD pipeline creation using terraform in AWS
Modules created to create pipeline are as follows
- Codecommit
- Codebuild
- Clouwatch-Events
Basic CI/CD flow
Infrastructure creation for ecs fargate
Modules to create infra are as follows
- networking
- efs
- ecr
- rds
- secret-manager
- loadbalancer
- ecs
Network Diagram
Modules Info
networking : It will create following components
- VPC
- 3 public subnets spread across multiple az
- 3 private subnets spread across multiple az
- public route table with internet gateway
- elastic ip
- private route table with nat gateway
efs : It will create following components
- efs
- efs security group
- mount point
- access point
ecr : It will create following components
- ecr registry
rds : It will create following components
- db subnet group
- rds
secret manager : It will create following components
- secret
loadbalancer : It will create following components
- alb
- target group
- listeners
ecs : It will create following components
- taskdefination
- ecs cluster
- ecs service
- autoscaling in ecs service
- task role
- task execution role
Note : *.tfvars is not added to this repo due to security concerns as it is a public repo.