AWS ECS Fargate Starter - Start and stop of services

AWS ECS Fargate Starter

Download AWS ECS Fargate 1.4

Since we switched completely to AWS, we have written a few small tools to make recurring tasks or processes easier. Among other things, this resulted in the AWS ECS Fargate Starter. With the help of this tool you can start and stop or scale services on AWS Fargate ECS Cluster. To do this, we use the command aws ecs update-service --cluster {cluster} --service {cluster} --desired-count {min|max}.

Of course, the AWS ECS Fargate Starter can be used with ECS Cluster and the use of EC2 instances.

What is AWS Fargate

AWS Fargate is a technology that you can use with Amazon ECS to run containers without having to manage servers or clusters of Amazon EC2 instances. With Fargate, you no longer need to provision, configure, or scale clusters of virtual machines to run containers.

Source: AWS

Installation and Configuration

This tool requires the AWS cli tools to run without specifying any other path (in PATH variable).

Save the downloaded awsfargate_starter.exe to a destination folder of your choice and run the program. A configuration file will be created, which you can open directly by clicking the “Config” button. Add your services (maximum 10) to this file. Save your changes and press the “Reload” button afterwards.

Now the two functions of the respective service are available. The command that will be executed will be displayed at the bottom of the window. We run the AWS cli directly, i.e. the credentials we store in config.ini are used exclusively for this.

Have more than ten services or want to “group”? No problem, create a new folder, copy the application file into it and run it from there.

[AWS]
ACCESS_KEY=XXXXXXXXXXX
SECRET_KEY_ID=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
region=EU-Central-1

[PROXY]
http=
https://s=

[Service1]
min=0
max=1
cluster=cluster1
service=testservice

[Service2]
min=0
max=1
cluster=cluster1
service=testservice2

[Service3]
min=0
max=1
cluster=cluster1
service=testservice3

[Service4]
min=0
max=1
cluster = cluster2a
service=testservice4

Please always specify the directory information using the {directory} variable.

Version information


As soon as we have released a new version of AWS ECS Fargate Starter, we will list the changes that have been made to it here in more detail.

We are also very happy to receive your suggestions regarding the AWS ECS Fargate Starter tool. We are looking forward to any feedback. Please use our contact form for this purpose.

Version 1.4 - 2021-07-12

  • NEW: No more restrictions on the number of clusters and services
  • CHG: Refactoring
  • CHG: New SSL component
  • CHG: Changed linking to erpware.co
  • FIX: some minor fixes for more stability

Version 1.3 - 2021-06-21

  • CHG: Optical adjustments and corrections
  • FIX: minor corrections

Version 1.2 - 2021-02-15

  • NEW: Update function checks availability of updates (uses OpenSSL)
  • CHG: Changed linking to erpware.tools
  • CHG: Minor changes to the user interface

Version 1.1

  • Correction when setting environment variables
  • Pressing the space bar could send command again.

Version 1.0

  • First version released

Notes

This software AWS ECS Fargate Starter is freeware and can be redistributed without our consent! We assume no liability for the software!