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
2
votes
0 answers

packer to bake AMI from shared AMI and Share with other AWS Account

I am trying to create AMI with (shared AMI from another Account). since i do not have access to snapshot i cannot create or rename AMI so i opted to use Packer to Bake New AMI with needed custom Name. Since Shared AMI is encrypted so the newly…
mebb
  • 123
  • 10
2
votes
0 answers

How to check if AWS AMI support cloud-init?

In AWS Console when launching an instance with any image I get "user data" field to fill in optionally to be later executed by cloud-init. However, not all images support cloud-init. How do I check if an AWS image supports cloud-init or not? I can…
2
votes
0 answers

My Xen VM on the EC2, choosing right AKI

I'm trying to move my Xen domU (guest VM) to the EC2. On my machine I have a Xen (dom0 and several domUs). However, when I boot a guest VM, I use a kernel image from dom0 (in the .cfg file lines kernel=/...; initrd=/...). That means, my kernel…
user449219
  • 1,333
  • 2
  • 9
  • 7
2
votes
2 answers

Scylla fails to mount RAID volume after restarting EC2 instance

I am new to Scylla. I have followed the installation steps on the Scylla website to setup a small 4 node Scylla cluster in my AWS account. I am using the Scylla ami on my EC2 instances. If I stop one of the EC2 instances and then start it up again.…
Freid001
  • 2,580
  • 3
  • 29
  • 60
2
votes
0 answers

How can I change the default phpMyAdmin access URL for AWS EC2 running Linux AMI

I just installed MySQL and phpMyAdmin on my AWS EC2 instance running Linux AMI. I would like to find out how to change the default URL to access phpMyAdmin, which is currently /phpMyAdmin. I found an article on how to do this: …
2
votes
2 answers

EBS Volume attach to running EC2 Windows instance

I am having a scenario where EC2 mount two EBS Volumes and one of them is root. My ELB is setup to size=1 instance actively running. I want to have second EBS volume snapshot to be attached to new EC2 spin-off using AMI. How to do it using…
2
votes
1 answer

Windows and Linux Simultaneous EC2 Instances on AWS Free Tier

I am running a Linux server with 10GB of EBS Storage for personal projects on AWS's free tier. I also want to create another server on that same account, but I would rather not spend anything. I tried to create a Windows server (which has a seperate…
2
votes
0 answers

trouble in connecting PostgreSQL on Ec2 instance from remote system thru Python

I am trying to connect ec2'instance Postgres DB from my PC (windows) thru Python. Steps i have taken before this : I am running Amazon Linux AMI EC2 instance. I have installed Postgres SQL following the below command : sudo yum install…
Mighty
  • 31
  • 2
2
votes
1 answer

How to establish SSH connection between two AMI EC2 instances by generating new key pair using ssh-keygen

I need to establish SSH connection between 2 AMI Ec2 instances. I have tried by generating new key pair with ssh-keygen method. Even after copying public key id_rsa.pub from one instance to authorized_keys folder in another instance, I'm…
2
votes
2 answers

AWS AutoScaling - Instance Lifecycle

Just trying to get a bit of info on aws asg. Here is my scenario; launch an asg from a launch config using a default ubuntu ami provision (install all required packages and config) the instances in the asg using ansible deploy code to the instances…
moh_abk
  • 2,064
  • 7
  • 36
  • 65
2
votes
2 answers

AWS - UserData is not executed for instance created from custom image

I tested with simple PowerShell script mkdir C:\tempdir When I specify it as UserData for instance launched from Amazon image, everything works fine. If I launch instance with specified UserData and make image of that instance, UserData is not…
zdenko.s
  • 931
  • 1
  • 12
  • 29
2
votes
1 answer

Amazon EC2 - Can I 'associate' a kernel (aki) with a specific AMI?

I am making my own AMIs (Virtual machines on Amazon's EC2). I can't use the default kernel. I have to use one of the other provided amazon kernels. I am trying to make this AMI be really really easy to use and make sure an idiot can start it up.…
Amandasaurus
  • 58,203
  • 71
  • 188
  • 248
2
votes
1 answer

What is the "hourly" in the amazon RedHat AMI names? Eg RHEL-6.5_GA-x86_64-7-Hourly2?

More generally, are there patterns to the naming conventions in community AMIs?
LizH
  • 445
  • 6
  • 19
2
votes
1 answer

How to select and AMI when creating an instance of EC2

I am using Amazon EC2 for the first time, and need to create an instance that runs Windows, MSSQL Server 2008, .Net Framework 3.5 SP1 and IIS Server 6.0. I am unable to decide what AMI (out of the huge list of community AMIs) should I choose to meet…
Prashant
  • 937
  • 1
  • 10
  • 23
2
votes
1 answer

Creating EC2 Amazon instance from AMI

I have a t1 (free) EC2 Amazon instance running for an year already. I created an AMI from this instance and then tried to create another EC2 t1 instance from this AMI (using right button menu / Launch). The instance was created, its state has…
Flot2011
  • 4,601
  • 3
  • 44
  • 61