Using Console
Using CLI
<domain_name>
with the name of the expiring domain and <number_of_years>
with the number of years you want to renew the domain for.<domain_name>
with the name of the renewed domain.Using Python
list_hosted_zones()
method to get a list of all the hosted zones in your AWS account:get_hosted_zone()
method to get the details of each hosted zone:Expiration
field in the hosted_zone_details
dictionary to see if the domain is expiring in the next 45 days: