In order to use this plugin, users have to configure the following in the GoCD server.
- Configure plugin settings - The plugin settings are used to provide global level configurations for the plugin. Configurations such as AWS credentials, EC2 Instance settings, Docker Container settings, ECS Cluster configurations are provided in plugin settings.
- Create an elastic agent profile - The Elastic Agent Profile is used to define the configuration of a docker container. The profile is used to configure the docker image, set memory limits, provide docker command and environment variables.
- Configure job to use an elastic agent profile - This is a job level configuration to specify the elastic profile to be used for a job. When a job is scheduled the plugin would spin up a docker container using the configuration provided in the associated elastic profile.