Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [amazon-ami]

For questions about Amazon Machine Images (AMI), which are pre-built instances that can repeatedly be re-provisioned.

6
votes
1answer
267 views

Does the “cattle not pets” distinction apply as equally to machine instances as to containers?

There is a great discussion of the Cattle vs Pets distinction from Randy Bias here. Martin Fowler talks about a SnowFlakeServer. In a series of talks, Adrian Cockcroft talks about how they moved ...
24
votes
5answers
5k views

How to avoid interactive dialogs when running “apt-get upgrade -y” in Ubuntu 16.04 when packaging with Packer?

I'm using Packer to create an AWS AMI based on an Ubuntu 16.04 image. In the beginning, I'm doing an upgrade: sudo apt-get update sudo apt-get upgrade -y Here is the relevant part of my provisioners ...
6
votes
5answers
132 views

Are there any best practices and/or tools for updating AMIs on a regular basis?

I have a Master-Workers style computation model. And, I launch the workers via an AMI through an Ansible playbook. The workers' AMI has all the necessary configs needed for doing the computation (...