Runs the Runops agent on AWS ECS.
- Access to an AWS account with permissions to create ECS resources.
- Terraform installed.
Head over to https://use.runops.io
Create a new connection and choose any name in the Agent dropdown.
A code snippet with the token appears. Copy that token.
Create a json file with the keys and values required for your connection.
Check the list of keys & values for each connection type.
This is an example json for a Mysql connection:
Don't add line breaks to the json. It breaks when pasting it to the next step.
Run the script bellow and paste your agent token and the json when prompted.
It creates an ECS service and task definition.
Now create a connection with the Provider:
env-var and the Secret Path option set to