-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Research and create steps for backend migration to Zappa #430
Comments
@arkid15r can you please assign this to me please |
@arkid15r , I am familiar with serverless, can i get this one? |
@arkid15r @Naveen-Pal |
Serverless help to save cost as it is based on pay as you go and FAAS (function as a service) In short, if no one is using the website it can automatically downscale to 0 (no cost). And up scale as per demand of service. |
I am also curious about Zappa's serverless mechanism. |
is it better than ASG's+ load balancers or Kubernetes pods (k8s pods) for server scaling and traffic handling ? |
@Rajgupta36 I was also curious about the same as in hono, this behavior happens as you told. |
@Rajgupta36 Yes, you are right about the cold start, as you mention it take time for the first request but also make much impact on cost. Alternatively we can configure to have minimum 1 pods running.
In term of cost and scalibility serverless is the best option. |
I think the combination of ASG's and load balancer is good for horizontal scaling . it's also cost efficient. also in asg we can describe min and max no of active machines. |
@Rajgupta36 @Naveen-Pal |
@Rajgupta36 Probably we don't need to use ASG's. |
@Naveen-Pal i am not saying use ASG with zappa . |
i think it's a good discussion on deployment approaches . |
This approach seems easier than k8s based. But I'm open to assess pros and cons of both approaches before choosing the direction. @Naveen-Pal will you be able to extend the task w/ a comparison of zappa vs |
One popular method to go serverless with Kubernetes is by using Knative. Steps Required:Setup the Environment:
Containerize the Application:
Create Knative Service Definitions:
And finally, manage deployment... (This approach seems overly complicated.) ZappaFor simpler deployments and lower operational overhead, Zappa is a great fit. Steps:Setup the Environment:
Deploy to Production:
We will need to consider how this integrates with our CI/CD pipeline. Personally, I believe Zappa is a better choice for our project since we are using Django. It simplifies the deployment process and reduces complexity. |
It seems Zappa wins for now. But what would be k8s most important benefits for us if we are willing to deal with the complexity of the solution? |
one can migrate Kubernetes to any cloud but zappa is tied to AWS |
Describe the solution you'd like
Use https://github.com/zappa/Zappa for OWASP Nest backend.
The text was updated successfully, but these errors were encountered: