From aae0b0b75b51c0d3f14caeffe1f62ccb8a180663 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cnico-shishkin=E2=80=9D?= <“nicoshishkinatlogz@outlook.com”> Date: Thu, 11 Aug 2022 14:39:57 +0100 Subject: [PATCH 1/5] EC2 and Fargate --- .../_log-sources/rds-ecs-ec2.md | 187 ++++++++++++++++++ .../_log-sources/rds-ecs-fargate.md | 187 ++++++++++++++++++ 2 files changed, 374 insertions(+) create mode 100644 _source/logzio_collections/_log-sources/rds-ecs-ec2.md create mode 100644 _source/logzio_collections/_log-sources/rds-ecs-fargate.md diff --git a/_source/logzio_collections/_log-sources/rds-ecs-ec2.md b/_source/logzio_collections/_log-sources/rds-ecs-ec2.md new file mode 100644 index 000000000..7ee825309 --- /dev/null +++ b/_source/logzio_collections/_log-sources/rds-ecs-ec2.md @@ -0,0 +1,187 @@ +--- +title: Ship RDS MySQL logs using Docker on ECS with EC2 +logo: + logofile: aws-rds-logo.png + orientation: horizontal +data-source: RDS via ECS with EC2 +data-for-product-source: Logs +templates: [beats-logs, "docker"] +open-source: + - title: mysql-logs + github-repo: logzio-mysql-logs +contributors: + - nshishkin +shipping-tags: + - database + - aws +order: 280 +--- + + +
+ +* [Manual deployment](#manual) +* [Cloudformation deployment](#cloudformation) +{:.branching-tabs} + + +
+ +#### Deploying logzio-mysql-logs via Docker on ECS manually + +**Before you begin, you'll need**: + +* MySQL database hosted on Amazon RDS +* An active account with Logz.io + + +
+ +##### Create a Log Group on Cloudwatch + +Create on Cloudwatch a Log Group named `/aws/ecs/logzio-mysql-logs`. + +##### Download the task definition JSON + +Download the task definition JSON file that matches your use case: + +**Using AWS Keys to authenticate:** + +```shell +wget https://raw.githubusercontent.com/logzio/logzio-mysql-logs/master/ecs/ecs-ec2/task-definition-keys.json +``` + +**Using IAM Role to authenticate:** + +```shell +wget https://raw.githubusercontent.com/logzio/logzio-mysql-logs/master/ecs/ecs-ec2/task-definition-iam.json +``` + +##### Configure the task + +In your prefered text editor, open the JSON file that you downloaded in the previous step and replace the following: + +| Parameter | Description | +|---|---| +| `<>` | Your Logz.io log shipping token. {% include log-shipping/log-shipping-token.html %} | +| `<>` | Listener URL. {% include log-shipping/listener-var.html %} | +| `<>` | The RDS identifier of the host that you want to read logs from. | +| `<>` | Your AWS region. | +| `<>` | AMI access credentials for RDS logs access (permissions for `download-db-log-file-portion` and `describe-db-log-files` are needed). Applies if you chose to authenticate with **AWS Keys**. | +| `<>` | AMI secret credentials for RDS logs access (permissions for `download-db-log-file-portion` and `describe-db-log-files` are needed). Applies if you chose to authenticate with **AWS Keys**. | +| `<>` | The path to the RDS error log file. | +| `<>` | The path to the RDS slow query log file. | +| `<>` | The path to the RDS general log file. | +| `<>` | The task execution role. Applies if you chose to authenticate with **IAM Role**. Make sure the role has all the appropriate policies. | + +##### Add your task definition + +1. In your [Amazon ECS Classic Console](https://console.aws.amazon.com/ecs/) menu, go to **Task Definitions** and click on **Create new Task Definition**. + +2. In the **Step 1: Select launch type compatibility** screen, choose **EC2** and click **Next step**. + +3. In the **Step 2: Configure task and container definitions** screen, scroll down and click on the **Configure via JSON** button. + +4. In the text-box, delete the existing text and paste your configured task definition JSON. Press **Save**, then press **Create**. + +### 5. Run the task + +1. Once the task has been created, click on the **Actions** button, then choose **Run Task**. + +2. In the **Run Task** screen, choose **EC2** as your **Launch type**. + +3. Choose the cluster you want to ship logs from. + +4. For **Placement Templates**, choose **One Task Per Host**. + +5. Click on **Run Task**. + +##### Check Logz.io for your logs + +Give your logs some time to get from your system to ours, and then open [Kibana](https://app.logz.io/#/dashboard/kibana). + + +
+ + +
+ + + +
+ +#### Deploying logzio-mysql-logs via Docker on ECS using Cloudformation + +**Before you begin, you'll need**: + +* MySQL database hosted on Amazon RDS +* An active account with Logz.io + + +
+ + +##### Configure and create your stack + +Click the button that matches your AWS region and authentication form, then follow the instructions below: + +| AWS Region | Auth with keys | Auth with IAM Role | +|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| `us-east-1` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-us-east-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-us-east-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `us-east-2` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=us-east-2#/stacks/create/template?templateURL=https://logzio-aws-integrations-us-east-2.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=us-east-2#/stacks/create/template?templateURL=https://logzio-aws-integrations-us-east-2.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `us-west-1` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=us-west-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-us-west-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=us-west-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-us-west-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `us-west-2` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/create/template?templateURL=https://logzio-aws-integrations-us-west-2.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/create/template?templateURL=https://logzio-aws-integrations-us-west-2.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `ap-northeast-1` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-ap-northeast-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-ap-northeast-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `ap-northeast-2` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-2#/stacks/create/template?templateURL=https://logzio-aws-integrations-ap-northeast-2.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-2#/stacks/create/template?templateURL=https://logzio-aws-integrations-ap-northeast-2.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `ap-northeast-3` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-3#/stacks/create/template?templateURL=https://logzio-aws-integrations-ap-northeast-3.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-3#/stacks/create/template?templateURL=https://logzio-aws-integrations-ap-northeast-3.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `ap-south-1` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=ap-south-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-ap-south-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=ap-south-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-ap-south-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `ap-southeast-1` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-ap-southeast-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-ap-southeast-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `ap-southeast-2` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-2#/stacks/create/template?templateURL=https://logzio-aws-integrations-ap-southeast-2.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-2#/stacks/create/template?templateURL=https://logzio-aws-integrations-ap-southeast-2.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `ca-central-1` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=ca-central-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-ca-central-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=ca-central-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-ca-central-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `eu-central-1` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-central-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-eu-central-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-central-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-eu-central-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `eu-north-1` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-north-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-eu-north-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-north-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-eu-north-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `eu-west-1` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-eu-west-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-eu-west-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `eu-west-2` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-2#/stacks/create/template?templateURL=https://logzio-aws-integrations-eu-west-2.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-2#/stacks/create/template?templateURL=https://logzio-aws-integrations-eu-west-2.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `eu-west-3` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-3#/stacks/create/template?templateURL=https://logzio-aws-integrations-eu-west-3.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-3#/stacks/create/template?templateURL=https://logzio-aws-integrations-eu-west-3.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `sa-east-1` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=sa-east-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-sa-east-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=sa-east-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-sa-east-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-iam.yaml&stackName=logzio-mysql-logs) | + +#### In screen **Step 1 Specify template**: + +Keep the defaults and click **Next**. + +#### In screen **Step 2 Specify stack details**: + +1. For **Stack name** you can either keep the default, or change the stack name. + +2. Fill the parameters on that page according to instructions. + +3. Click **Next**. + + +#### In screen **Step 3 Configure stack options** (Optional): + +If you want to, you can add your custom tags, or not. Click on **Next**. + +#### In screen **Step 4 Review**: + +Scroll down and click on **Create stack**. + +Give your stack a few moments to launch. + +##### Run the task + +Go to your ECS cluster, and run the task you just created. + +##### Check Logz.io for your logs + +Give your logs some time to get from your system to ours, and then open [Kibana](https://app.logz.io/#/dashboard/kibana). + + +
+ +
+ + + +
+ diff --git a/_source/logzio_collections/_log-sources/rds-ecs-fargate.md b/_source/logzio_collections/_log-sources/rds-ecs-fargate.md new file mode 100644 index 000000000..a1b34b04c --- /dev/null +++ b/_source/logzio_collections/_log-sources/rds-ecs-fargate.md @@ -0,0 +1,187 @@ +--- +title: Ship RDS MySQL logs using Docker on ECS with Fargate +logo: + logofile: aws-rds-logo.png + orientation: horizontal +data-source: RDS via ECS with Fargate +data-for-product-source: Logs +templates: [beats-logs, "docker"] +open-source: + - title: mysql-logs + github-repo: logzio-mysql-logs +contributors: + - nshishkin +shipping-tags: + - database + - aws +order: 280 +--- + + +
+ +* [Manual deployment](#manual) +* [Cloudformation deployment](#cloudformation) +{:.branching-tabs} + + +
+ +#### Deploying logzio-mysql-logs via Docker on ECS with Fargate manually + +**Before you begin, you'll need**: + +* MySQL database hosted on Amazon RDS +* An active account with Logz.io + + +
+ +##### Create a Log Group on Cloudwatch + +Create on Cloudwatch a Log Group named `/aws/ecs/logzio-mysql-logs`. + +##### Download the task definition JSON + +Download the task definition JSON file that matches your use case: + +**Using AWS Keys to authenticate:** + +```shell +wget https://raw.githubusercontent.com/logzio/logzio-mysql-logs/master/ecs/ecs-fargate/task-definition-keys.json +``` + +**Using IAM Role to authenticate:** + +```shell +wget https://raw.githubusercontent.com/logzio/logzio-mysql-logs/master/ecs/ecs-fargate/task-definition-iam.json +``` + +##### Configure the task + +In your prefered text editor, open the JSON file that you downloaded in the previous step and replace the following: + +| Parameter | Description | +|---|---| +| `<>` | Your Logz.io log shipping token. {% include log-shipping/log-shipping-token.html %} | +| `<>` | Listener URL. {% include log-shipping/listener-var.html %} | +| `<>` | The RDS identifier of the host that you want to read logs from. | +| `<>` | Your AWS region. | +| `<>` | AMI access credentials for RDS logs access (permissions for `download-db-log-file-portion` and `describe-db-log-files` are needed). Applies if you chose to authenticate with **AWS Keys**. | +| `<>` | AMI secret credentials for RDS logs access (permissions for `download-db-log-file-portion` and `describe-db-log-files` are needed). Applies if you chose to authenticate with **AWS Keys**. | +| `<>` | The path to the RDS error log file. | +| `<>` | The path to the RDS slow query log file. | +| `<>` | The path to the RDS general log file. | +| `<>` | The task execution role. Applies if you chose to authenticate with **IAM Role**. Make sure the role has all the appropriate policies. | + +##### Add your task definition + +1. In your [Amazon ECS Classic Console](https://console.aws.amazon.com/ecs/) menu, go to **Task Definitions** and click on **Create new Task Definition**. + +2. In the **Step 1: Select launch type compatibility** screen, choose **EC2** and click **Next step**. + +3. In the **Step 2: Configure task and container definitions** screen, scroll down and click on the **Configure via JSON** button. + +4. In the text-box, delete the existing text and paste your configured task definition JSON. Press **Save**, then press **Create**. + +### 5. Run the task + +1. Once the task has been created, click on the **Actions** button, then choose **Run Task**. + +2. In the **Run Task** screen, choose **EC2** as your **Launch type**. + +3. Choose the cluster you want to ship logs from. + +4. For **Placement Templates**, choose **One Task Per Host**. + +5. Click on **Run Task**. + +##### Check Logz.io for your logs + +Give your logs some time to get from your system to ours, and then open [Kibana](https://app.logz.io/#/dashboard/kibana). + + +
+ + +
+ + + +
+ +#### Deploying logzio-mysql-logs via Docker on ECS with Fargate using Cloudformation + +**Before you begin, you'll need**: + +* MySQL database hosted on Amazon RDS +* An active account with Logz.io + + +
+ + +##### Configure and create your stack + +Click the button that matches your AWS region and authentication form, then follow the instructions below: + +| AWS Region | Auth with keys | Auth with IAM Role | +|------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| `us-east-1` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-us-east-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-us-east-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `us-east-2` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=us-east-2#/stacks/create/template?templateURL=https://logzio-aws-integrations-us-east-2.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=us-east-2#/stacks/create/template?templateURL=https://logzio-aws-integrations-us-east-2.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `us-west-1` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=us-west-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-us-west-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=us-west-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-us-west-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `us-west-2` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/create/template?templateURL=https://logzio-aws-integrations-us-west-2.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/create/template?templateURL=https://logzio-aws-integrations-us-west-2.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `ap-northeast-1` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-ap-northeast-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-ap-northeast-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `ap-northeast-2` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-2#/stacks/create/template?templateURL=https://logzio-aws-integrations-ap-northeast-2.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-2#/stacks/create/template?templateURL=https://logzio-aws-integrations-ap-northeast-2.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `ap-northeast-3` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-3#/stacks/create/template?templateURL=https://logzio-aws-integrations-ap-northeast-3.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=ap-northeast-3#/stacks/create/template?templateURL=https://logzio-aws-integrations-ap-northeast-3.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `ap-south-1` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=ap-south-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-ap-south-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=ap-south-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-ap-south-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `ap-southeast-1` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-ap-southeast-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-ap-southeast-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `ap-southeast-2` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-2#/stacks/create/template?templateURL=https://logzio-aws-integrations-ap-southeast-2.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=ap-southeast-2#/stacks/create/template?templateURL=https://logzio-aws-integrations-ap-southeast-2.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `ca-central-1` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=ca-central-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-ca-central-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=ca-central-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-ca-central-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `eu-central-1` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-central-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-eu-central-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-central-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-eu-central-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `eu-north-1` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-north-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-eu-north-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-north-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-eu-north-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `eu-west-1` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-eu-west-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-eu-west-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `eu-west-2` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-2#/stacks/create/template?templateURL=https://logzio-aws-integrations-eu-west-2.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-2#/stacks/create/template?templateURL=https://logzio-aws-integrations-eu-west-2.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `eu-west-3` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-3#/stacks/create/template?templateURL=https://logzio-aws-integrations-eu-west-3.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-3#/stacks/create/template?templateURL=https://logzio-aws-integrations-eu-west-3.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-iam.yaml&stackName=logzio-mysql-logs) | +| `sa-east-1` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=sa-east-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-sa-east-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=sa-east-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-sa-east-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-iam.yaml&stackName=logzio-mysql-logs) | + +#### In screen **Step 1 Specify template**: + +Keep the defaults and click **Next**. + +#### In screen **Step 2 Specify stack details**: + +1. For **Stack name** you can either keep the default, or change the stack name. + +2. Fill the parameters on that page according to the instructions. + +3. Click **Next**. + + +#### In screen **Step 3 Configure stack options** (Optional): + +If you want to, you can add your custom tags, or not. Click on **Next**. + +#### In screen **Step 4 Review**: + +Scroll down and click on **Create stack**. + +Give your stack a few moments to launch. + +##### Run the task + +Go to your ECS cluster, and run the task you just created. + +##### Check Logz.io for your logs + +Give your logs some time to get from your system to ours, and then open [Kibana](https://app.logz.io/#/dashboard/kibana). + + +
+ +
+ + + +
+ From 7c2338e0f3ebf5133b852faf9c1c945a50ef4df9 Mon Sep 17 00:00:00 2001 From: Nico <86240618+nico-shishkin@users.noreply.github.com> Date: Thu, 11 Aug 2022 14:50:24 +0100 Subject: [PATCH 2/5] Update rds-ecs-ec2.md --- _source/logzio_collections/_log-sources/rds-ecs-ec2.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_source/logzio_collections/_log-sources/rds-ecs-ec2.md b/_source/logzio_collections/_log-sources/rds-ecs-ec2.md index 7ee825309..107087800 100644 --- a/_source/logzio_collections/_log-sources/rds-ecs-ec2.md +++ b/_source/logzio_collections/_log-sources/rds-ecs-ec2.md @@ -25,7 +25,7 @@ order: 280 {:.branching-tabs} -
+
#### Deploying logzio-mysql-logs via Docker on ECS manually @@ -84,7 +84,7 @@ In your prefered text editor, open the JSON file that you downloaded in the prev 4. In the text-box, delete the existing text and paste your configured task definition JSON. Press **Save**, then press **Create**. -### 5. Run the task +##### Run the task 1. Once the task has been created, click on the **Actions** button, then choose **Run Task**. From 85e08442869f989a136ea10eb58b5e0ec2e197fe Mon Sep 17 00:00:00 2001 From: Nico <86240618+nico-shishkin@users.noreply.github.com> Date: Thu, 11 Aug 2022 14:51:53 +0100 Subject: [PATCH 3/5] Update rds-ecs-fargate.md --- _source/logzio_collections/_log-sources/rds-ecs-fargate.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_source/logzio_collections/_log-sources/rds-ecs-fargate.md b/_source/logzio_collections/_log-sources/rds-ecs-fargate.md index a1b34b04c..5b45663ae 100644 --- a/_source/logzio_collections/_log-sources/rds-ecs-fargate.md +++ b/_source/logzio_collections/_log-sources/rds-ecs-fargate.md @@ -25,7 +25,7 @@ order: 280 {:.branching-tabs} -
+
#### Deploying logzio-mysql-logs via Docker on ECS with Fargate manually @@ -84,7 +84,7 @@ In your prefered text editor, open the JSON file that you downloaded in the prev 4. In the text-box, delete the existing text and paste your configured task definition JSON. Press **Save**, then press **Create**. -### 5. Run the task +##### Run the task 1. Once the task has been created, click on the **Actions** button, then choose **Run Task**. From 5fd1863e90961677e7890df8413139d835366118 Mon Sep 17 00:00:00 2001 From: Nico <86240618+nico-shishkin@users.noreply.github.com> Date: Thu, 11 Aug 2022 15:46:05 +0100 Subject: [PATCH 4/5] Update rds-ecs-ec2.md --- _source/logzio_collections/_log-sources/rds-ecs-ec2.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/_source/logzio_collections/_log-sources/rds-ecs-ec2.md b/_source/logzio_collections/_log-sources/rds-ecs-ec2.md index 107087800..4cd4c669c 100644 --- a/_source/logzio_collections/_log-sources/rds-ecs-ec2.md +++ b/_source/logzio_collections/_log-sources/rds-ecs-ec2.md @@ -145,11 +145,11 @@ Click the button that matches your AWS region and authentication form, then foll | `eu-west-3` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-3#/stacks/create/template?templateURL=https://logzio-aws-integrations-eu-west-3.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-3#/stacks/create/template?templateURL=https://logzio-aws-integrations-eu-west-3.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-iam.yaml&stackName=logzio-mysql-logs) | | `sa-east-1` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=sa-east-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-sa-east-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=sa-east-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-sa-east-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/ec2/sam-template-iam.yaml&stackName=logzio-mysql-logs) | -#### In screen **Step 1 Specify template**: +###### In screen **Step 1 Specify template**: Keep the defaults and click **Next**. -#### In screen **Step 2 Specify stack details**: +###### In screen **Step 2 Specify stack details**: 1. For **Stack name** you can either keep the default, or change the stack name. @@ -158,11 +158,11 @@ Keep the defaults and click **Next**. 3. Click **Next**. -#### In screen **Step 3 Configure stack options** (Optional): +###### In screen **Step 3 Configure stack options** (Optional): If you want to, you can add your custom tags, or not. Click on **Next**. -#### In screen **Step 4 Review**: +###### In screen **Step 4 Review**: Scroll down and click on **Create stack**. From b1071eb66acc4ca64c882a5eb5b073d6d7627f52 Mon Sep 17 00:00:00 2001 From: Nico <86240618+nico-shishkin@users.noreply.github.com> Date: Thu, 11 Aug 2022 15:46:50 +0100 Subject: [PATCH 5/5] Update rds-ecs-fargate.md --- .../logzio_collections/_log-sources/rds-ecs-fargate.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/_source/logzio_collections/_log-sources/rds-ecs-fargate.md b/_source/logzio_collections/_log-sources/rds-ecs-fargate.md index 5b45663ae..322645641 100644 --- a/_source/logzio_collections/_log-sources/rds-ecs-fargate.md +++ b/_source/logzio_collections/_log-sources/rds-ecs-fargate.md @@ -145,11 +145,11 @@ Click the button that matches your AWS region and authentication form, then foll | `eu-west-3` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-3#/stacks/create/template?templateURL=https://logzio-aws-integrations-eu-west-3.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-3#/stacks/create/template?templateURL=https://logzio-aws-integrations-eu-west-3.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-iam.yaml&stackName=logzio-mysql-logs) | | `sa-east-1` | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=sa-east-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-sa-east-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-keys.yaml&stackName=logzio-mysql-logs) | [![Deploy to AWS](https://dytvr9ot2sszz.cloudfront.net/logz-docs/lights/LightS-button.png)](https://console.aws.amazon.com/cloudformation/home?region=sa-east-1#/stacks/create/template?templateURL=https://logzio-aws-integrations-sa-east-1.s3.amazonaws.com/logzio-mysql-logs/1.0.0/ecs/fargate/sam-template-iam.yaml&stackName=logzio-mysql-logs) | -#### In screen **Step 1 Specify template**: +###### In screen **Step 1 Specify template**: Keep the defaults and click **Next**. -#### In screen **Step 2 Specify stack details**: +###### In screen **Step 2 Specify stack details**: 1. For **Stack name** you can either keep the default, or change the stack name. @@ -158,11 +158,11 @@ Keep the defaults and click **Next**. 3. Click **Next**. -#### In screen **Step 3 Configure stack options** (Optional): +###### In screen **Step 3 Configure stack options** (Optional): If you want to, you can add your custom tags, or not. Click on **Next**. -#### In screen **Step 4 Review**: +###### In screen **Step 4 Review**: Scroll down and click on **Create stack**.