{"id":15673795,"url":"https://github.com/lmammino/cdk-ubuntu-ec2","last_synced_at":"2025-05-07T18:24:03.647Z","repository":{"id":50398214,"uuid":"393060951","full_name":"lmammino/cdk-ubuntu-ec2","owner":"lmammino","description":"An example of how to provision an Ubuntu-based EC2 instance using AWS CDK","archived":false,"fork":false,"pushed_at":"2021-08-05T18:58:11.000Z","size":168,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-31T12:58:04.618Z","etag":null,"topics":["aws","cdk","iac","machine","provision","typescript","ubuntu","virtual"],"latest_commit_sha":null,"homepage":"https://loige.co","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lmammino.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}},"created_at":"2021-08-05T13:54:23.000Z","updated_at":"2023-05-05T17:20:19.000Z","dependencies_parsed_at":"2022-08-28T00:12:31.612Z","dependency_job_id":null,"html_url":"https://github.com/lmammino/cdk-ubuntu-ec2","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/lmammino%2Fcdk-ubuntu-ec2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmammino%2Fcdk-ubuntu-ec2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmammino%2Fcdk-ubuntu-ec2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmammino%2Fcdk-ubuntu-ec2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lmammino","download_url":"https://codeload.github.com/lmammino/cdk-ubuntu-ec2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252932402,"owners_count":21827292,"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","cdk","iac","machine","provision","typescript","ubuntu","virtual"],"created_at":"2024-10-03T15:42:10.293Z","updated_at":"2025-05-07T18:24:03.624Z","avatar_url":"https://github.com/lmammino.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cdk-ubuntu-ec2\n\nThis repository shows an example of using [AWS CDK](https://aws.amazon.com/cdk/) to provision an Ubuntu-based EC2 instance with a running nginx server.\n\nThis will include installing the [AWS Linux utilities](https://github.com/aws-quickstart/quickstart-linux-utilities) in the machine.\n\nYou can read more about this example in the article [Provision an Ubuntu-based EC2 instance with CDK](https://loige.co/provision-ubuntu-ec2-with-cdk).\n\n\n## Code structure\n\nThis is a standard CDK project.\n\nThe main stack definition can be found in [`lib/cdk-ubuntu-ec2-stack.ts`](/lib/cdk-ubuntu-ec2-stack.ts).\n\nThe stack is instantiated in [`bin/cdk-ubuntu-ec2.ts`](/bin/cdk-ubuntu-ec2.ts).\n\n\n## Requirements and deployment\n\nIn order to be able to deploy this CDK project you need to have the following:\n\n  - An AWS account\n  - The [AWS CLI](https://aws.amazon.com/cli/) installed and configured in your development machine\n  - [AWS CDK](https://aws.amazon.com/cdk/) installed and configured in your development machine\n  - Node.js and npm installed\n\nNow, in order to deploy this CDK project to your AWS account, you simply have to clone this repository and from the root folder of the project run:\n\n```bash\nnpm install\n```\n\nTo install the necessary dependencies, and then:\n\n```bash\ncdk deploy\n```\n\nTo synthesise and deploy the project stack.\n\nThen prompt `y` for yes.\n\nIf you want to clean up your account you can delete this stack with:\n\n```bash\ncdk destroy\n```\n\n\n## Contributing\n\nEveryone is very welcome to contribute to this project.\nYou can contribute just by submitting bugs or suggesting improvements by\n[opening an issue on GitHub](https://github.com/lmammino/cdk-ubuntu-ec2/issues).\n\n\n## License\n\nLicensed under [MIT License](LICENSE). © Luciano Mammino.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmammino%2Fcdk-ubuntu-ec2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flmammino%2Fcdk-ubuntu-ec2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmammino%2Fcdk-ubuntu-ec2/lists"}