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, 2019 in AWS by Greg
1,105 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, 2019 by Praveen
• 700 points

Related Questions In AWS

0 votes
0 answers
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
• 58,020 points
2,056 views
+1 vote
1 answer

What is the difference between an Instance, AMI and Snaphots in AWS?

AMI is the Amazon Machine Image which provides ...READ MORE

answered May 24, 2019 in AWS by ArchanaNagur
• 2,360 points
4,216 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP