Use packer to create a custom Debian based AMI with SSH support
- Create a file named
.env.sh
in the root folder with =>
#!/bin/bash
export AWS_REGION=eu-west-1
export AWS_OWNER_ID=424242424242
export EC2_INSTANCE_TYPE=t2.micro
- Create a ssh key named
rsa.pub
in the debian-ami folder
sh up.sh
sh down.sh