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
0
votes
1 answer

How to synchronize EC2 instances

I created a web cluster using AWS's Cloudformation template. The script installs Drupal 7. I connect an instance via ssh, delete Drupal 7 and install Drupal 6. I want the other instances (and the instances will be created in the future) to inherit…
0
votes
1 answer

How can I install the Redmine emails Reminder plugin on EC2?

I already have a Redmine instance running on EC2, on Ubuntu. Now I want to install the Redmine Reminders via email, on my EC2 instance. How can it be done? Many Thanks, Daniel
0
votes
1 answer

Does there exist Amazon EC2 AMI preconfigured with PHP4?

I'm having a very difficult time setting up a PHP4 LAMP stack on an EC2 instance. Does anyone know of any pre-configured AMI which supports PHP4? For the record, I do not have the option to develop in PHP5
rocketas
  • 1,679
  • 3
  • 18
  • 30
0
votes
2 answers

Execute .sh script on ec2 instances without rebooting

I currently keep my app code on S3 and have a startup.sh script which is fired via /etc/rc.local and installs the apps and any edits etc. Thus when I make a change, I need to reboot all my instances for the change to take effect. Is there a way to…
waigani
  • 3,570
  • 5
  • 46
  • 71
-1
votes
1 answer

AWS EC2 Instance: SSH instance Operation timed out when connectiong through Mac

I launched Amazon Linux instance and I am using a default security group with following settings: Type:All traffic Protocol:All Port Range:All But when connecting through ssh from my Mac I get Operation Timed Out message: ssh -i "
deejay217
  • 109
  • 2
  • 10
-1
votes
1 answer

Can I use different instance types for master and slave nodes without any issues when creating Amazon EMR cluster?

I have investigated that I can create an EMR cluster using different instance types for slave and master nodes via Java, i.e. RunJobFlowRequest request = new RunJobFlowRequest() …
-1
votes
1 answer

What is the use of "Attach to Autoscaling Group" in AWS?

I'm sorry if it feels like a dumb question to you.But I have to know this. What is the use of "Attach to Auto-scaling Group" in AWS? Let me be more specific about this question. Suppose I have an auto-scaling group with a launch configuration. Lets…
-1
votes
2 answers

Provide options to customize the Snapshot creation and retention period

How can i provide options to customize the Snapshot creation and retention period for ec2 instances in aws
Adit Vira
  • 559
  • 1
  • 4
  • 6
-1
votes
1 answer

How to launch a new ec2 instance via snapshot and cli

I have an EC2 instance snapshot, and I'd like to launch a new VM using it. Can I use the AWS CLI (EC2 CLI) tools to launch a new instance? If so, can anyone share links/tutorials that describe the process?
-1
votes
1 answer

Can we group two instances/snapshots under some folder in AWS EC2?

I've created two different instances in AWS EC2 which are used for single purpose (SFTP) . I wanted to group/store these two instances(ex: under one single folder,may be) so that in future I'll get to know these two instances are be used for SFTP…
CentosUser
  • 201
  • 1
  • 4
  • 14
-1
votes
2 answers

Can't access new AMI instance with SSH. PEM_read-privatekey failed

I'm new to both amazon ec2 and SSH and have been unsuccessful at connecting to my first instance(s). No matter what I try and that includes the Amazon Connection guide, the troubleshooting guide and countless forum search results nothing seems to…
-2
votes
2 answers

AWS EC2 2022 - Disconnected: No supported authentication method available

I am trying to launch AWS EC2 instance with Ubuntu AMI. The username is ubuntu. Before the launch, I created my key using .ppk option checked: After launching EC2, I can see the key I selected is showing under Key pair name. I opened putty, pasted…
Ankur
  • 87
  • 7
-2
votes
1 answer

guide me to update golden image to my existing AMI

i am new to AWS. i have created golden AMI image and want to update my all existing AMI with golden AMI image. please guide me how we can make it possible.
NGoel
  • 1
1 2 3
18
19