Forum Discussion
Please add upgrade packages
Hi Trond,
Thank you for the feedback!
<waves magic wand>
Ask and you shall receive!!! :-)
We have just enabled In-place Upgrades, and it will be coming in the next Windows Server Insiders build which is released. This will simplify the process to upgrade from build-to-build.
One question... usually when we think about the need for In-place OS Upgrades, it is for traditional applications. But I see that you are using containers, can you provide more details in what your scenarios are around containers and upgrading the images?
Thanks!
Elden
I was really looking forward to this, until I saw the fine print of today's release: You can only upgrade from 1709, not the GA version. Which leaves me dead in the water.
Please provide an update experience from the GA version of 2016 so that any user on any cloud can get access to the insiders builds. We have absolutely no local infrastructure, and I would hate to have to start building local hyper-v clusters just to be able to test a new OS.
- Matthew HoranJan 24, 2018Copper Contributor
FWIW, Google's cloud does have 1709 images. We've also managed to "upgrade" a 2016 core installation to 1709 via a sysprep file on AWS, which has worked just fine (though you lose all data). I've also been in touch with Amazon around an official 1709 image, but they've been slow moving. Hopefully we'll see one soon!
Here's the https://gist.github.com/mhoran/a7fa0f8810205239b6b945bc667e4b4e that I provided to the setup.exe from the 1709 installer to get 1709 on AWS. You can mount the 1709 ISO using Mount-DiskImage. Once upgraded, I followed the https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2launch.html to install the EC2 agent.
- Spendon GavekortJan 25, 2018Copper Contributor
Thanks!
I've contacted AWS thru several channels to get their feedback on the problem as well.
A custom unnattend file looks interesting - tho it's not clear to me how you actually use it. Do you bundle it with a image and use the Image Import service, or do you somehow run 1709 setup on top of a GA 2016 server?
- Matthew HoranJan 30, 2018Copper Contributor
Spendon Gavekort wrote:
Do you bundle it with a image and use the Image Import service, or do you somehow run 1709 setup on top of a GA 2016 server?
The latter. From a base 2016 AMI on Amazon, you can download the 1709 ISO, mount it with
Mount-DiskImage
and then run setup.exe, providing an unattend file via
setup.exe /unattend unattend.xml
Note that the fresh install won't have all the necessary drivers to start up on anything other than a t2 instance. Once I got a running base AMI, I booted it up on a t2 and installed the https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/Upgrading_PV_drivers.html#aws-pv-upgrade and https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/enhanced-networking-ena.html#enable-enhanced-networking-ena-WIN drivers. I was then able to create an AMI after booting on an m5 instance and https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2launch.html#ec2launch-sysprep.