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]

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

0
votes
0answers
9 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
votes
0answers
4 views

aws boto3 unable to put tags after creating an ami [migrated]

I'm trying to put tags after creating ami from an instance using boto3 and getting an error. botocore.exceptions.ParamValidationError: Parameter validation failed: Unknown parameter in input: "...
1
vote
0answers
38 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
41 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
30 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
1answer
28 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
49 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
42 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
85 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
98 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
136 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
103 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
0answers
30 views

Why does an ssh connection work on one Amazon AMI but not another

I'm booting two separate Amazon AMIs but having different ssh connection results with each. i.e. AWS Amazon Linux 2: ami-0bdb1d6c15a40392c - can't connect with ssh and AWS Amazon Linux 1: ami-...
0
votes
1answer
20 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
0answers
80 views

How to give yourself sudo access after creating an aws instance from aws ec2 image backup AMI

What I did was to create an image backup of aws-source-instance and when launching an instance I used the prod-rhel.pem instead of original-key associated with aws-source-instance, and now when I ...
0
votes
1answer
194 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
42 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
120 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
179 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
1answer
63 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
183 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
46 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
285 views

Why AWS snapshot is not removed after de registering AWS AMI

I wonder, why AWS snapshot is not removed after de registering AWS AMI? If I crated new AWS AMIs today and de register all old AMIs, and do search in snapshots for started less than today, and ...
0
votes
1answer
331 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
161 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 ...
3
votes
2answers
609 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
118 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
159 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
136 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
46 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
24 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
201 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 ...
0
votes
2answers
1k views

Forwarding VPN traffic to Squid proxy

I am using SoftEther as a VPN and Squid for proxy. I want to forward this VPN to proxy and then to internet. My basic requirement is like this. SmartPhone---->VPN--->Squid--->Internet ...
7
votes
2answers
17k views

Install Go 1.8 with yum

I'm new to Linux / Yum and just set up an AWS AMI instance. I'm trying to install Go 1.8. When I ran sudo yum install golang it installed version 1.6.3. How can I make it install version 1.8? [ec2-...
2
votes
1answer
368 views

What's the magic incantation to force DNS queries over TCP on an Amazon/AMI image?

It looks as though the resolv.conf option use-vc is being ignored on an Amazon AMI (latest 2016.09 version). Consider the following: [hadoop@ip-172-20-40-202 ~]$ cat /etc/resolv.conf search default....
0
votes
0answers
69 views

Instance store backed EC2 instance cannot boot

Approximately 3 years ago my boss had another company setup our AWS services. This company used an instance-store backed AMI and unfortunately i cannot launch any new instances from it (the AMI) as it ...
24
votes
4answers
34k views

How to install Docker on AWS EC2 instance with AMI (CE/EE Update)

What is the current way of installing Docker on an AWS EC2 instance running the AMI? There has been an announcement of Docker Enterprise Edition and now I want to know if anything has changed. Until ...
1
vote
1answer
649 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 ...
0
votes
2answers
312 views

AWS EC2 linux cant boot

After adding an elastic ip my ec2 linux server cannot boot. I'm trying to access it in many ways, without success. Relevant messages in log: Target filesystem doesn't have requested /sbin/init. ...
1
vote
1answer
516 views

Unable to install qt55 in Amazon Linux AMI

I'm trying to install capybara-webkit on centos 7 as per the instructions at https://github.com/thoughtbot/capybara-webkit/wiki/Installing-Qt-and-compiling-capybara-webkit but I'm getting an error ...
2
votes
1answer
596 views

How can I have trust in a Community AMI offered on Amazon EC2

I want to launch a Fedora 24 instance on Amazon EC2. The Fedora Cloud download page no longer offers links to Fedora 24 AMIs, instead it offers links to "Fedora 25 Atomic Host" images (these are new ...
4
votes
1answer
6k views

Filtering AMI by name using aws-cli

Is there a way to filter public AMIs that contain a particular string (say abcd)? The command: aws ec2 describe-images --filters Name=name,Values=abcd returns only those AMIs that exactly match ...
0
votes
1answer
212 views

AWS RHEL 5 AMI contain a “cloud-user” default user?

Can anyone confirm that Red Hat's AMI for RHEL 5 contains or once contained a user in /etc/sudoers called "cloud-user" (in addition to ec2-user)? I inherited an environment where our EC2 instances ...
3
votes
0answers
4k views

Invalid block device mapping: Invalid device name - Creating an AMI from an Instance Store-Backed

I'm trying to create an AMI from an instance store-back instance but I'm getting "Invalid device name" error at the time when I try to register the AMI. I'm following this document: http://docs.aws....
0
votes
1answer
401 views

To create AMI of the instance in a region(Mumbai) different from AWS Lamda(Singapore) located

I am using AWS Lamda to create AMI's on daily basis for my ec2 prod instance. All my infra setup in in mumbai region but aws doesn't support Lamda functionality in mumbai region yet. So, I choosen ...
4
votes
1answer
264 views

Does Canonical Periodically Update a Given AMI?

I've looked and looked, but I cannot find the answer to this question. Given a specific AMI ID (for example, an Ubuntu 14.04 LTS AMI, published by Canonical itself), will Canonical periodically ...
0
votes
1answer
85 views

Proper way to get process to turn on after reboot on AWS-AMI linux

I'm trying to make sure my queue system does not fail when the server gets rebooted. The PHP processed queue system is started up via a command line command. The Laravel documentation suggests ...
0
votes
1answer
437 views

Ansible not executing within Packer Build

I am currently experimenting with deploying using Packer’s Ansible local provisioning and for some odd reason, it doesn’t appear to be executing the tasks in the playbook. Packer, after installing ...
0
votes
2answers
155 views

How to find online support for Amazon Linux AMI

I am a beginner to Linux, but am currently deciding on a distro for my AWS EC2 web server. My question is how to find online support to Amazon Linux AMI should I decide to use it? I know that it is ...
4
votes
1answer
2k views

How does AWS configure the 169.254.169.254 address on an instance?

AWS uses 169.254.169.254 as a link local address, which you can use to pull meta data about the instance, ie: curl http://169.254.169.254/latest/meta-data/ How/where is this IP configured on the ...