Questions tagged [amazon-ami]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
46 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
0answers
19 views

Creating an AMI from WIndows 10 Instance

I was able to import and Windows 10 image and turn it to AMI in AWS, launch an instance and were able to connect to it using RDP. But when I created an AMI from that instance and connect to RDP it ...
0
votes
1answer
29 views

Lighttpd/Nginx Non-Functional

I'm using the Blackboard AMI from AWS and can't get the lighttpd to function on it. I continually get 502s. I've run service lighttpd status which gave me back: ● lighttpd.service - Lighttpd Daemon ...
3
votes
2answers
170 views

Amazon Linux AMI or Ubuntu/others in AWS ecosystem? [closed]

I’m going to install a new server and want to understand if there is any advantage in installing the Amazon Linux AMI in comparation to Ubuntu or another distribution. This server will be consuming ...
0
votes
0answers
53 views

AWS Ubuntu after creating AMI image hardcoded hostname. Instance unreachable

I created AMI, based on the running instance. After launching a new instance based on that AMI, new instance is unreachable. After watching into system log I see, that it has set hostname to an ...
0
votes
0answers
15 views

Unable to launch instance from AMI - AWS

I created an AMI for my running server and shared it from account 1 to account 2. Accidentally I closed account 1. I tried to launch instance from the AMI which shared from account 1 but its not ...
0
votes
1answer
103 views

How to identify CPU(s) on Linux EC2 instance?

I'm running a Linux c5d.9xlarge instance and wondering what CPU it's using. Amazon's Instance Types webpage states: C5 and C5d 12xlarge, 24xlarge, and metal instances have the following specs: ...
0
votes
0answers
20 views

Windows Server 2008 R2 AWS VM Image - Updates/Extended Support?

I have a few 2008 R2 VM's running in AWS. These are AWS AMI's. Can somebody please confirm whether or not these images will receive extended support for patches/updates or will this type of support ...
0
votes
1answer
15 views

Can I delete the snapshots and AMI in zone zone after successfully copying the AMI to another zone?

I have created an AMI in one Asian zone, ap-southeast-1. The related snapshot is saved and of course cannot be deleted. I then copied this AMI to eu-west-1. Can I somehow get rid of the ap snapshots ...
0
votes
0answers
236 views

How to install timedatectl and dnf on Amazon Linux AMI 2018.03?

I have been asked to take over an existing running ec2 instance of an AMI. /etc/os-release says: NAME="Amazon Linux AMI" VERSION="2018.03" ID="amzn" ID_LIKE="rhel fedora" VERSION_ID="2018.03" ...
0
votes
1answer
27 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/...
1
vote
1answer
39 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 ...
0
votes
0answers
64 views

Why must we use a GPU-optimized AMI when creating an AWS ECS cluster with Spot?

When creating an AWS ECS cluster with the EC2 Linux + Networking template, if I select On-Demand Instance for the Provisioning Model, I get a choice between Amazon Linux 2 AMI or Amazon Linux 1 AMI ...
0
votes
1answer
33 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 ...
20
votes
2answers
4k views

Who's behind community AMIs on Amazon EC2?

I've been using AWS for years, but have never ventured outside the Quick Start and AWS Marketplace sections when launching an EC2 instance. The AMIs from the AWS Marketplace look trustable, they have ...
1
vote
0answers
178 views

How to create FreeBSD AMI on AWS

I have seen this question Creating you own FreeBSD ami in EC2 which may or may not be outdated now as time has passed. Looking at Mr. Percival's site it does appear to be possible to do this. For ...
0
votes
0answers
55 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
0answers
25 views

Cloud formation shell command not working in Custom AMI Image

I have Customize AMI Image in AWS Account there i want to run cloudformation script. but below mention UserData part not executing in EC2. Same script running with official Ubuntu AMI image ami-...
3
votes
1answer
204 views

redis-server /etc/redis.conf just hangs

Just installed redis on AWS AMI Linux (RHEL 2018.03) with https://stackoverflow.com/a/34203915/1471267. Running sudo redis-server without a config file argument works fine and the server starts as ...
0
votes
0answers
39 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 ...
2
votes
1answer
818 views

How to properly deploy new code to AWS EC2 AutoScaling Group

Scenario: Currently, we have a single production server running on an EC2 instance. Since we are getting a lot of traffic, we would like to use the Autoscaling feature, but we are kind of new to this. ...
0
votes
1answer
134 views

Activating Windows License on Microsoft Windows Server 2019 Base AMI EC2 Instance

I launched a new EC2 instance using the Microsoft Windows Server 2019 Base AMI. However whenever I go into settings it complains that "You need to activate Windows before you can personalize your PC". ...
1
vote
0answers
215 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 ...
0
votes
1answer
540 views

AWS EC2 Amazon Linux instance can't connect to RDS instance. but ubuntu instance can

I have a newly created Linux Amazon Linux EC2 instance and an Ubuntu instance. And both instances try to connect to the same RDS. The settings of both instances are exactly the same. Security groups ...
-1
votes
1answer
47 views

How can I provide software for userdata?

I've got a userdata file that uses the aws and jq commands, but since these aren't ubuntu 18.04 AMI. How can I make software available for userdata? I tried making a new AMI with those installed. It ...
0
votes
2answers
2k views

RUN yum in Docker file not working, but yum it's working inside the container

I'm trying to build a container from amazonlinux (fedora based). If I build the image and I enter into the container the yum command works normally. However if I put the yum command inside the ...
1
vote
1answer
144 views

Will EC2 instance AMI's save all files when launching future instances with the AMI?

Soon my website and API will be migrated to Amazon's EC2. Correct my if I'm wrong, but my understanding of an Instance AMI works like: If I launch an EC2 Instance using a for example Amazon Linux AMI ...
2
votes
1answer
122 views

Can xvdc block devices on a Windows AMI be ignored?

After performing the steps in Is it possible to create an EBS AMI for windows EC2 instance? to create a Windows AMI from an "other linux" snapshot, I created an image of the fixed instance and the ...
0
votes
1answer
688 views

Where is this hidden computer name coming from?

Environment: I am baking Amazon Machine Images with SQL Reporting Services (SSRS) installed. The Windows Server 2016 machine is joined to the domain and its computer name is changed AFTER install. ...
0
votes
1answer
317 views

Error #224834. This directory, `/var/www/html/`, is not write enabled according to the server

I am using Amazon AMI linux. And i am using Backupbuddy plugin to migrate from another domain to new domain which is hosted on AWS. I uploaded importbuddy php file and the necessary backup file using ...
0
votes
1answer
383 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 ...
1
vote
1answer
228 views

Elastic Beanstalk: Update AMI + node version at the same time

We have a system that's been sitting on an old version of node for a long time and wanted to update to a newer version. Updating via the web dashboard doesn't allow you to change the node instance ...
0
votes
1answer
29 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
1answer
663 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
1answer
49 views

Amazon AWS - Use AMI for hosting site, do I need to update OS?

I have been looking at Amazon AWS services and trying to get up to speed. I have a WordPress / WooCommerce site that I want to put online. Normally I would either upload it to a cPanel host that I ...
1
vote
1answer
185 views

How to change shell password for AWS - Bitnami Wordpress AMI?

I have just created a VPS with Bitnami Wordpress AMI on Amazon Web Services. Currently I can access the server via SSH by use of certificate. I think shell user bitnami, does not have a password, ...
1
vote
0answers
282 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 ...
3
votes
3answers
444 views

inconsistent `apt-get update` behaviour on official Ubuntu AWS AMI

I get various and inconsistent errors with apt on the official Ubuntu images (ami-83e769fb). I'm using Packer to build my AMI and it fails about 40% of the time. Rerunning the script succeeds. My ...
0
votes
1answer
294 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
2answers
78 views

(AWS) Extract the EBS volume from an AMI?

An Amazon Machine Image contains an EBS volume. Is there a way to get the EBS volume out of the AMI without booting the AMI?
0
votes
2answers
820 views

Why AWS snapshot is not removed after de registering AWS AMI

I wonder, why AWS snapshot is not removed after deregistering AWS AMI? If I create a new AWS AMIs today and deregister all old AMIs, and do a search in snapshots for started less than today, and ...
0
votes
1answer
336 views

AWS Windows AMI versions depricated

In April this year, I wrote some code to launch EC2 Windows instances using this public AMI region: us-east-1 id: ami-ee8dbb88 name: amazon/Windows_Server-2016-English-Full-Base-2017.03.15 (I'...
3
votes
1answer
301 views

Per-second billing for custom AMI [closed]

In the beginning of October this year Amazon announced per-second billing for EC2 instances. This potentially could be a big cost reduction for me. However Amazon also says this billing is platform ...
4
votes
2answers
995 views

AWS: How to update AMI without having to recreate the launch configuration?

We built up a web server, created an AMI from it, then created a launch configuration which launches instances from this AMI, and our ASG uses this launch configuration. We regularly install Windows ...
1
vote
1answer
260 views

Changing the name of a YUM repository (or aliasing it)? [closed]

I'm trying to install Vesta panel on Amazon Red Hat AMI. At some point of install script Vesta try to install its software: yum -y --disablerepo=* --enablerepo="*base,*updates,nginx,epel,vesta" \ ...
0
votes
2answers
262 views

How to grant IAM access to an already running EC2 intance

Background I was handed over one AWS account at the root level by a business owner which runs different EC2 machines (staging/prod etc). What I want to do is simply create different IAM accounts that ...
0
votes
1answer
251 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 ...
-1
votes
1answer
66 views

How to use Terraform to install AV when deploying a Windows AMI

Very first time I am using Terraform and I would like to know if its possible to install AV from a Terraform script or even set Powershell to remote execute? Cheers, M
0
votes
0answers
28 views

How to autoreboot an ec2 amazon linux instance after 1st start during autoscaling? (to start working with it from the 2nd start only)

I have a problem, that when I launch an instance from an AMI, the instance doesn't respond on ssh or http, but it works normally after I restart it (so from the 2nd start). I'm still troubleshooting ...
0
votes
1answer
272 views

Can OpenVPN Access Server upgrade the underlying OpenVPN version?

I'm currently running OpenVPN Access Server 2.1.0, using an AWS AMI. Looking at the upgrades available for Access Server, the latest is 2.1.4. Does this use OpenVPN version 2.1 under the hood, or a ...

1
2 3 4 5 6