Amazon EC2 Introduces Replace Root Volume to Patch Guest Operating System and Applications – InfoQ.com - eComEmpireStore + Brought to You By: Robert Villapane Ramos

Amazon EC2 Introduces Replace Root Volume to Patch Guest Operating System and Applications – InfoQ.com

Live Webinar and Q&A: How to Avoid Kubernetes Deployment Pitfalls (Live Webinar November 15, 2022) Save Your Seat Facilitating the Spread of Knowledge and Innovation in Professional Software Development Back to login Back to login In this article, we’ll look at how to use the gin framework to create a simple Go application. We will […]



Live Webinar and Q&A: How to Avoid Kubernetes Deployment Pitfalls (Live Webinar November 15, 2022) Save Your Seat
Facilitating the Spread of Knowledge and Innovation in Professional Software Development


In this article, we’ll look at how to use the gin framework to create a simple Go application. We will also learn how to use CircleCI, a continuous deployment tool, to automate testing and deployment.
Susanne Kaiser is a software consultant working with teams on microservice adoption. Recently, she’s brought together Domain-Driven Design, Wardley Mapping, and Team Topologies into a conversation about helping teams adopt a fast flow of change. Today on the podcast, Wes Reisz speaks with Kaiser about why she feels these three approaches to dealing with software complexity are so complementary.
In this article, author discusses data pipeline and workflow scheduler Apache DolphinScheduler and how ML tasks are performed by Apache DolphinScheduler using Jupyter and MLflow components.
In this podcast Shane Hastie, Lead Editor for Culture & Methods spoke to Nicole Stanton of Uplevel about their experience introducing a four-day workweek, and how it resulted in higher productivity and higher team engagement.
Rafael de Elvira Tellez discusses a case study of what happened when a large SaaS company enabled DNSSEC.
Make the right decisions by uncovering how senior software developers at early adopter companies are adopting emerging trends. Register Now.
Adopt the right emerging trends to solve your complex engineering challenges. Register Now.
Your monthly guide to all the topics, technologies and techniques that every professional needs to know about. Subscribe for free.
InfoQ Homepage News Amazon EC2 Introduces Replace Root Volume to Patch Guest Operating System and Applications
Nov 06, 2022 2 min read
by
Renato Losio
AWS recently introduced the ability to replace the root volume of EC2 instances using an updated AMI without stopping them. The Replace Root Volume helps patch the guest operating system and applications but still triggers a reboot of the instance.
The Replace Root Volume option allows developers to patch software quickly without having to perform instance store data backups or replication. Changing the AMI of a running instance will update applications and the operating system but will retain the instance store data, networking, and IAM configuration. An improvement on replacing root volumes using a snapshot, the new option can help developers with stateful workloads, simplifying the operating system's patching and improving the deployment's security.
Frank Fioretti, principal infrastructure architect at Huron Consulting Group, tweets:
This seems more like orchestration/automation than anything new really (…) For those using an Instance Store I can see the benefit in the event they want to swap out their root volume and maintain the instance store data.
One option of the new API is to restore a root volume to its launch state, with the replacement volume automatically restored from the snapshot that was used to create the initial volume during the launch. The replacement volume gets the same type, size, and delete on termination attributes as the original root volume. Jason Axley, principal security engineer at Amazon, tweets:
This makes using D.I.E. (Distributed Immutable Ephemeral) paradigm for cloud security way easier for legacy EC2: replace root volume by reverting to launch state.
According to the documentation, the EC2 remains on the same physical host, retaining its public and private IP addresses and DNS name. All network interfaces remain associated with the instance and all pending network traffic is flushed when the instance becomes available.
Corey Quinn, cloud economist at The Duckbill Group, comments in his newsletter:
Okay, this is awesome for a number of use cases. Sadly, it requires the instance to reboot quickly, but other than that it's way more streamlined. Some people are going to hate this because it's treating an instance as a pet instead of cattle, but… well, my development instance is a pet just as your laptop probably is to you.
A successful replacement task transitions through the following three states: pending, when the replacement volume is being created, in-progress, when the original volume is being detached and the replacement volume attached, and succeeded when the process completes and the instance is again available.
Replacing a root volume using an AMI will not change the encryption status of the root volume. If the AMI has multiple block device mappings, only the root volume of the AMI is used and the other volumes are ignored. If the instance supports the Nitro Trusted Platform Module (NitroTPM), the NitroTPM data for the instance is reset and new keys are generated.
The Replace Root Volume API is available in all AWS regions using the console, CLI, or SDKs. If performed using the AWS console, the new functionality is available in the new console only.
 

Becoming an editor for InfoQ was one of the best decisions of my career. It has challenged me and helped me grow in so many ways. We’d love to have more people join our team.

D2iQ: The Leading Independent Kubernetes Platform. Learn more.
A round-up of last week’s content on InfoQ sent out every Tuesday. Join a community of over 250,000 senior developers. View an example

We protect your privacy.
You need to Register an InfoQ account or or login to post comments. But there’s so much more behind being registered.
Get the most out of the InfoQ experience.
Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

A round-up of last week’s content on InfoQ sent out every Tuesday. Join a community of over 250,000 senior developers. View an example

We protect your privacy.
Real-world technical talks. No product pitches.
Practical ideas to inspire you and your team.
QCon Plus – Nov 30 – Dec 8, Online.

QCon Plus brings together the world’s most innovative senior software engineers across multiple domains to share their real-world implementation of emerging trends and practices.
Uncover emerging software trends and practices to solve your complex engineering challenges, without the product pitches.Save your spot now
InfoQ.com and all content copyright © 2006-2022 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we’ve ever worked with.
Privacy Notice, Terms And Conditions, Cookie Policy

source

storefronts06-20
US