I've been using a Windows 2008R2 EC2 instance for some time. As of today, it still works. I started working with the AWS API, and I was unable to start my instance using the API, the error message being "not authorized for images", specifically : An error occurred (AuthFailure) when calling the RunInstances operation: Not authorized for images: [ami-088dab1e]
我一直在使用Windows 2008R2 EC2实例。截至今天,它仍然有效。我开始使用AWS API,我无法使用API启动我的实例,错误消息是“未获得图像授权”,特别是:调用RunInstances操作时出现错误(AuthFailure):未授权图像: [AMI-088dab1e]
That's when I learned about deprecation.
那是我了解弃用的时候。
From what I read, what this means is that the AMI being used is no longer publicly available. When using the API call "describe-images", this image cannot be queried. While it apparently can still be used from the console, the API simply doesn't support it and will not start an instance using that image ID. On the console, the AMI description reads : Cannot load details for ami-088dab1e. You may not be permitted to view it.
根据我的阅读,这意味着所使用的AMI不再公开。使用API调用“describe-images”时,无法查询此图像。虽然它显然仍然可以在控制台上使用,但API根本不支持它,并且不会使用该图像ID启动实例。在控制台上,AMI描述显示:无法加载ami-088dab1e的详细信息。您可能不被允许查看它。
I understand how to find a new image and I think I understand how to launch my instance using a new image. However, I have lots of custom software installed on this instance. So before I try it, I want to know if I will lose that custom software installation if I launch my existing instance with a new AMI. I'm hoping that my custom software won't change, but I'm skeptical. I don't want to fire up a brand new version of Windows and start from scratch. Mostly, I don't want to lose what I've already got.
我理解如何找到新图像,我想我了解如何使用新图像启动我的实例。但是,我在这个实例上安装了很多自定义软件。因此,在我尝试之前,如果我使用新的AMI启动现有实例,我想知道是否会丢失该自定义软件安装。我希望我的自定义软件不会改变,但我持怀疑态度。我不想启动全新版本的Windows并从头开始。大多数情况下,我不想失去我已经拥有的东西。
I know this is a basic question, but I've looked all over, and I haven't yet found a straightforward answer. I was hoping y'all would know. Thanks.
我知道这是一个基本问题,但我看了一遍,我还没有找到一个直截了当的答案。我希望你们都知道。谢谢。
1 个解决方案
#1
0
I think I've found an answer here: AWS EC2 new instance from image AMI
我想我在这里找到了答案:来自图像AMI的AWS EC2新实例
When launching an instance from an Amazon Machine Image (AMI), the disks will contain an exact copy of the disk at the time that the AMI was created.
从Amazon Machine Image(AMI)启动实例时,磁盘将在创建AMI时包含磁盘的精确副本。
In other words, if I start a new instance, I'll lose my installed software. WRONG!
换句话说,如果我启动一个新实例,我将丢失已安装的软件。错误!
Launching != starting. More editing to come once I get this completely figured out.
启动!=开始。一旦我完全理解了这一点,就会有更多的编辑工作。
So, given that updated Windows images are created and deprecated all the time, and the Windows OS is constantly updated by Microsoft, one must wonder how it is a static Windows image can be used with other software? It seems like far more trouble than it's worth, if you've got to constantly reinstall your software to keep your Windows system up to date.
因此,鉴于更新的Windows映像一直在创建和弃用,并且Microsoft不断更新Windows操作系统,人们必须想知道静态Windows映像是如何与其他软件一起使用的?如果您不得不不断重新安装软件以使Windows系统保持最新,那么它似乎要比它的价值更麻烦。
Amazon recently came up with a solution for that, here: Patching Windows
亚马逊最近提出了一个解决方案,在这里:修补Windows
I don't know how to do it yet, but this seems like exactly what I need in order to keep Windows up to date, and keep my installed software intact.
我不知道该怎么做,但这似乎正是我需要的,以保持Windows最新,并保持我安装的软件完好无损。
#1
0
I think I've found an answer here: AWS EC2 new instance from image AMI
我想我在这里找到了答案:来自图像AMI的AWS EC2新实例
When launching an instance from an Amazon Machine Image (AMI), the disks will contain an exact copy of the disk at the time that the AMI was created.
从Amazon Machine Image(AMI)启动实例时,磁盘将在创建AMI时包含磁盘的精确副本。
In other words, if I start a new instance, I'll lose my installed software. WRONG!
换句话说,如果我启动一个新实例,我将丢失已安装的软件。错误!
Launching != starting. More editing to come once I get this completely figured out.
启动!=开始。一旦我完全理解了这一点,就会有更多的编辑工作。
So, given that updated Windows images are created and deprecated all the time, and the Windows OS is constantly updated by Microsoft, one must wonder how it is a static Windows image can be used with other software? It seems like far more trouble than it's worth, if you've got to constantly reinstall your software to keep your Windows system up to date.
因此,鉴于更新的Windows映像一直在创建和弃用,并且Microsoft不断更新Windows操作系统,人们必须想知道静态Windows映像是如何与其他软件一起使用的?如果您不得不不断重新安装软件以使Windows系统保持最新,那么它似乎要比它的价值更麻烦。
Amazon recently came up with a solution for that, here: Patching Windows
亚马逊最近提出了一个解决方案,在这里:修补Windows
I don't know how to do it yet, but this seems like exactly what I need in order to keep Windows up to date, and keep my installed software intact.
我不知道该怎么做,但这似乎正是我需要的,以保持Windows最新,并保持我安装的软件完好无损。