Skip to content

Storage Gateway not Exposing HTTP or HTTPS ports

0

Hi,

We have an S3 File Storage Gateway configured in the AWS Console. On premises we have a KVM instance running with a 150GiB cache disk. We use this daily to push backup data to S3 via an NFS share on the gateway. This is working great.

I want to extend the functionality by adding Virtual Tapes to the gateway. Amazon Q indicates that I need to create and new gateway in AWS and use our existing KVM instance on premises.

The issue is, as part of the Tape Gateway creation I need to enter the Storage Gateway activation key. I can't get the Storage Gateway activation key! No HTTP or HTTPS ports are being exposed on the on premises storage gateway!

Are these ports sometimes turned off/disabled? Can they be turned on again? Is there some deeper issue with the KVM Gateway instance?

Can someone please help determine why these ports aren't open and how to fix it?

Kind regards, To

asked 2 years ago359 views

2 Answers
1

Hello magic-moremagic, When activating a new gateway, you have a couple of options. You can use the AWS Console. In this case, the AWS Console will allow you to activate the gateway by specifying the newly created gateway's IP address. As long as the host running the AWS Console has port 80 (HTTP) connectivity to the gateway IP address, the AWS Console will automatically retrieve the activation key and activate the gateway. If the host running the AWS Console browser session does not have port 80 connectivity to the gateway or you are using the API to activate the gateway, you can manually retrieve the activation key from the gateway using the instructions here: https://docs.aws.amazon.com/storagegateway/latest/tgw/get-activation-key.html.

As for your comment about "No HTTP or HTTPS ports are being exposed on the on premises storage gateway!"; the HTTP port is only active on the gateway while it is in an un-activated state. Once activation completes, the HTTP port is disabled. If you are unable to connect port 80 (HTTP) on a newly deployed, not yet activated gateway, please verify your firewall rules. Alternatively, use the instructions to retrieve a key through the local console (https://docs.aws.amazon.com/storagegateway/latest/tgw/get-activation-key.html#using-local-console). Thank you

AWS

answered 2 years ago

0

The simple answer is that you need two (2) KVM gateway instances running locally. One for S3 File and another Tape. If you want a volume gateway as well, you will need yet another local KVM Gateway instance. BTW, substitute KVM with 'your choice of virtual machine technology'.

Amazon Q lead me down the wrong path as it told me I could use the same KVM instance to add a tape gateway on the AWS console. So wrong.

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.