AWS ECS Service Creation workflow requires setup in both Task Tasks and Pipeline. Service Creation and deployment requires require the latest image URL in order to deploy and this . This is generated during pipeline runtime. The workflow is separated into two parts where the user enters certain static information in the Tasks page and then links the task to the respective Docker step in the pipeline. The following step refers to the setup in Task. Task Setup Instructions:Select Create AWS ECS Service from the Type drop down menu.This then presents user with options that are required for service creation . Once this has been selected, the following values will be fetched for selection: AWS Tool - Configured in Select an established AWS tool from the Tool Registry. Required Compatibility - Select Fargate or EC2. Cluster Name - Select a Cluster Name fetched from the AWS portal. Existing VPC - Select an existing VPC from the list of values fetched from the AWS portal. Desired Count - This is Select the count amount of deployments desired. Creation of the number of cluster replications. Number replications of the image that we are going to deploy Service Log Group - any created name Load Balancer ARN Execution Role ARN Subnets - Add any 2 subnets from drop down. Save the Task Load Balancer ARN - Select a Load Balancer ARN from the list of values fetched from the AWS portal. Execution Role ARN - Select a Load Balancer ARN from the list of values fetched from the AWS portal. Subnets - Select 2 subnets from list of values fetched from the AWS portal.
Select Save to create a template.
Once this Task template is the task has been created, a pipeline it can now be setup using this Task. Deployment requires the latest image URL in order to deploy and that is generated during pipeline runtimebe linked to a Docker step in the pipeline. |