Upgrading the software in an AMI without creating a new one

0 votes
Is there any way to unpack the AMI, upgrade the application in it and pack it back? This is for testing a temporary fix in the application. I don’t want to create an EC2 instance for the sake of modifying the application in the AMI.
Aug 6 in AWS by Greg
30 views

1 answer to this question.

0 votes

When an EC2 instance is launched, AWS allows us to pass the user data as mentioned in the AWS Documentation here. This can be a script which gets executed when the EC2 instance starts. The script can be used to install or upgrade the application. This is the recommended approach for a temporary fix testing. If a lot of EC2s have to be created with the new application, instead of using the user data approach, it’s always better to create a new AMI with the new application.

answered Aug 13 by Praveen
• 700 points

Related Questions In AWS

0 votes
1 answer

Creating A New MySQL User In Amazon RDS Environment

AWS RDS security groups documentation (a common ...READ MORE

answered Jul 18, 2018 in AWS by Priyaj
• 56,920 points
227 views
+1 vote
1 answer
0 votes
1 answer

Want to use an AWS Cognito User Pool without putting a password(for an easier approach)

Currently, AWS Cognito is not supporting passwordless ...READ MORE

answered May 4, 2018 in AWS by Cloud gunner
• 4,280 points
1,554 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer