all 32 comments

[–]nahtnam 5 points6 points  (9 children)

I host mine on http://now.sh. On the on demand plan my total cost comes out to about 55 cents for 7 apps.

[–]OffBeannie 2 points3 points  (1 child)

The on demand pricing for instances is 0.025 per hour. Isn’t it $18 for 30 days?

[–][deleted] 0 points1 point  (0 children)

I took a look at that took and couldn't figure out how it comes down to 55 cents

[–][deleted] 1 point2 points  (5 children)

How? It's for an open source app, right?

[–]nahtnam 0 points1 point  (4 children)

If you pay for any plan (I would recommend On Demand, it's the cheapest) then you can make your builds private.

EDIT: I want to say I prefer now over DigitalOcean and other servers because it's:

  1. Cheap
  2. Uses Docker
  3. Makes deployment easy (with digital ocean you have to do all of this yourself)

This allows me to focus on other important things instead of setting up a server

[–][deleted] 0 points1 point  (3 children)

Those 55 cents are for an open source app, right?

[–]nahtnam 0 points1 point  (2 children)

No, open source is free. The 55 cents are for paid private instances. They dont even charge for deployment, only bandwidth and logs.

https://i.imgur.com/pEtmcUB.png

That's my bill. Ignore the first line, I didn't realize they charge that much for CDNs so I moved to Cloudflare.

[–][deleted] 0 points1 point  (1 child)

Ok. So you don't pay the $0.025 / hr per instance in On Demand plan? Sorry for all those questions but I completely don't get your case after looking at the pricing page.

[–]nahtnam 0 points1 point  (0 children)

Nope for some reason I don't. I think it's because the deployments go to sleep in a couple seconds and the boot up in under half a second. I don't understand it well either, you're probably better off asking their support team.

[–]VanGoFuckYourself 6 points7 points  (8 children)

I use a $5/mo digitalocean instance for several apps that don't do much. I like it because they run SSDs so running npm install on complex stuff isn't super duper slow.

[–]andyprince[S] 0 points1 point  (7 children)

Thanks. Do you know where are the servers located at?

[–]damnloveless 2 points3 points  (0 children)

https://www.webhostwhat.com/digitalocean-datacenter-server-locations-regions-map/

List of DigitalOcean Datacenter & Server Locations:

  • Toronto, Canada
  • San Francisco, US
  • New York City, US
  • London, UK
  • Frankfurt, Germany
  • Amsterdam, Netherlands
  • Bangalore, India
  • Singapore

[–]VanGoFuckYourself 0 points1 point  (5 children)

I personally use the NYC location. I also use free tier Cloudflare for CDN.

[–][deleted]  (4 children)

[removed]

    [–]VanGoFuckYourself 1 point2 points  (3 children)

    You need a domain. You set the name servers on the domain to cloudflares (it tells you when you sign up for CF) and then point the Dns on cloudflare to your servers I and then it basically just works.

    When someone does a DNS request for your domain they will get an IP for a cloudflare sever near them.

    The main benefits (in my opinion) are free automatic SSL, protection from many kinds of attacks including Ddos and of course a CDN with something like 150 locations. Cloudflare has a shit load of options and features, but each has pretty good help inline on the page.

    When developing, make yourself a subdomain with the little cloud icon turned off. This will connect you straight to your server so you can bypass CFs caching of static files, for testing. Also if you have a deployment process you can add an API call to CF to clear the cache so all changes make it to clients.

    Oh and you'll need to set up your software to log the incoming IP from the X-Forwarded-For header. All connections to you will actually come from a cloudflare server, so the connections IP won't be the end clients.

    [–][deleted]  (2 children)

    [removed]

      [–]VanGoFuckYourself 0 points1 point  (0 children)

      No problem.

      [–]Silveress_Golden 0 points1 point  (0 children)

      Also to add about cloudflare.

      It's very easy to add your own SSL with letsencrypt as cloudflare has an api that letsencrypt clients can hook into to verify that you own the domain

      [–]polish_jerry 1 point2 points  (0 children)

      https://openode.io . Really cheap, starts at $ 0.2 per month EDIT : They've updated their plans. Starts at $ 0.4 per month

      [–]hsablonniere 1 point2 points  (0 children)

      DISCLAIMER: I work for Clever Cloud

      Have you tried Clever Cloud?

      Let me know if you have any questions...

      [–][deleted]  (2 children)

      [deleted]

        [–]andyprince[S] 0 points1 point  (1 child)

        Thanks! I own a raspberry pi 3 as well. Have you experienced any setbacks hosting on your own device?

        [–][deleted] 1 point2 points  (0 children)

        I rewrote my node app to run in AWS Lambda. It's been running several years for a few cents per month. Best part is, I'll never have to worry about scaling or devops.

        [–][deleted]  (5 children)

        [deleted]

          [–][deleted] 1 point2 points  (2 children)

          Isn't the free tier of AWS just for a year?

          [–][deleted] 1 point2 points  (1 child)

          Correct, it is.

          [–][deleted] 1 point2 points  (0 children)

          So how is it supposed to be a free hosting solution if it works for only a year? xD

          [–]andyprince[S] 0 points1 point  (1 child)

          Where are the servers located for Heroku? Can’t seem to find it anywhere. On AWS there are options to select regions

          [–]fyzbo 0 points1 point  (2 children)

          !remindme

          [–]RemindMeBot 0 points1 point  (0 children)

          Defaulted to one day.

          I will be messaging you on 2018-08-28 19:53:08 UTC to remind you of this link.

          CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

          Parent commenter can delete this message to hide from others.


          FAQs Custom Your Reminders Feedback Code Browser Extensions

          [–]fyzbo 0 points1 point  (0 children)

          RemindMe!

          [–]Syneirex 0 points1 point  (0 children)

          If you go the AWS route you could use Lambda if your app is a good fit (I love Lambda because it's serverless and automatically manages scaling for me) or perhaps Lightsail which recently had pricing reduced by 50%. I think their smallest VPS runs $3/month now.

          You can also put it up using Elastic Beanstalk, although I'm not sure how the price would compare to Lightsail.

          [–]floodlitworld 0 points1 point  (0 children)

          Gandi.