简体   繁体   中英

How to create new windows AMI with packer

I have an EC2 running Windows with 2 volumes, one for OS and one for DB and application. I've tried to search in Packer docs for creating new updated image but all I've found is that I need to provide existing AMI ID, which currently I don't have. How can I use packer to create an update image of the running instance?

From the Packer documentation:

What is Packer?

Packer is an open source tool for creating identical machine images for multiple platforms from a single source configuration. Ref

Packer can't create an image from a running instance and that is not the purpose of Packer, since that would not be repeatable.

Instead just follow the AWS documentation for Creating a Windows AMI from a Running Instance .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM