How can I determine on the OS level if the AWS instance is based on CloudAccess or on-demand

Solution Unverified - Updated -

Issue

  • How can I determine from the OS if the instance that is running has to be paid per hour or that is based on the CloudAccess AMI for which we have to provide our own subscription.

Environment

  • Red Hat Enterprise Linux 9
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 7
  • cloud-init
  • AWS

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content