Has anyone ever faced this problem of constantly having ssh timeouts for
Debian "jessie" when building an image on AWS?
This is the my packer .json file
{
"variables": {
"aws_access_key": "",
"aws_secret_key": ""
},
"builders": [{
"type": "amazon-ebs",
"access_key": "{{user `aws_access_key`}}",
"secret_key": "{{user `aws_secret_key`}}",
"region": "us-east-1",
"source_ami": "ami-5f1afc49",
"instance_type": "t2.small",
"ssh_username": "admin",
"ami_name": "kubernetes-node- {{timestamp}}",
"launch_block_device_mappings": [{
"device_name": "/dev/sda1",
"volume_size": 120,
"volume_type": "gp2",
"delete_on_termination": false
}]
}],
"provisioners": [{
"type": "shell",
"inline": [
"sleep 30",
"sudo apt-get update",
"sudo apt-get install -y redis-server"
]
}]
}
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of
those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/packer-tool/028901fa-560f-4693-b4fb-818a3dd5a18a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.