Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 668 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 668 Bytes

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.

cat /etc/ssh/ssh_host_rsa_key.pub

Then, check you are able to resolve ip-${XXX}-${YYY}-${ZZZ}-${WWW}.ec2.internal.

dig ip-10-0-0-1.ec2.internal

Now, build and run EC2 Instance Connect Bastion on your machine.

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.

make