The project was created to learn more about ECS Fargate using Terraform tools. All the infrastructure are performing in Amazon Web Services. Feel free to contribute.
- AWS Account: https://console.aws.amazon.com
- AWS Cli: http://docs.aws.amazon.com/pt_br/cli/latest/userguide/installing.html
- Terraform: https://www.terraform.io/
$ aws configure --profile <name-profile>
$ aws --profile <name-profile> ec2 create-key-pair --key-name <key-pair-name> \
--query 'KeyMaterial' --output text > <key-pair-name>.pem
You need a dns zone pre-registered in route53
$ terraform init
$ terraform plan -var-file="terraform.tfvars"
$ terraform apply -var-file="terraform.tfvars"
$ terraform output
$ http://<your-project>.<your_domain>
- Terraform Getting Started: https://www.terraform.io/intro/index.html)
- Fargate: Getting Started
- Create Codepipeline
- Create Codebuild