Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create AWS infrastructure for hosting variant-nowcast-hub #63

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

bsweger
Copy link
Collaborator

@bsweger bsweger commented Nov 14, 2024

We briefly discussed the S3 bucket name ("hub" in the hubs.yaml file) here:
https://reichlab.slack.com/archives/C06ESFN6Y79/p1731532728001529

I added the -hub suffix to our agreed-upon name for consistency with other hubs we're hosting on AWS but can remove that if people object.

Copy link

pulumi bot commented Nov 14, 2024

🍹 The Update (preview) for hubverse/hubverse-aws/hubverse was successful.

Resource Changes

    Name                                                     Type                                                        Operation
+   covid-variant-nowcast-hub-read-bucket-policy             aws:s3/bucketPolicy:BucketPolicy                            create
+   covid-variant-nowcast-hub                                aws:iam/rolePolicyAttachment:RolePolicyAttachment           create
+   covid-variant-nowcast-hub-write-bucket-policy            aws:iam/policy:Policy                                       create
+   covid-variant-nowcast-hub-allow                          aws:lambda/permission:Permission                            create
+   covid-variant-nowcast-hub-bucket-cors-config             aws:s3/bucketCorsConfigurationV2:BucketCorsConfigurationV2  create
+   covid-variant-nowcast-hub                                aws:iam/role:Role                                           create
+   covid-variant-nowcast-hub                                aws:s3/bucket:Bucket                                        create
+   covid-variant-nowcast-hub-public-access-block            aws:s3/bucketPublicAccessBlock:BucketPublicAccessBlock      create
+   covid-variant-nowcast-hub-transform-model-output-lambda  aws:iam/rolePolicyAttachment:RolePolicyAttachment           create
+   covid-variant-nowcast-hub-create-notification            aws:s3/bucketNotification:BucketNotification                create

Copy link

🍹 preview on hubverse-aws/hubverse/hubverse-aws/hubverse

Pulumi report
   Previewing update (hubverse/hubverse)

View Live: https://app.pulumi.com/hubverse/hubverse-aws/hubverse/previews/01d324bd-5904-4fc7-952c-2555802dcb8a

@ Previewing update......
Downloading plugin aws-6.29.0: starting
@ Previewing update....
Downloading plugin aws-6.29.0: done
Installing plugin aws-6.29.0: starting
@ Previewing update......
Installing plugin aws-6.29.0: done
@ Previewing update....

@ Previewing update.....
   pulumi:pulumi:Stack hubverse-aws-hubverse running 
@ Previewing update.....
+  aws:s3:Bucket covid-variant-nowcast-hub create 
+  aws:s3:BucketPublicAccessBlock covid-variant-nowcast-hub-public-access-block create 
+  aws:s3:BucketCorsConfigurationV2 covid-variant-nowcast-hub-bucket-cors-config create 
+  aws:s3:BucketPolicy covid-variant-nowcast-hub-read-bucket-policy create 
+  aws:iam:Role covid-variant-nowcast-hub create 
+  aws:iam:Policy covid-variant-nowcast-hub-write-bucket-policy create 
+  aws:lambda:Permission covid-variant-nowcast-hub-allow create 
+  aws:iam:RolePolicyAttachment covid-variant-nowcast-hub create 
+  aws:iam:RolePolicyAttachment covid-variant-nowcast-hub-transform-model-output-lambda create 
+  aws:s3:BucketNotification covid-variant-nowcast-hub-create-notification create 
@ Previewing update....
   pulumi:pulumi:Stack hubverse-aws-hubverse  
Resources:
   + 10 to create
   67 unchanged

   

bsweger added a commit to reichlab/variant-nowcast-hub that referenced this pull request Nov 14, 2024
This is the companion PR to
hubverse-org/hubverse-infrastructure#63,
which has to be merged first (because it providions the
AWS infrastructure that must be in place before the hub
begins syncing data)

Once this is merged, the new hubverse-aws-upload GitHub action
will sync existing data to S3. Going forward, it will
automatically sync any new or updated data that is merged
into the auxiliary-data, hub-config, model-metadata, and
model-output directories (and also target-data, once we
add that)
@nickreich nickreich merged commit 0047104 into main Nov 14, 2024
4 checks passed
@nickreich nickreich deleted the bsweger/add-variant-nowcast-hub/58 branch November 14, 2024 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants