2.1 Deploy Volume Gateway
Check the VPC ID of the EC2 Initiator Instance
- From the AWS console, click Services and select EC2.
- Select Instances from the menu on the left.
- Click on the EC2 Initiator Instance.
- In the bottom panel scroll down till you see the VPC ID eg vpc-0502a5de98d3435ad and note this down.
Deploy Volume Gateway
- From the AWS console, click Services, under Storage select Storage Gateway.
- If you are new to Storage Gateway, a new page will appear: click Get Started. If you have used the service before, click Create Gateway.
- Select Volume Gateway -> Cached Volumes and click next.
- Under Select host platform choose Amazon EC2 and then Launch Instance.
- A new tab will open. Select the instance m5n.xlarge type and then click Next: Configure Instance Details.
- Under Network select the VPC you noted down in the previous section it should be the non-default VPC and then click Next: Add Storage
- Click Add New Volume twice and enter the following details for each new disk:
- Volume Type EBS
- Size 200GiB
- Volume type Provisioned IOPS SSD (io1)
- IOPS 10000
- Delete on Termination ticked
You should now have a total of 3 volumes.
- Click Next: Add Tags.
- Add tags as needed.
- Click Next: Configure Security Group.
- Choose Select an Existing Security Group and choose StorageGatewaySecurityGroup.
- Click Review and Launch.
- A warning may pop up around port 22 not being open click Continue.
- Click Launch.
- Choose Proceed without a key pair and check the box (I acknowledge that I will not be able to connect to this instance unless I already know the password built into this AMI.), and then click Launch Instances.
- Click View Instances.
- Click on the Volume Gateway instance note the IPv4 Public IP address in the bottom panel.
- Wait for the Status check to go to a green tick (3-5 mins) and then close the tab to return to the Storage Gateway wizard tab in step 4.
- At the Select host platform page, click Next.
- Choose Public Endpoint Type and click Next.
- Enter in the IPv4 Public IP address you noted previously from the Volume Gateway instance and click Connect to Gateway.
- Enter a gateway name and click Activate Gateway.
- Allocate one disk to Upload buffer and one disk to Cache, note these down and click Configure logging
- Choose Create a new log group and then click Save and Continue.
- You should now be taken to the Storage Gateway console.