Questions tagged [amazon-ami]
Amazon Machine Images (AMIs) are disk images of an operating system used to launch AWS EC2 instances.
73
questions with no upvoted or accepted answers
3
votes
0
answers
819
views
EC2 AMI instance store backup grub utility required
Working on backup of whole ec2 volume and image to upload to s3. Using RHEL7 and it internally uses Grub2 as bootloader. EC2 AMI tools requires grub legacy loader and I'm struck up in this loader. ...
3
votes
1
answer
207
views
Difference between AWS Software Subscription and Launching a Custom AMI?
Amazon AWS seems to provide two methods of launching an instance of Ubuntu 12.04 that confuse me,
one of them is the Software Marketplace
the other method is by launching an AMI on the Ubuntu website
...
3
votes
1
answer
621
views
How to create an Amazon AMI with HVM from scratch?
All the instructions I find online start with an existing AMI, but I would like to create an AMI from scratch using HVM instead of PV.
Does anyone know the procedure for doing this?
2
votes
1
answer
307
views
For AWS EC2, AMI Backup. when doing backup does the server itself stop or suspend?
I need to do an AMI backup from one of our EC2 server,
my concern is, if during AMI backup. do the server stop or suspend?
or the server does the AMI backup without any interruption at all?
2
votes
1
answer
1k
views
Export AWS AMI as a master for bare metal, non-virtualized installations
I work for a small start up that needs to deploy lots of desktop computers to end users with Ubuntu and Open CV installed.
To save money on hardware, I'd like to use AWS to mock up our base ...
2
votes
0
answers
2k
views
How can I launch a vanilla non-marketplace open CentOS ami on Amazon EC2?
A while ago I did some research and launched a Centos 6.4 image from the Amazon Marketplace. It didn't have any fees (other than usage fees).
That was working fine until I messed up a config file and ...
2
votes
1
answer
867
views
Wowza on EC2 Set up and Questions
I have a wowza instance installed and running on EC2, but I can't find the keypair file. I am trying to install another wowza instance on a different aws account. I have the following questions, I'd ...
2
votes
2
answers
581
views
How to make an ec2 ami work on Xen on Debian
We are creating a cloud app and have Debian on which we create a customized image and upload it to the Amazon EC2. After uploading it to the cloud we made some more customizations and are trying to ...
1
vote
0
answers
31
views
Methods for AWS AMI runtime configuration
We have a deployment system that borrows from the immutable servers pattern. That is, we bake AMIs with our application on in a way than when they are booted, the application runs and can be added to ...
1
vote
0
answers
191
views
Launching Instance from AMI Creates two disk devices when only one is expected
First some background. I am migrating an Ubuntu Instance-store backed ec2 instance to EBS using the steps outlined in Create an AMI from an instance store-backed instance.
Everything works correctly ...
1
vote
2
answers
457
views
Are the snapshots referenced by an AMI created from an EC2 instance independent of other snapshots that I've created on the EC2 instances EBS volumes?
We've recently migrated a system off of a set of EC2 instances, and now wish to retire those EC2 instances, first by creating an AMI of and then terminating each EC2 instance.
Over time, we've created ...
1
vote
0
answers
254
views
Create custom AMI for Aarch64 with latest Debian and custom Kernel
I am trying to create a custom Debian based AMI with my own custom kernel for AWS EC2 instances,
specifically I'm trying to run it on t4g.micro/medium instances.
I debootstrap an ARM64 Debian and copy ...
1
vote
1
answer
3k
views
LocalAccountTokenFilterPolicy being reset to 0 at boot
I am trying to use the Windows 2016 STIG AMI from Amazon with Packer. I am able to get WinRM to successfully work by setting the LocalAccountTokenFilterPolicy setting to 1 (disabled), but as soon as I ...
1
vote
1
answer
116
views
Not able to launch instance from the ami image?
There is an ec2-instance which I have to taken an AMI backup, After the backup is complete we are trying to launch the server using the AMI backup, The machine is getting launched but the status check ...
1
vote
0
answers
673
views
Getting error asking for unknow parameter while importing ova image to aws following official ducumentation
Getting error asking for unknow parameter while importing ova image to aws following official ducumentation.
I need deploy my current basic Debian box fully baked to AWS with all configurations and ...
1
vote
0
answers
412
views
Elastic Beanstalk custom AMI not working
Below are the different methods I tried to launch a custom AMI in Elastic Beanstalk but none seems to work.
Launched the default Amazon AMI for PHP 7.0. Created a Ubuntu instance and installed all ...
1
vote
0
answers
123
views
Custom AMI fo AWSr Opsworks fails setup phase but logs seem clean?
So I've followed through this userguide for creating an AMI from an EBS backed Opsworks instance and it all seemed to go smoothly until I attempted to boot an instance in Opsworks from the new AMI.
...
1
vote
0
answers
105
views
Is it possible to use a partitionless EBS image as an HVM AMI?
Attempting to locate/create an EC2 AMI that meets my current needs. HVM is preferred over PV, because the newer and larger EC2 instance types only support HVM (we're targeting r3.4xlarge) and a ...
1
vote
2
answers
181
views
AWS Create Image Volume Type
When creating an image (EC2 --> Actions --> Image --> Create) there is a Volume Type input with options for Magnetic, General Purpose or Provisioned IOPS. I'm not sure why it's necessary to ask this ...
1
vote
0
answers
3k
views
Apache Server 2.4 on EC2 "caught SIGTERM shutting down "
I'm using amazon linux on an m3.large instance on EC2.
I had these logs before my apache server was shut down:
[Sun Sep 28 18:54:31.679261 2014] [cgi:error] [pid 32422] [client 67.211.230.58:58937]
...
1
vote
0
answers
275
views
cannot reach munin port on other AWS instance
2 AWS instances, in the same region but different availability zones, one is in regular EC2 and the other is in VPC, both have an Elastic IP, both are 64bit Amazon Linux AMI 2014.03.1.
Both are ...
1
vote
0
answers
345
views
Launching new Elastic Beanstalk environment using Amazon Lunux AMI v2013.09 not working
I am starting from scratch to launch a new Elastic Beanstalk environment using 64-Bit Amazon Lunix AMI version 2013.09. It is for tomcat 7 non-legacy container.
But after the environment is created ...
1
vote
1
answer
285
views
EC2 kernel decision and issues with creating a new machine with my AMI
I could really use some advice. I started a new instance on EC2 using Amazon's AMI and during the deployment process I selected a Kernel ID of "Use Default". I then configured my server the way that ...
1
vote
0
answers
1k
views
AWS: How do I create an EBS AMI from a scratch image or file tree?
I have a file tree in a directory. This is used to build bootable systems on hard drives and flash drives. I've also used it to build images for virtual machines. I would like to make an AWS AMI ...
1
vote
1
answer
342
views
Create an AWS AMI for Ubuntu with GUI which automatically launches web browser
I've got an ubuntu AMI setup with ubuntu desktop installed and Chrome installed and set to boot on load (via the startup programmes menu within the ubuntu desktop)
I've created an image of this AMI, ...
1
vote
1
answer
1k
views
Unable to setup and access tomcat on EC2 with AMI
I attempted to start tomcat7 on an EC2 instance running AMI and could not get the web service accessed from a browser using the public IP.
Created an EC2 instance with default AMI as the image
...
1
vote
1
answer
242
views
Need help with setting up MS-SQL on EC2
I have a large MS-SQL database that i need to send to the aws cloud.
The issue is how do i persist my sql data and how to setup MS-SQL cluster using windows AMI.
The real issue is that for ...
0
votes
0
answers
16
views
Custom Linux AMI: How does AWS know where to install account SSH .PEM files when an AMI is provisioned?
We are building a custom AMI from a template EC2 EBS instance snapshot (Oracle Linux 8). This page shows there are many different user names depending on the AMI you choose:
https://docs.aws.amazon....
0
votes
2
answers
36
views
Spot instance windows auto login in User Data using Boto3
I want to launch a Windows spot instance on AWS with a specific AMI and launch the instance and run PowerShell command. The problem i am facing issue is that, when the instance is launched, it shows &...
0
votes
1
answer
50
views
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 ...
0
votes
0
answers
43
views
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 ...
0
votes
1
answer
403
views
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 ...
0
votes
1
answer
362
views
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
119
views
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 ...
0
votes
0
answers
440
views
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 ...
0
votes
1
answer
91
views
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 ...
0
votes
0
answers
193
views
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),
...
0
votes
1
answer
4k
views
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 ...
0
votes
1
answer
681
views
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 ...
0
votes
1
answer
2k
views
Clone/Duplicate EC2 Windows Instance
I have a Windows Server 2008 EC2 instance hosting SQL Server 2008 named DB-01. I'm looking to clone this DB-01 instance so my team can work on the cloned DB-01 (DB-01-CLN) and existing DB-01 instances ...
0
votes
0
answers
421
views
I need a basic Windows Server 2008 32-bit AMI on Amazon AWS
I need a basic, clean Windows Server 2008 32-bit (x86) AMI on Amazon AWS.
There are several on the Community AMI list but I am not sure which is a good one to get. Have you tried any of them? Are ...
0
votes
1
answer
252
views
Creating an AMI is not copying sshd file settings
I have user and password auth configured for my instances but every one I launch I have to do this at startup:
#!/bin/bash
sudo sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/...
0
votes
1
answer
66
views
AWS AMIs always need SSHD Running? (VirtualBox upload / conversion)
I am an AWS EC2 NOOB, and not a Linux expert. I have finally succeeded in installing an Ubuntu Virtual Machine from VirtualBox onto AWS and have gotten it to launch and ssh connect.
However, I had ...
0
votes
0
answers
182
views
mongo: /data/db not found on AWS ec2 t2.micro after launching an AMI image of the instance
S.O.S!! I had my t2.micro with Bitnami Parse image running for a good while.
everything was fun and games until I needed to upgrade to t2.medium.
In order to do so I cloned my server to an AMI ...
0
votes
0
answers
134
views
AWS unreachable after creating AMIs reachable again
So one of our AWS instances (running ubuntu 18.04) was unreachable, I wanted to restart it but just in case first create a AMI (image) so booting up a new one would be fast and easy..
But while AWS ...
0
votes
1
answer
841
views
AWS AMI from Snapshot - Unable to Create Instance of Same Type
I've scoured Google and the AWS developer forums pretty thoroughly (I think) and can't seem to find an answer.
I'm snapshotting EBS volumes with boto3 daily for DR purposes. Some of the instances ...
0
votes
1
answer
39
views
Kernel upgrade and Oracle prerequisites error
I am upgrading kernel (Red Hat) from 6.7 to 6.9 with Amazon AMI and when I am installing Oracle through puppet I am getting this pre-requisite error.
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y ...
0
votes
1
answer
2k
views
Chroot a user in Amazon EC2 instance
I've got an Amazon Linux AMI machine running 2016.09 version. I've recently created a user and I'm able to connect using its credentials (private key).
This user is intended to be used by a third ...
0
votes
1
answer
338
views
Could not SSH EC2
I have an Amazon EC2 instance which is in running state (Green). It's security group has SSH inbound enabled.
Actually, I was able to login to this instance before couple of days. But it is not ...
0
votes
1
answer
1k
views
Why does my iptables port forward not work?
I'm trying to setup a port forwarding from port 80 to port 8080 on my amazon linux ami machine.
I ran
$ sudo /sbin/iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080
...