DEV Community

Cover image for Hi, I'm Shahroze Nawaz, web developer, cloud hosting advisor and community specialist at Cloudways. AMA

Hi, I'm Shahroze Nawaz, web developer, cloud hosting advisor and community specialist at Cloudways. AMA

Shahroz Nawaz on May 14, 2018

Hey, developers! I'm Shahroze Nawaz, the Community Manager at Cloudways, A managed cloud hosting platform for growing businesses. I've been working...
Collapse
 
forethought_de profile image
Karthikeyan P

Hello Shahroz,

I am working on a mobile app which helps people add, delete, update and search items. I use Symfony for Restful API. I assume at the beginning there won't be much queries.

I do not know if I should go with cloud hosting ? I am looking for cost effective solution. Can you advice me on this?

Collapse
 
_shahroznawaz profile image
Shahroz Nawaz • Edited

Hey Karthikeyan,

I've developed Apps/APIs with Symfony 3.x and 4.x. The biggest problem I faced is cache management and permissions. You must aware of the permission settings on your server because I faced the pain on shared hosting servers.

If you say there would be not many queries in start then I would recommend you DigitalOcean or Linode. I personally love DO. It provides you the complete access and developer friendly environment. I always prohibit the shared hosting for Symfony projects.

You can get these configurations on DO for just $5/mon
Memory: 1 GB
VCPUS: 1 vCPU
SSD DISKS: 25 GB
Transfers: 1 TB

For Linode $5 server:

1 GB RAM
1 CPU Core
20 GB SSD Storage
1 TB Transfer
40 Gbps Network In
1000 Mbps Network Out

I think in the start they both are feasible options. You can choose anyone of both. Also if you don't know how to manage your cloud server then don't worry Cloudways can do it for you. You can launch DO and Linode servers with few clicks :)

Collapse
 
forethought_de profile image
Karthikeyan P

Hello Shahroz,

Thanks for your response. How much does it add to cost to use Cloudways with DO or Linode?

Thread Thread
 
_shahroznawaz profile image
Shahroz Nawaz • Edited

You need to pay the bit more with Cloudways like $10 for 1GB server but if you see the feature list it will be worth paying. You can see the complete comparison of features here: cloudways.com/en/digital-ocean-clo...

Collapse
 
sharjeelashraf profile image
sharjeelashraf

Hi Shahroz,
Will you recommend a cloud hosting or a wordpress/woocommerce hosting for a dropshipping store with at least 5000 products and 10k-20k traffic per month?

If I go for Cloud host, what will be the monthly expense and how big a server should I order?

Also, in your opinion, which cloud host will be most affordable?

Collapse
 
_shahroznawaz profile image
Shahroz Nawaz

Hi Sharjeel,

Nice question. If you have 5000 products in your drop shipping store then there are a lot of database queries are running. You must watch out for this and optimize your hosting accordingly. For instance, you need Memcache, Redis and PHP-fpm technologies to tackle down things. I can say 10000-20000 traffic is normal for any website you can use the 4GB server of DigitalOcean, Linode, and AWS. I would recommend DigitalOcean because DO is more developer friendly cloud server. Also if you can't manage your server you can launch it from CLOUDWAYS platform :)

Collapse
 
sharjeelashraf profile image
sharjeelashraf

thanks a lot. Great help. I will surely look into it.

Collapse
 
ben profile image
Ben Halpern

Who should be learning Kubernetes? Will knowledge of this sort of stuff become more important or more abstracted away in the next few years?

Collapse
 
_shahroznawaz profile image
Shahroz Nawaz

As Kubernetes is always related to Infrastructure so mainly Devops and Sysadmins are learning it. But as a developer, you should know, how it works and the concept behind this. Because being a developer you have the responsibility to deploy and maintain your code on the servers. At the very least, all DevOps people should learn Kubernetes. All ops and systems guys should also benefit from it. It is perhaps possible that in the future, this may become abstracted away, as is the case with anything with complexity

Kubernetes will shape the way people look at infrastructure. But right now, Kubernetes is abstracting away all the complexities of the underlying hardware, in order to provide a standard interface to configure and deploy applications on top of a large array of infrastructure.

Collapse
 
ben profile image
Ben Halpern

What are the latest things in CI/CD that catch your eyes, where are folks going with this?

Collapse
 
_shahroznawaz profile image
Shahroz Nawaz

Hey Ben,

The Best thing about CI/CD is you can reduce errors during deployments and integrations. I'm a big fan of CI and regularly work with Travis, Deployer, Envoyer etc tools. The main thing in CI/CD is pipelines. They must be more comprehensive to assure the changes won't introduce unforeseen side effects into your production deployment.

There are many advanced CI/CD tools as well as SaaS services available, with more cropping up all over the web. It’s become easier than ever to integrate your development, testing and deployment workflows with any popular, capable CI/CD tools, and reap its rewards. With tools like Kubernetes, it becomes, even more, easier to deploy CI/CD tools on top of Kubernetes, and have a part of your underlying production infrastructure also running your integration and deployment pipelines.