Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
2k views

User data in original windows ec2 instance does not get executed in custom ami

I created a windows Ec2 instance with user data in it. In my ec2 instance I downlaoded git and installed it. Later in EC2 instance, I provided it with the user data which was supposed to download a ...
Four Seasons's user avatar
7 votes
1 answer
5k views

How does the creation of an AMI on AWS work and why is the creation time unpredictable?

Creation date: September 23, 2019 at 9:22:06 PM UTC+2 21:48: still waiting for completion 21:53: completed Sometimes it takes 15 minutes and sometimes longer. How does a creation of an AMI work and ...
030's user avatar
  • 13.3k
0 votes
1 answer
99 views

Which AMI was my EC2 instance created from? [closed]

Is there any way to tell which AMI my EC2 instance was created from?
ClintM's user avatar
  • 103
1 vote
1 answer
284 views

Why does Docker fail to start on AWS ECS instances. ECS stateful instance fails initialization. ECS stateful instance doesn't join the ECS cluster

The ECS instance fails to join the ECS cluster because it relies on docker to launch its ecs agent. If in this case docker fails to start then the whole process halts. Docker fails to start in AWS ...
eco's user avatar
  • 121
37 votes
5 answers
10k 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 ...
Philipp Claßen's user avatar
7 votes
5 answers
694 views

What are 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 (...
Dawny33's user avatar
  • 2,816