...
The Opsera integration with AWS ECS is broken into two compontentscomponents: creation, management and execution of tasks (Opsera Tasks) for managing the clusters and then direct pipeline steps (Opsera Pipelines) to publish containers. The two aspects are necessary to work together in order to complete the functionality. Listed below are details on how to perform all of the tasks in Opsera.
Expand | ||
---|---|---|
| ||
Service Creation workflow requires setup in both Task and Pipeline. Service Creation and deployment requires the latest image URL in order to deploy and 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.
Once this Task template is created, a pipeline can now be setup using this Task. Deployment requires the latest image URL in order to deploy and that is generated during pipeline runtime. |
Expand | ||
---|---|---|
| ||
To set up an ECS Service Pipeline pipeline, create 3 pipeline steps: Build, Docker ECR Push and AWS ECS Deploy
|
Amazon ECS Service Creation Help Documentation
...
Step Configuration:
Jenkins Tool - Select the jenkins tool that contains a docker push job.
Jenkins Job - DOCKER PUSH (must be created in selected Jenkins Tool)
AWS Credentials - Select an AWS account configured in Opsera Tool Registry
Build Step Info - Build
ECR Repository - Use an existing Repository or create a new one.
...