{"id":20432603,"url":"https://github.com/mlabouardy/alldaydevops-2018","last_synced_at":"2025-03-05T06:18:38.701Z","repository":{"id":79849187,"uuid":"152786209","full_name":"mlabouardy/alldaydevops-2018","owner":"mlabouardy","description":"AllDayDevOps 2018  :cloud:","archived":false,"fork":false,"pushed_at":"2018-10-17T14:55:03.000Z","size":130,"stargazers_count":0,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-15T18:41:03.135Z","etag":null,"topics":["alexa","aws","cloud","containers","devops","lambda","serverless"],"latest_commit_sha":null,"homepage":"","language":"Go","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/mlabouardy.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":"2018-10-12T17:33:15.000Z","updated_at":"2018-10-17T14:54:39.000Z","dependencies_parsed_at":"2023-12-18T00:00:31.491Z","dependency_job_id":null,"html_url":"https://github.com/mlabouardy/alldaydevops-2018","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlabouardy%2Falldaydevops-2018","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlabouardy%2Falldaydevops-2018/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlabouardy%2Falldaydevops-2018/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlabouardy%2Falldaydevops-2018/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mlabouardy","download_url":"https://codeload.github.com/mlabouardy/alldaydevops-2018/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241975267,"owners_count":20051448,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["alexa","aws","cloud","containers","devops","lambda","serverless"],"created_at":"2024-11-15T08:15:52.713Z","updated_at":"2025-03-05T06:18:38.693Z","avatar_url":"https://github.com/mlabouardy.png","language":"Go","readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"banner.png\"/\u003e\n\u003c/p\u003e\n\n# Talk\n\n[![IMAGE ALT TEXT HERE](https://img.youtube.com/vi/lXU2GbstE_4/0.jpg)](https://youtu.be/lXU2GbstE_4?t=5414)\n\n# Setup\n\n```\n$ ./build.sh\n$ cd terrafrom \u0026\u0026 terraform init \u0026\u0026 terraform apply\n```\n\n# Lambda Functions\n\n## Create Infrastructure \n\n### Environment Variables\n\n- AMI\n- KEYPAIR\n- SSM_ROLE_NAME\n- SECURITY_GROUP_ID\n- SQS_URL\n- TABLE_NAME\n\n### IAM Policy\n\n```\n{\n    \"Version\": \"2012-10-17\",\n    \"Statement\": [\n        {\n            \"Sid\": \"1\",\n            \"Effect\": \"Allow\",\n            \"Action\": [\n                \"iam:PassRole\",\n                \"dynamodb:PutItem\",\n                \"dynamodb:Scan\",\n                \"sqs:SendMessage\",\n                \"sqs:SetQueueAttributes\"\n            ],\n            \"Resource\": [\n                \"arn:aws:sqs:AWS_REGION:ACCOUNT_ID:clusters\",\n                \"arn:aws:iam::ACCOUNT_ID:role/SwarmClusterSSMRole\",\n                \"arn:aws:dynamodb:AWS_REGION:ACCOUNT_ID:table/clusters\"\n            ]\n        },\n        {\n            \"Sid\": \"2\",\n            \"Effect\": \"Allow\",\n            \"Action\": [\n                \"logs:CreateLogStream\",\n                \"ec2:CreateTags\",\n                \"ec2:RunInstances\",\n                \"logs:CreateLogGroup\",\n                \"logs:PutLogEvents\",\n                \"ssm:SendCommand\",\n                \"ssm:GetCommandInvocation\"\n            ],\n            \"Resource\": \"*\"\n        }\n    ]\n}\n```\n\n## Provision Infrastructure\n\n### Environment Variables\n\n- SQS_URL\n- TABLE_NAME\n\n### IAM Policy\n\n```\n{\n    \"Version\": \"2012-10-17\",\n    \"Statement\": [\n        {\n            \"Sid\": \"1\",\n            \"Effect\": \"Allow\",\n            \"Action\": [\n                \"sqs:*\",\n                \"dynamodb:UpdateItem\"\n            ],\n            \"Resource\": [\n                \"arn:aws:sqs:AWS_REGION:ACCOUNT_ID:clusters\",\n                \"arn:aws:dynamodb:AWS_REGION:ACCOUNT_ID:table/clusters\"\n            ]\n        },\n        {\n            \"Sid\": \"2\",\n            \"Effect\": \"Allow\",\n            \"Action\": [\n                \"ssm:SendCommand\",\n                \"logs:CreateLogStream\",\n                \"logs:CreateLogGroup\",\n                \"logs:PutLogEvents\",\n                \"ssm:GetCommandInvocation\"\n            ],\n            \"Resource\": \"*\"\n        }\n    ]\n}\n```\n\n# Maintainers\n\nMohamed Labouardy \u003cmohamed@labouardy.com\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlabouardy%2Falldaydevops-2018","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmlabouardy%2Falldaydevops-2018","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlabouardy%2Falldaydevops-2018/lists"}