{"id":26218431,"url":"https://github.com/awsdataarchitect/eice-mac-ec2-cdk","last_synced_at":"2026-05-08T19:31:04.580Z","repository":{"id":199799693,"uuid":"703783223","full_name":"awsdataarchitect/eice-mac-ec2-cdk","owner":"awsdataarchitect","description":"CDK code to demo connectivity to Mac M1 EC2 instance inside VPC using EC2 Instance Connect Endpoint.","archived":false,"fork":false,"pushed_at":"2023-10-11T23:40:10.000Z","size":43,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T13:16:55.312Z","etag":null,"topics":["aws","cdk","dedicated-hosts","ec2","ec2-instance-connect-endpoint","macos"],"latest_commit_sha":null,"homepage":"https://vivek-aws.medium.com/deploying-an-ec2-m1-mac-mac2-metal-d66157dc2663","language":"TypeScript","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/awsdataarchitect.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}},"created_at":"2023-10-11T23:05:23.000Z","updated_at":"2024-04-12T23:09:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"8db03e70-e1e7-468b-bfe9-cf5a645b1bed","html_url":"https://github.com/awsdataarchitect/eice-mac-ec2-cdk","commit_stats":null,"previous_names":["awsdataarchitect/eice-mac-ec2-cdk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/awsdataarchitect/eice-mac-ec2-cdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awsdataarchitect%2Feice-mac-ec2-cdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awsdataarchitect%2Feice-mac-ec2-cdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awsdataarchitect%2Feice-mac-ec2-cdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awsdataarchitect%2Feice-mac-ec2-cdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/awsdataarchitect","download_url":"https://codeload.github.com/awsdataarchitect/eice-mac-ec2-cdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awsdataarchitect%2Feice-mac-ec2-cdk/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266160820,"owners_count":23885886,"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","dedicated-hosts","ec2","ec2-instance-connect-endpoint","macos"],"created_at":"2025-03-12T13:16:57.582Z","updated_at":"2025-10-20T04:12:54.011Z","avatar_url":"https://github.com/awsdataarchitect.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Open source CDK code to demo connectivity to Mac M1 EC2 instance inside VPC using EC2 Instance Connect Endpoint.\n\nThis is a CDK project written in TypeScript that provisions an Apple Mac M1 Dedicated Host and EC2 Instance in a private subnet within a VPC. It also sets up an EC2 Instance Connect Endpoint for secure  connectivity to the Mac M1 EC2 instance over the internet. An EventBridge rule activates a Lambda Function, ensuring the automatic termination of the EC2 Instance and the release of the Dedicated Host after a preconfigured interval of 24 hours. This way, you only incur the minimum 1-day charges (approximately $15.60) for using the Mac M1 EC2. The accompanying blog post provides a step-by-step guide on how to access the EC2 Mac Desktop UI from your PC.\n\nThe `cdk.json` file tells the CDK Toolkit how to execute your app.\n\n## Useful commands\n\n* `npm run build`   compile typescript to js\n* `npm run watch`   watch for changes and compile\n* `npm run test`    perform the jest unit tests\n* `cdk deploy`      deploy this stack to your default AWS account/region\n* `cdk diff`        compare deployed stack with current state\n* `cdk synth`       emits the synthesized CloudFormation template\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawsdataarchitect%2Feice-mac-ec2-cdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fawsdataarchitect%2Feice-mac-ec2-cdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawsdataarchitect%2Feice-mac-ec2-cdk/lists"}