-
Notifications
You must be signed in to change notification settings - Fork 3
Set resources parameters
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.
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.
Typically, your AWS Administrator will provide these to you. See the reference document for more information if your institution does not provide these services. |
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")
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")