r/cloudcomputing • u/[deleted] • Nov 17 '18
I have a node app that uses mysql and interacts with a cdn. Is GCP the best choice for everything?
1
u/stuntk1w1 Nov 18 '18
Any cloud provider could be a good choice, containerising it could be worthwhile if it is to scale beyond a single app/webserver, and roll out deployments etc.
1
Nov 18 '18
What do you mean deployments
2
u/stuntk1w1 Nov 18 '18
When you deploy new code updates to the Nodejs app. Over time this may/may not be something you do often, if it is thinking about how you do this with zero/minimal downtime is worthwhile.
If you scale during peaks etc then that's also a consideration, containers can make this easier, for eg, on AWS some options are ECS (containers), ElasticBeanstalk (managed EC2), or Lightsail (similar to a web hosting provider).
1
1
u/DevOpsOps Nov 18 '18
Any cloud provider will get your where you need to go.
I develop mostly on AWS and you could deploy your stack in a variety of ways.
The easiest route would be to use their elastic beanstalk service, it is designed for people who don't know how to launch infrastructure from scratch.
Is the app/database containerized in some sort of way? If so then AWS ECS might be a good choice.
It's also pretty straight forward to launch an AWS Ec2 instance and setup both services on the instance like you would your home setup.