Questions tagged [amazon-ami]

Amazon Machine Images (AMIs) are disk images of an operating system used to launch AWS EC2 instances.

Amazon Machine Images (AMIs) are disk images of an operating system used to launch AWS EC2 instances. There are several variants including instance store based, EBS based, paravirtualized (PV), hardware virtual machine (HVM), Linux, Windows, pay-per-use, etc.

303 questions
0
votes
1 answer

Provisioning AMI with certbot certificates that allow the AMI to be reused at a different address

I would like to be able to replicate a site built in an existing, working EC2 Linux 2 AMI image in a manner that does not require re-provisioning of https certificates when spinning up a saved AMI on a different address. The web server is stock…
0
votes
0 answers

403 error coming after creating AMI on original UNIX instance

I was creating an image of my EC2 instance and after starting the process of image creation, the original instance is giving 403 forbidden error message. For reference, the original instance has 200GB volume and I chose the option to create the…
JDK
  • 1
  • 1
0
votes
1 answer

Vagrant : how to create a box from aws ami?

I see vagrant as a great tool for testing and I am surprised the aws plugin (here https://github.com/mitchellh/vagrant-aws but which seems deprecated) is here to instanciate ec2 and not copy same configuration as ec2 on a local vm. I would like to…
user972331
0
votes
1 answer

aws ec2 instance AMI backup with reboot

Can we start using the ec2 instance, if ec2 instance AMI backup with reboot option is used and AMI backup is still in process, But the ec2 instance came up after reboot?
0
votes
0 answers

Launch new EC2 instance using shared private AWS AMI

I have a website running on t2.micro ec2 server (A). While it is running I created its AMI and shared it with another AWS account B. I went to the B AWS account and tried to launch an EC2 instance with the same configuration (t2 micro). After server…
paul
  • 103
  • 2
0
votes
0 answers

Create Windows 10 AMI for EC2 AWS

I have case to create AMI based on windows 10 OS, the AMI file will be used on AWS ec2 to run some our 3rd party programs for client. I have tried to follow several tutorial and guidelines from google and youtube. But the problem still persists when…
0
votes
1 answer

Is it possible to change the architecture of an AMI?

We have this AMI with a AMD64 architecture, and we need to run it on a m6g.medium, the problem is this machine only runs aarch architecture. Is there a way to change the AMI architecture? What others solutions are out there?
0diseuz
  • 1
  • 2
0
votes
1 answer

How to update the AMI of the instance without loosing data? and the instance has two EBS volumes which EBS volume should i take snapshot?

How to update the AMI of the instance without loosing data? and the instance has two EBS volumes (root and secondary) which EBS volume should i take snapshot? to replicate the original instance.
0
votes
1 answer

Sophos Endpoint Defence + Gold Image = Error 'Windows could not finish configuring the system'

When I install Sophos Endpoint Defence on an Amazon provided AMI; and then create a custom AMI from it; why do EC2 instances display an error dialog on boot 'Windows could not finish configuring the system'? In my case I used EC2 Image Builder to…
0
votes
1 answer

If I image a virtual machine with SQL server installed will the database work on a new instance?

On AWS I've always imaged machines that contained SQL Server installations and running databases. When I spin up new instances from the images, SQL Server and all database always returned without issue (e.g. consistency checking always came back…
0
votes
0 answers

Accidentally executed: sudo rm -r /*

This morning while I was doing a bit of work on my production server, when I accidentally executed the following command: sudo rm -r /* Sadly, the server no longer accept my public key or password for any user via SSH. And files were hosted on…
0
votes
0 answers

How to create my own EC2 AMI with a custom distro and a custom kernel?

I would like to create my own custom AMI with its own custom kernel running on a HVM instance. At first I thought this is a solved problem as I've seen several solution out there, (packer, aminate), that solve this kind of problem, however none of…
0
votes
1 answer

AWS Device names; /dev/xvda

I kind of know that sda comes from SCSI device from early Unix/Linux days. However, I had some trouble when I was playing around with detaching/attaching Volumes to my AWS EC2 Instances. What I understand is that when the attachment is complete,…
ha9u63a7
  • 101
  • 1
  • 3
0
votes
1 answer

Apache HTTPD not hosting on port 443

I have an Apache 2 web server using TLS certificates from Let's Encrypt (installed using CertBot). The OS is Amazon Linux 2. I cannot access the website using port 443. It only works on port 80 without the certficate. I have tried adding a…
0
votes
3 answers

AWS ubuntu image has no swap with kernel 5.x

Just built a new AMI recently, based on the latest 18.04. Did also an apt upgrade when provisioning it, in order to have the latest packages as well. Problem is that this new AMI has no swapfile in it, checked via swapon --show. It uses…