Redhat Repo on AWS

I encountered a lot of questions, mainly about the RED HAT REPO. The Cloud Engineer asked if AMAZON has a RedHat Repo and if they can patch their EC2 without going through the Internet. The simple answer is NO. RED HAT hosts its RHUI (Red Hat Update Infrastructure) in AWS, but you can only access its Repository via the Internet (through Internet Gateway—IGW). You can refer to: https://aws.amazon.com/partners/redhat/faqs/

How can a private EC2 be updated? Depends on your company policy. Over here, I have 2 options:

Option1, access through IGW via NAT Gateway



You can leverage NAT Gateway to access the Internet. Red Hat maintains its Repository in each AWS region. You can update your RED HAT EC2 to point to the following URL(https://access.redhat.com/articles/4720861)

Depending on your region, need to update the URL of the Red Hat report URL so your traffic can flow to it.

rhui3.<<Region>>.aws.ce.redhat.com

Option 2: 

Create a local Red Hat Repository, and all your EC2 will get their repo from the Local Repository. This option is common in a highly regulated environment because it provides full control of the patches and also does not allow all the EC2 to connect directly to the Red Hat repo via the Internet.

I am more of a control freak, so I will go for Option 2, knowing there will be a higher cost than Option 1 due to the nature of my customers, which are Governments and Banks. To reduce the price, you can shut down and power up before your maintenance windows to get the patches you need, hence removing the compute cost in your AWS environment (note that EBS volume will continue to charge you even if you shut down your EC2).






Comments

Popular posts from this blog

SharePoint 2013: Distributed Cache Services

SharePoint 2013 for Developer: Baby Journey (1)

File Structure (Part 1)