Skip to content

Set resources parameters

Greg Delisle edited this page Dec 17, 2021 · 1 revision

back to Overview

Set values in resources-parameters.env

This section describes how to set parameters in resources-parameters.env. The env file is read by aws-resources.yaml to complete the setup process for allocating resources.

Copy resources-parameters.env.example and name it with a .env extension (e.g. resources-parameters.env). Edit this file and update parameter values as instructed in the following steps.

AWS VPC ID and Subnet Ids

Reference: Amazon Virtural Private Cloud - User Guide

You will need a VPC and 2 subnets created in advance. Once you have the IDs, you will set them as the "ParameterValue" for the following keys.

  • "ParameterKey": AWSVpcId - set to the id to the VPC ID (usually provided by your AWS Administrator) (e.g. "vpc-4d4bec2b")
  • "ParameterKey": SubnetIds - set to a comma separated list of the 2 subnet IDs (usually provided by your AWS Administrator) (e.g. "subnet-d7ad4ca1,subnet-83a890da"). Make sure that the 2 subnets are in different Availability Zones.
info_24 Typically, your AWS Administrator will provide these to you. See the reference document for more information if your institution does not provide these services.

S3 Bucket

Reference: Amazon Simple Storage Service - User Guide: Working with buckets

The templates will create the S3 bucket. All you need to do is select the name you want to use for the bucket and set it as the "ParameterValue" for the following key.

  • "ParameterKey": S3BucketName - set to the name you want assigned to the S3 bucket (e.g. "lookup-bucket")

EFS Mount

Reference: * Amazon Elastic File System - User Guide: Working with Amazon EFS Access Points

The templates will create the EFS drive and two access points for the database and authority files. All you need to do is to select the names you want to use for these and set them as the "ParameterValue" for the following keys.

  • "ParameterKey": EFSName - set to the name you want assigned to the EFS drive (e.g. "lookup-filesystem")
  • "ParameterKey": EFSDatabaseAccessPoint - set to the name you want assigned to the EFS access point for the database (e.g. "lookup-database-ap")
  • "ParameterKey": EFSAuthoritiesAccessPoint - set to the name you want assigned to the EFS access point for the authority configuration files (e.g. "lookup-authorities-ap")

Previous | Next