AWS Infrastructure #8
Replies: 4 comments 8 replies
-
It occurred to me that you were considering a Kubernetes cluster for handling data. We could also host the UI out of an nginx or Apache container in a cluster as well, if that ends up making more sense. I’m not sure that we’ll see any significant trade-offs in performance or reliability with that approach compared to a CDN, so this is an option we can consider. |
Beta Was this translation helpful? Give feedback.
-
Sounds good! I think that gives me what I need to get started. Regarding using API Gateway - I recall you mentioning you were interested in a GraphQL API for the backend. Was that correct? It sounds like API Gateway only supports REST or Websockets. However, AWS has another product called AppSync that we could look at. I hadn't heard about Amplify before but would also be happy to look into it if you wanted to go that way. Regarding CI - that sounds good. I was originally thinking we would use GitHub Actions for CI. How does that sound to you? |
Beta Was this translation helpful? Give feedback.
-
@ian-noaa do you have an estimate of when we’ll have some infrastructure available? I’m hoping to scaffold the frontend next week and it would be nice to work on the deploy as well. |
Beta Was this translation helpful? Give feedback.
-
I created an issue (#12) for getting our infrastructure set up so that we can track that work. We can adjust the tasks as neeeded. |
Beta Was this translation helpful? Give feedback.
-
@ian-noaa I’m planning to build the UI as a single-page application (SPA), so the hosting is relatively simple. In production, it will just be some HTML, CSS, and JavaScript files that will need to be served over HTTP. I think for AWS this means we’ll need:
Alternatively, we could go for Amplify which is — I believe — a service that Amazon offers to wire together all of the things you need for hosting an app like this and automating your deploys.
For CI, I’ll just need an environment with NodeJS to build the application into static files and copy them to S3. (Amplify may have tools for CI as part of the package, I’m unclear on that point.) This is actually going to look an awful lot like the process for building the SOS website, so you can probably look at our GitLab CI files to see how the build process works.
Let me know if you need any more information, or if you have any concerns about how we’re going to connect the UI to the backend.
Beta Was this translation helpful? Give feedback.
All reactions