Questions tagged [ec2-ami]

For questions relating to virtual machine images (Amazon Machine Image) on Amazon's EC2 infrastructure.

Amazon Web Services Elastic Compute Cloud (hence, EC2) provides scalable and resizeable a la carte compute services in regions around the world. One of their goals is to "make web-scale cloud computing easier for developers".

Ec2 provides access to a large variety of compute services, ranging from a 'free tier' of smaller 'instance' types, to extremely powerful and specialized systems.

Across AWS EC2, an AMI is an Amazon Machine Image, which provides all of the information needed to launch a given machine. An AMI contains a template for the root volume of the instance (or VM), the permissions for where and how it is launched, and any block device (storage) mappings.

Any machine, including pre-configured machines of your own, can be imaged into an AMI which is then re-lauched, modified, or the like. This can be extremely useful for taking a snapshot of a machine and then redeploying it at a later time, or in a different location or availability zone.

283 questions
5
votes
1 answer

R + httr and EC2 api authentication issues

I would like to use the R package httr to access the EC2 services via their API. But I am a little bit unsure how to get started as it does not fall into the usual authentication format of "Oauth2.0" in which you have the usual: key, secret, token…
h.l.m
  • 13,015
  • 22
  • 82
  • 169
4
votes
1 answer

How to install GTK3 and Firefox on Amazon Linux (EC2) instance?

I'm trying to install the firefox on amazon linux (ec2) instance.. but this seems very difficult as gtk3 cannot be installed directly via yum. I've seen some articles here. but not very helpful. Thanks,
Ranjith's
  • 4,508
  • 5
  • 24
  • 40
4
votes
1 answer

mysqlnd_ms error - getaddrinfo failed, mysqlnd_global_stats in Unknown

I'm trying to set up mysqlnd_ms so that it serves its purpose of doing the reads on the slave db and writes on the master db. However, I'm getting this error when httpd is restarted. PHP Warning: PHP Startup: Unable to load dynamic library…
MisRoy
  • 131
  • 2
  • 5
4
votes
2 answers

Can I convert from EC2 AMI to VHD?

Can I download an EC2 instance in vhd format? Or download it in AMI format and convert it to VHD?
Gus
  • 596
  • 4
  • 7
3
votes
0 answers

Best public Hadoop AMI for Hadoop version 1.0.0

I tried to find a good public Hadoop AMI (1.0.0 or 1.0.1) but couldn't. If it contains PIG by default, it will be even better. It looks like Cloudera Hadoop distribution seems to be what I should try but I am not sure what to use. Please advise.
kee
  • 10,969
  • 24
  • 107
  • 168
3
votes
1 answer

xampp configuration in windows server 2008 r2 ec2 instance

i am trying to set up a site with xampp. i have succesfully connected to the instance via remote desktop and installed xampp and python (needed for my php script). now i am trying to find a way to connect to the instance's localhost via a browser in…
kristeen
  • 31
  • 3
3
votes
1 answer

Why does running cloud-init script on EC2 change my shell?

Calling all cloud-init and EC2 gurus... I can't figure this out. I'm using a cloud-init script to bootstrap an EC2 aws-ami instance (through AWS CloudFormation) and when I include the write_files property it changes the command prompt on the…
3
votes
0 answers

Instance launched from custom AMI fails to launch when installing python modules using Python 3.7

I'm creating a custom Ubuntu AMI using Packer and then using it to launch an EC2 instance, which then has an application deployed to it using CodeDeploy. On this instance I need to use Python3.7 as I'm using some datetime functionality that isn't…
Slushysnowman
  • 438
  • 2
  • 9
3
votes
1 answer

Preparing a Windows 2016 EC2 instance for AMI creation via UserData

I am following this guide to prepare an instance for AMI creation ("To manually run Sysprep using EC2Launch" section): https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2launch.html#ec2launch-sysprep When I run the script in step 7…
Kappacake
  • 1,826
  • 19
  • 38
3
votes
2 answers

Changes to upload_max_filesize in Amazon Linux AMI php.ini will not take effect

No matter what I seem to do on my php.ini file to adjust the upload file size, my WordPress size won't change from 2MB. I've installed WordPress myself on the instance following some AWS tutorials. Here's what I have done so far: Create a PHP file…
user10658764
3
votes
0 answers

How do you startup windows agents/slaves on aws using jenkins ec2 plugin

I set up an AWS Windows AMI that was configured to run as a slave using JNLP connection. When the instance is running slave/agent is recognized by the jenkins master and it works in static mode. If I use this AMI with EC2 Jenkins plugin to spawn…
Dzerlig
  • 247
  • 2
  • 10
3
votes
4 answers

Why is ec2_ami complaining about unknown parameter WaiterConfig?

I am trying to use Ansible's ec2_ami module to create an AMI from an EC2 instance. To do this, I am running this role: --- - name: Stop instance ec2: instance_id: "{{ instanceId }}" region: "{{ region }}" state: stopped wait:…
mab
  • 760
  • 4
  • 18
3
votes
9 answers

Can't access Jenkins running on ec2-instance

I've tried setting up jenkins on some free-tier ec2 instances (I've tried ubuntu based and Amazon's own AMI) and despite jenkins running properly I can't access it on port 8080 using browser no matter what I try. I've check that jenkins is running…
Dlisk
  • 39
  • 1
  • 1
  • 5
3
votes
1 answer

AWS how to find Snapshot associated with AMI?

I am trying to find a AWS Snapshot associated with AMI. I am cleaning up my AMI list. After deregistering 2 AMI I have checked snapshot count its not reducing any reason behind this? How can delete snapshot associated with AMI automatically when I…
Kaviyarasu Arasu
  • 329
  • 5
  • 13
3
votes
1 answer

How to self-deploy web applications running in AWS EC2 Spot Windows instances?

My ASP.Net site runs as farm of Windows EC2 web servers. Due to a recent traffic surge, I switched to Spot instances to control costs. Spot instances are created from an AMI when hourly rates are below a set rate. The web servers do not store any…