Get used with terraform instrument and migrate cinema to AWS using terraform:
create infra in AWS with terraform --> config ec2/eks or ecs with Ansible --> deploy cinema club to newly created infra with terraform.
App repo should stay the same, just deploy destination would changed. Infra repo would be update with a few additional stage with terraform. Also in terraform stage should be added some steps for validation and security scaling (like flint , Chekov etc).
Also there should be at least 2 environments for stage and prod infra in cloud, and tf structure should looks like this:
terraform/
├── dev/
│ ├── main.tf
│ ├── variables.tf
│ └── terraform.tfvars
├── staging/
│ ├── main.tf
│ ├── variables.tf
│ └── terraform.tfvars
└── prod/
├── main.tf
├── variables.tf
└── terraform.tfvars
Get used with terraform instrument and migrate cinema to AWS using terraform:
create infra in AWS with terraform --> config ec2/eks or ecs with Ansible --> deploy cinema club to newly created infra with terraform.
App repo should stay the same, just deploy destination would changed. Infra repo would be update with a few additional stage with terraform. Also in terraform stage should be added some steps for validation and security scaling (like flint , Chekov etc).
Also there should be at least 2 environments for stage and prod infra in cloud, and tf structure should looks like this:
terraform/
├── dev/
│ ├── main.tf
│ ├── variables.tf
│ └── terraform.tfvars
├── staging/
│ ├── main.tf
│ ├── variables.tf
│ └── terraform.tfvars
└── prod/
├── main.tf
├── variables.tf
└── terraform.tfvars