{"id":22901165,"url":"https://github.com/d-w-arnold/aws-ec2-examples","last_synced_at":"2025-04-01T05:41:32.806Z","repository":{"id":263819443,"uuid":"884355374","full_name":"d-w-arnold/aws-ec2-examples","owner":"d-w-arnold","description":"AWS EC2 user data source code, and other config files.","archived":false,"fork":false,"pushed_at":"2024-11-20T12:24:23.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T03:41:49.083Z","etag":null,"topics":["aws-ec2","cloud-init","ec2-instance","ec2-user-data","shell"],"latest_commit_sha":null,"homepage":"https://github.com/d-w-arnold/aws-cdk-examples","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/d-w-arnold.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-11-06T15:49:01.000Z","updated_at":"2024-11-20T12:25:13.000Z","dependencies_parsed_at":"2024-11-20T22:02:06.492Z","dependency_job_id":null,"html_url":"https://github.com/d-w-arnold/aws-ec2-examples","commit_stats":null,"previous_names":["d-w-arnold/aws-ec2-examples"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-w-arnold%2Faws-ec2-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-w-arnold%2Faws-ec2-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-w-arnold%2Faws-ec2-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-w-arnold%2Faws-ec2-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d-w-arnold","download_url":"https://codeload.github.com/d-w-arnold/aws-ec2-examples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246591782,"owners_count":20801984,"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":["aws-ec2","cloud-init","ec2-instance","ec2-user-data","shell"],"created_at":"2024-12-14T01:32:07.262Z","updated_at":"2025-04-01T05:41:32.782Z","avatar_url":"https://github.com/d-w-arnold.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aws-ec2-examples\n\nWhat is [AWS EC2](https://aws.amazon.com/ec2/)?\n\nThis repo is a submodule of: [aws-cdk-examples](https://github.com/d-w-arnold/aws-cdk-examples)\n\n### User Data\n\nEach directory contains a `user-data.sh` script, which acts as the [EC2 user data](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html).\n\n### Useful debug commands\n\nNote: These commands are intended to be run on the EC2 instance which has the EC2 user data set.\n\n#### Check which steps of EC2 User Data have run:\n\n```bash\ncat /var/log/cloud-init-output.log | grep \"##\"\n```\n\n#### Tail the last 200 lines of the output log for the EC2 User Data:\n\n```bash\ntail -f -n 200 /var/log/cloud-init-output.log\n```\n\n#### See user data passed to the EC2 instance.\n\n```bash\ncurl -s http://instance-data/latest/user-data\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd-w-arnold%2Faws-ec2-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd-w-arnold%2Faws-ec2-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd-w-arnold%2Faws-ec2-examples/lists"}