{"id":18258987,"url":"https://github.com/pottava/appmesh-trial","last_synced_at":"2026-01-21T11:02:29.626Z","repository":{"id":147532697,"uuid":"204101176","full_name":"pottava/appmesh-trial","owner":"pottava","description":"AWS App Mesh tutorial","archived":false,"fork":false,"pushed_at":"2019-08-24T08:05:06.000Z","size":172,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T23:36:31.158Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pottava.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-24T03:06:44.000Z","updated_at":"2019-08-24T08:05:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"ca17ed26-b09d-468e-8b76-1c1d7bf08d38","html_url":"https://github.com/pottava/appmesh-trial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pottava/appmesh-trial","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pottava%2Fappmesh-trial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pottava%2Fappmesh-trial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pottava%2Fappmesh-trial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pottava%2Fappmesh-trial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pottava","download_url":"https://codeload.github.com/pottava/appmesh-trial/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pottava%2Fappmesh-trial/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28632258,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T10:35:43.446Z","updated_at":"2026-01-21T11:02:29.609Z","avatar_url":"https://github.com/pottava.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS App Mesh トライアル\n\n## AWS で楽をするサービスメッシュ入門\n\n[スライド](https://speakerdeck.com/pottava/appmesh-trial)\n\n## 構成\n\n- [構成図](https://github.com/pottava/appmesh-trial/blob/master/architecture.png)\n\n## 1. プロビジョニング\n\n```sh\n$ aws configure\n$ aws cloudformation validate-template --template-body \"file://cfn.yaml\"\n{\n    \"Parameters\": [\n        {\n            \"ParameterKey\": \"ServicesDomain\",\n            \"DefaultValue\": \"default.svc.cluster.local\",\n            \"NoEcho\": false,\n            \"Description\": \"DNS namespace used by services\"\n        }\n    ],\n    \"Description\": \"Fargate minimum architecture\",\n    \"Capabilities\": [\n        \"CAPABILITY_IAM\"\n    ],\n    \"CapabilitiesReason\": \"The following resource(s) require capabilities: [AWS::IAM::Role]\"\n}\n$ stack_name=appmesh-trial\n$ aws cloudformation deploy \\\n    --stack-name \"${stack_name}\" --template-file cfn.yaml \\\n    --parameter-overrides ServicesDomain=\"default.svc.cluster.local\" \\\n    --capabilities CAPABILITY_IAM\n\nWaiting for changeset to be created..\nWaiting for stack create/update to complete\nSuccessfully created/updated stack - appmesh-trial\n```\n\n## 2. 動作確認\n\n```sh\n$ public_endpoint=$( aws cloudformation describe-stacks --stack-name \"${stack_name}\" \\\n    --query 'Stacks[0].Outputs[?OutputKey==`PublicEndpoint`].OutputValue' \\\n    --output text )\n$ curl -sXGET \"${public_endpoint}\" | jq . \u003e direct.json\n$ curl --basic -u 'fargate:Pa$$w0rd' -sXGET \"${public_endpoint}:8080\" | jq . \u003e proxied.json\n$ open \"${public_endpoint}\"\n# Open AWS Console\n$ open \"https://ap-northeast-1.console.aws.amazon.com/appmesh/meshes/${stack_name}-mesh\"\n$ open \"https://ap-northeast-1.console.aws.amazon.com/cloudmap/home\"\n$ open \"https://ap-northeast-1.console.aws.amazon.com/ecs/home\"\n$ open \"https://ap-northeast-1.console.aws.amazon.com/xray/home\"\n```\n\n## 3. お片づけ\n\n```sh\n$ aws cloudformation delete-stack --stack-name \"${stack_name}\"\n$ aws cloudformation wait stack-delete-complete --stack-name \"${stack_name}\"\n$ echo $?\n0\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpottava%2Fappmesh-trial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpottava%2Fappmesh-trial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpottava%2Fappmesh-trial/lists"}