How To Update an EC2 Machine with Amazon Linux 2

In this story, we will learn how to patch an EC2 Machine running Amazon Linux 2.

Note: Kernel Live Patching is not supported in Amazon Linux 2 instances with 64-bit ARM.

Patching the Operating System Packages

We will SSH the EC2 instance using ec-user@[machine-name] and then we will start updating Amazon…

--

--

--

Certified AWS, Azure & GCP Architect | HashiCorp Ambassador | Terraform SME | KopiCloud Founder | Entrepreneur & Innovator | Book Author | Husband & Dad of ✌

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

React UI with .NET Core BFF deployed at GCP AppEngine

Versatile streaming data processing using Kafka Streams

Create Client-Side Auth with Finite State Machines, Redux and Redux Sagas

Two stop lights, one for turning left and one for going straight.

Presenting: Big Data Platform at Getir

Trusting Other People’s Code

Is AWS ready to provide serverless WebSockets at scale?

Amazon Kinesis Data Streams

Run Gitlab Pipeline DRY

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Guillermo Musumeci

Guillermo Musumeci

Certified AWS, Azure & GCP Architect | HashiCorp Ambassador | Terraform SME | KopiCloud Founder | Entrepreneur & Innovator | Book Author | Husband & Dad of ✌

More from Medium

Creating an AWS AppConfig Application using Terraform

Automatically tag AWS EC2 Instances with the “Owner” tag upon creation

How to host a static website on AWS with S3, CloudFront, Route53 and Terraform — Interweave

How to configure EC2, EBS, and S3 in AWS using AWS CLI