ECS stands for EC2 Container Service and is the AWS platform for running Docker containers.
- To plan the deployment before actually creating the infra
cd ECS-Terraform
terraform plan
- To create the ECS infra using terraform
terraform apply
Following is the list of default variables used to launch the ECS Cluster
vpc_id = (vpc_id)
ami_id = (ami-6944c513)
ami_owners = ([ self , amazon , aws-marketplace ])
lookup_latest_ami = (false)
root_block_device_type = (gp2)
root_block_device_size = (8)
instance_type = (t2.micro)
key_name = (key_name)
cloud_config_content_type = (text/cloud-config)
health_check_grace_period = (600)
desired_capacity = (1)
min_size = (1)
max_size = (1)
scale_up_cooldown_seconds = (300)
scale_down_cooldown_seconds = (300)
high_cpu_evaluation_periods = (2)
high_cpu_period_seconds = (300)
high_cpu_threshold_percent = (90)
low_cpu_evaluation_periods = (2)
low_cpu_period_seconds = (300)
low_cpu_threshold_percent = (10)
high_memory_evaluation_periods = (2)
high_memory_period_seconds = (300)
high_memory_threshold_percent = (90)
id
- The container service cluster IDname
- The container service cluster namecontainer_instance_security_group_id
- Security group ID of the EC2 container instancescontainer_instance_ecs_for_ec2_service_role_name
- Name of IAM role associated with EC2 container instancesecs_service_role_name
- Name of IAM role for use with ECS servicesecs_service_role_arn
- ARN of IAM role for use with ECS servicescontainer_instance_ecs_for_ec2_service_role_arn
- ARN of IAM role associated with EC2 container instancescontainer_instance_autoscaling_group_name
- Name of container instance Autoscaling Group
Bug reports can be directly sent to authors and/or using github's issues.
Utkarsh Sharma [email protected]
Everybody is welcome to contribute. Please, see CONTRIBUTING
for further information.