💡 Note

This step is only needed if you want to make requests to internal services from a cloud Tines tenant.

Step 1. Prepare the tines-tunnel Docker image for upload to AWS ECR

Again, to make things a little easier, we copy the image from Docker Hub into an ECR repository:


Step 2. Create and upload the .env file to S3


Step 3. Create the IAM roles for running the containers


Step 4. Prepare a security group


Step 5. Create the ECS task definitions and cluster


Step 6. Start the service


Automatic Restarts with AWS Fargate

Note: When you deploy the Tines Tunnel using an ECS Service on AWS Fargate (as described above), the service will automatically ensure that the tunnel container is always running. If the container or underlying infrastructure stops or restarts for any reason, ECS will automatically launch a new instance to maintain the desired count. No additional configuration is required for automatic restarts, this is handled by the ECS Service itself.