Optimizing AWS Server Storage Space

Optimizing AWS Server Storage Space

The first year of using AWS is free, thereafter, you will be charged according to the amount of storage space you have used. To make sure that you’re not carrying ‘dead weight’ in your AWS account, you need to check 3 categories:

  • Instances
  • Elastic IPs
  • Security Groups

In total, you should have one Instance, one Elastic IP, and one Security Group for your validators, Mainnet and Testnet.

Before entering your AWS account, make sure you have the following:

  • Your Mnemonic Passphrase/Seed.
  • The latest version of Blox Staking.
  1. Access your Config Files.

  2. Find and open your .JSON file (not ‘-temp.JSON’ file) inside the config files.

The name of the file depends on the registration flow you originally chose.

For example: if you registered using ‘Google’, the name should look like blox-google-0auth2.json, if you used GitHub, blox-github-0auth2.json

Optimizing AWS Server Storage Space
  1. Inside the .JSON file, search for your ‘PublicIP’ (ex: “publicIp”: “13.52.45.198”)

Optimizing AWS Server Storage Space

Now that you have your publicIP, using the instructions below you can check your Instances, Elastic IPs & Security Groups for unneeded data that can be removed to save storage space.

Locate/Update AWS Instances

  1. In your AWS account, to the right of the search bar, Select ‘N.California’ as your displayed Timezone.

Optimizing AWS Server Storage Space
  1. On the homepage, select ‘EC2’. If it does not appear on the homepage, search ‘EC2’ in the search bar.
Optimizing AWS Server Storage Space
  1. Inside EC2, select Instances (running):
Optimizing AWS Server Storage Space
  1. With your PublicIP, filter in the search bar to identify the relevant / active Instance. Any additional Blox instances can be deleted.
  2. Select the Instance(s) you’d like to remove. To delete, select ‘Terminate’.
Optimizing AWS Server Storage Space

Wait a few minutes to make sure that the Instance(s) have been deleted.

Locate/Update Elastic IPs

  1. On the homepage, select ‘EC2.’ If it does not appear on the homepage, search ‘EC2’ in the search bar.
  2. Select Elastic IPs.
Optimizing AWS Server Storage Space
  1. Using the active Instance ID identified in the steps above, select the Elastic IP(s) that do not match and which can be removed. To delete, select “Release Elastic IP address”.
Optimizing AWS Server Storage Space

Locate/Update Security Groups

  1. On the homepage, select ‘EC2’. If it does not appear on the homepage, search ‘EC2’ in the search bar.
  2. Select ‘Security groups
Optimizing AWS Server Storage Space
  1. With your PublicIP, filter in the search bar to identify the relevant/active Security Groups. Any additional Security Groups can be deleted.
  2. To delete a Security Group, select “Delete security group.’

* Only delete BLOX_INFRA group, DO NOT delete ‘default.’

Optimizing AWS Server Storage Space

More Support

How to Check My AWS Tags

To help you understand which Instances, Security Groups and Elastic IPs you use, we added a special Blox tags to your KeyVault instance.