Creating the Service
Once we have created a Cluster, we can create a service inside it.
Configure Service
Choose a Launch Type. (In this case we will be using FARGATE).
Select a Task Definition and revision.
Select the platform version.
Select a cluster.
Create a name for the service.
Select the service type (in this case we will be using REPLICA).
Enter the number of tasks that the service should try to keep running.
Enter the desired value for the minimum and maximum healthy percent.
Deployments
Select either the Rolling update or Blue/green deployment.
Task Placement
Select a placement strategy from the placement templates.
Configure network
VPC and security groups
Select your Cluster VPC.
Select your desired subnets.
Attach security groups.
Attach a Load Balancer
Set Auto Scaling (optional)
Select Service Auto Scaling to set the cardinality of tasks and automatic task scaling policies.
Last updated