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

Choose a deployment environment (backend and frontend) #6

Open
puzzledbytheweb opened this issue Nov 15, 2021 · 3 comments
Open

Choose a deployment environment (backend and frontend) #6

puzzledbytheweb opened this issue Nov 15, 2021 · 3 comments

Comments

@puzzledbytheweb
Copy link
Collaborator

We need to take into consideration developer time, as well as security. A solution would be to use something like Heroku but then, if we use a managed database service we'll need to make our IP allowlist open to the whole internet (very unsafe!!)

If we go to something like EC2 instances we'll have a lot of power of choice but a lot of hassle to maintain.

I'm thinking about Serverless since we'll get the environment set up for free, while having nice infrastructure as code. (Need to check the IP stuff)

Another idea would be Terraform, but this is a bit more granular and takes a bit more time/expertise to maintain.

@edmkitty
Copy link
Collaborator

edmkitty commented Nov 20, 2021

The Maps project is using Firebase, which could be an option. Terraform by itself is not an option for deployment, it merely manages your infrastructure as code but still needs a provider (AWS, Azure, etc). Do we have access to an AWS account? There are many different ways to deploy in AWS, but if we don't have a Reach4Help AWS account, then it may not be a reasonable option.

@edmkitty
Copy link
Collaborator

For static websites, Github Pages could be an option for the frontend.

@edmkitty
Copy link
Collaborator

edmkitty commented Nov 28, 2021

I looked into Serverless a little bit. It looks like it also is not a deployment environment, but it only helps manage your deployment code. I was reading this part of the docs: https://www.serverless.com/framework/docs/providers/aws/guide/credentials/

The Serverless Framework needs access to your cloud provider account so that it can create and manage resources on your behalf.
This guide is for the Amazon Web Services (AWS) provider, so we'll step through the process of setting up credentials for AWS and using them with Serverless.

Meaning, we would need an existing AWS account (or some other cloud provider) in order to use it. However, the Serverless configuration looks like a very simplified wrapper over terraform, which is good. I think the barrier of entry on this framework is pretty low and will be easy to modify for beginners and people who don't know terraform.

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

No branches or pull requests

2 participants