CDLUC3 / dmphub

Simple metadata repository for networked DMPs
MIT License
3 stars 1 forks source link

General environment setup #74

Closed briri closed 2 years ago

briri commented 2 years ago

We need to establish/define some initial settings for the new AWS environment

Discuss how best to handle data between environments. We currently have an RDS per environment but DynamoDB costs are different and it may make more sense to have one for prod and another shared by dev and stage.

I also have an unknown that may determine a need for additional infrastructure. We are going to use Cognito user pools and I will be storing 'provenance' with aspects of the DMP record to indicate who created/updated it.

Depending on the answer to the above question about Cognito, it may make sense to build a small Postgres RDS instance that can be used to persist this.

briri commented 2 years ago

Interesting article on the use of SSM params in a CloudFormation template. https://medium.com/claranet-italia/a-practical-guide-to-surviving-aws-sam-d8ab141b3d25

Will need to think on how to handle this @ashleygould since the DMPHub 2.0 will not have EC2 hosts, so it may be harder to distinguish between stg in prd.

mariapraetzellis commented 2 years ago

@ashleygould will determine how best to handle logging.