I am not sure how AWS manages. But typically we can list subscription and product information as follows:
subscription-manager list
Pull the latest subscription data from the server
We run:
subscription-manager refresh
Attach a specified subscription to the registered system
All you have to do is run:
subscription-manager attach --auto
Wait for some time as it takes time. Final confirmation:
1 local certificate has been deleted.
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux for x86_64
Status: Subscribed
If everything failed, then remove and register again:
Remove all or specific subscriptions from this system
subscription-manager remove
subscription-manager register
Getting help for RHEL 8
We take help of the following simple command:
subscription-manager --help
Usage: subscription-manager MODULE-NAME [MODULE-OPTIONS] [--help]
Primary Modules:
attach Attach a specified subscription to the registered system
list List subscription and product information for this system
refresh Pull the latest subscription data from the server
register Register this system to the Customer Portal or another subscription management service
release Configure which operating system release to use
remove Remove all or specific subscriptions from this system
status Show status information for this system's subscriptions and products
unregister Unregister this system from the Customer Portal or another subscription management service
Other Modules:
addons Modify or view the addons attribute of the system purpose
auto-attach Set if subscriptions are attached on a schedule (default of daily)
clean Remove all local system and subscription data without affecting the server
config List, set, or remove the configuration parameters in use by this system
environments Display the environments available for a user
facts View or update the detected system information
identity Display the identity certificate for this system or request a new one
import Import certificates which were provided outside of the tool
orgs Display the organizations against which a user can register a system
plugins View and configure with 'subscription-manager plugins'
redeem Attempt to redeem a subscription for a preconfigured system
repo-override Manage custom content repository settings
repos List the repositories which this system is entitled to use
role Modify system purpose role
service-level Manage service levels for this system
subscribe Deprecated, see attach
unsubscribe Deprecated, see remove
usage Manage usage setting for this system
version Print version information
- Managing Red Hat Enterprise Linux Systems on AWS with Red Hat Insights | AWS Partner Network (APN) Blog
- Red Hat FAQs
- https://access.redhat.com/solutions/253273