forked from Alegres/awstraining-fargate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
30 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
name: Provision with Terraform | ||
run-name: Provision with Terraform | ||
|
||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
# Push image to ECR | ||
Run below commands to push our custom Elasticsearch image to ECR. | ||
``` | ||
aws ecr get-login-password --region eu-central-1 --profile backend-test | docker login --username AWS --password-stdin <<ACCOUNT_ID>>.dkr.ecr.eu-central-1.amazonaws.com | ||
aws ecr get-login-password --region eu-central-1 --profile backend-test | docker login --username AWS --password-stdin <<605134466559>>.dkr.ecr.eu-central-1.amazonaws.com | ||
``` | ||
|
||
``` | ||
docker build -t elasticsearch-custom . | ||
``` | ||
|
||
``` | ||
docker tag elasticsearch-custom <<ACCOUNT_ID>>.dkr.ecr.eu-central-1.amazonaws.com/monitoring:elasticsearch | ||
docker tag elasticsearch-custom <<605134466559>>.dkr.ecr.eu-central-1.amazonaws.com/monitoring:elasticsearch | ||
``` | ||
|
||
``` | ||
docker push <<ACCOUNT_ID>>.dkr.ecr.eu-central-1.amazonaws.com/monitoring:elasticsearch | ||
docker push <<605134466559>>.dkr.ecr.eu-central-1.amazonaws.com/monitoring:elasticsearch | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
# Push image to ECR | ||
Run below commands to push our custom Filebeat image to ECR. | ||
``` | ||
aws ecr get-login-password --region eu-central-1 --profile backend-test | docker login --username AWS --password-stdin <<ACCOUNT_ID>>.dkr.ecr.eu-central-1.amazonaws.com | ||
aws ecr get-login-password --region eu-central-1 --profile backend-test | docker login --username AWS --password-stdin <<605134466559>>.dkr.ecr.eu-central-1.amazonaws.com | ||
``` | ||
|
||
``` | ||
docker build -t filebeat-custom . | ||
``` | ||
|
||
``` | ||
docker tag filebeat-custom <<ACCOUNT_ID>>.dkr.ecr.eu-central-1.amazonaws.com/monitoring:filebeat | ||
docker tag filebeat-custom <<605134466559>>.dkr.ecr.eu-central-1.amazonaws.com/monitoring:filebeat | ||
``` | ||
|
||
``` | ||
docker push <<ACCOUNT_ID>>.dkr.ecr.eu-central-1.amazonaws.com/monitoring:filebeat | ||
docker push <<605134466559>>.dkr.ecr.eu-central-1.amazonaws.com/monitoring:filebeat | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
# Push image to ECR | ||
Run below commands to push our custom Grafana image to ECR. | ||
``` | ||
aws ecr get-login-password --region eu-central-1 --profile backend-test | docker login --username AWS --password-stdin <<ACCOUNT_ID>>.dkr.ecr.eu-central-1.amazonaws.com | ||
aws ecr get-login-password --region eu-central-1 --profile backend-test | docker login --username AWS --password-stdin <<605134466559>>.dkr.ecr.eu-central-1.amazonaws.com | ||
``` | ||
|
||
``` | ||
docker build -t grafana-custom . | ||
``` | ||
|
||
``` | ||
docker tag grafana-custom <<ACCOUNT_ID>>.dkr.ecr.eu-central-1.amazonaws.com/monitoring:grafana | ||
docker tag grafana-custom <<605134466559>>.dkr.ecr.eu-central-1.amazonaws.com/monitoring:grafana | ||
``` | ||
|
||
``` | ||
docker push <<ACCOUNT_ID>>.dkr.ecr.eu-central-1.amazonaws.com/monitoring:grafana | ||
docker push <<605134466559>>.dkr.ecr.eu-central-1.amazonaws.com/monitoring:grafana | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
# Push image to ECR | ||
Run below commands to push our custom Kibana image to ECR. | ||
``` | ||
aws ecr get-login-password --region eu-central-1 --profile backend-test | docker login --username AWS --password-stdin <<ACCOUNT_ID>>.dkr.ecr.eu-central-1.amazonaws.com | ||
aws ecr get-login-password --region eu-central-1 --profile backend-test | docker login --username AWS --password-stdin <<605134466559>>.dkr.ecr.eu-central-1.amazonaws.com | ||
``` | ||
|
||
``` | ||
docker build -t kibana-custom . | ||
``` | ||
|
||
``` | ||
docker tag kibana-custom <<ACCOUNT_ID>>.dkr.ecr.eu-central-1.amazonaws.com/monitoring:kibana | ||
docker tag kibana-custom <<605134466559>>.dkr.ecr.eu-central-1.amazonaws.com/monitoring:kibana | ||
``` | ||
|
||
``` | ||
docker push <<ACCOUNT_ID>>.dkr.ecr.eu-central-1.amazonaws.com/monitoring:kibana | ||
docker push <<605134466559>>.dkr.ecr.eu-central-1.amazonaws.com/monitoring:kibana | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
# Push image to ECR | ||
Run below commands to push our custom Prometheus image to ECR. | ||
``` | ||
aws ecr get-login-password --region eu-central-1 --profile backend-test | docker login --username AWS --password-stdin <<ACCOUNT_ID>>.dkr.ecr.eu-central-1.amazonaws.com | ||
aws ecr get-login-password --region eu-central-1 --profile backend-test | docker login --username AWS --password-stdin <<605134466559>>.dkr.ecr.eu-central-1.amazonaws.com | ||
``` | ||
|
||
``` | ||
docker build -t prometheus-custom . | ||
``` | ||
|
||
``` | ||
docker tag prometheus-custom <<ACCOUNT_ID>>.dkr.ecr.eu-central-1.amazonaws.com/monitoring:prometheus | ||
docker tag prometheus-custom <<605134466559>>.dkr.ecr.eu-central-1.amazonaws.com/monitoring:prometheus | ||
``` | ||
|
||
``` | ||
docker push <<ACCOUNT_ID>>.dkr.ecr.eu-central-1.amazonaws.com/monitoring:prometheus | ||
docker push <<605134466559>>.dkr.ecr.eu-central-1.amazonaws.com/monitoring:prometheus | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters