Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/inloco/macami
macOS Amazon Machine Image built with Packer
https://github.com/inloco/macami
aws ec2 hacktoberfest macos packer
Last synced: 7 days ago
JSON representation
macOS Amazon Machine Image built with Packer
- Host: GitHub
- URL: https://github.com/inloco/macami
- Owner: inloco
- Created: 2021-10-29T03:06:35.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-06-05T02:00:10.000Z (7 months ago)
- Last Synced: 2024-06-05T19:52:10.710Z (7 months ago)
- Topics: aws, ec2, hacktoberfest, macos, packer
- Language: Shell
- Homepage:
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# MacAMI
macOS Amazon Machine Image built with Packer
## Building
Firstly, make sure `sshd` is installed on your system and that it has generated host keys for you.
```bash
cat /etc/ssh/ssh_host_rsa_key.pub
```Then, check you are able to resolve `ip-${XXX}-${YYY}-${ZZZ}-${WWW}.ec2.internal`.
```bash
dig ip-10-0-0-1.ec2.internal
```Now, build and run EC2 Instance Connect Bastion on your machine.
```bash
git clone https://github.com/inloco/ec2-instance-connect-bastion
cd ec2-instance-connect-bastion
go build
sudo cat /etc/ssh/ssh_host_rsa_key | ./ec2-instance-connect-bastion /dev/stdin
```While EIC Bastion is running, bake the AMI.
```bash
make
```