Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


CDN is expensive
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

CDN is expensive

I just calculated if I use AWS cloud front
2tb out
2tb in

200 dollars per month

«1

Comments

  • WebProjectWebProject Host Rep, Veteran

    Try BunnyCDN

  • dosaidosai Member

    12 threads in 2 weeks.

    Thanked by 1FatGrizzly
  • Try Cloudflare

  • FatGrizzlyFatGrizzly Member, Host Rep

    @dosai said:
    12 threads in 2 weeks.

    Correction. 13 threads

    Thanked by 1dosai
  • FatGrizzlyFatGrizzly Member, Host Rep

    I don't get the point in this thread, and one of your other recent thread.

    Are you trying to inform us that Cloudfront is expensive or trying to get alternatives?
    and with your other thread, it would cost way more than Amazon Cloudfront to setup an "in house CDN"

    Thanked by 2bulbasaur chrisp
  • @FatGrizzly said:
    I don't get the point in this thread, and one of your other recent thread.

    Are you trying to inform us that Cloudfront is expensive or trying to get alternatives?
    and with your other thread, it would cost way more than Amazon Cloudfront to setup an "in house CDN"

    AWS cloudfront first 1 tb free, then each 1 tb after is about $200/m. With $200/m, I can rent several powerful dedis in different locations and set up my own cdn.
    Just trying to save money here. Follow the LET's spirit. Hahaha.

    Thanked by 1claudio
  • By the way, if the website does video streaming, 1 tb can be easily used. 10 tb or even 100 tb is normal per month, if all the streaming videos go through cdn, this is more than 1000 dollars per month, prohibitively expensive.

    Thanked by 1WebProject
  • WickedWicked Member

    @letlover said:
    I just calculated if I use AWS cloud front
    2tb out
    2tb in

    200 dollars per month

    You must be a math genius

    Thanked by 2WebProject mrTom
  • Just find a lower-priced CDN, BunnyCDN has already been suggested in this thread, or if you don't want to use it for some reason there's also Stackpath or 5centscdn.

  • @dosai said:
    12 threads in 2 weeks.

    understandable as he is a letlover

    Thanked by 1dosai
  • @Wicked said:

    @letlover said:
    I just calculated if I use AWS cloud front
    2tb out
    2tb in

    200 dollars per month

    You must be a math genius

    aws has a calculator

    Thanked by 1ralf
  • @Otus9051 said:

    @dosai said:
    12 threads in 2 weeks.

    understandable as he is a letlover

    Is this a sin?

  • JasonMJasonM Member

    try Fastly? or Stackpath?

    Thanked by 1letlover
  • AXYZEAXYZE Member
    edited June 2022

    @letlover said:

    @FatGrizzly said:
    I don't get the point in this thread, and one of your other recent thread.

    Are you trying to inform us that Cloudfront is expensive or trying to get alternatives?
    and with your other thread, it would cost way more than Amazon Cloudfront to setup an "in house CDN"

    AWS cloudfront first 1 tb free, then each 1 tb after is about $200/m. With $200/m, I can rent several powerful dedis in different locations and set up my own cdn.
    Just trying to save money here. Follow the LET's spirit. Hahaha.

    But your CDN for $200 wont be as reliable as CloudFront is. With CloudFront your data is served everywhere, fast, always online, no packet loss, no fiber cut... Your serrvice will be down only if half of internet is down.

    This is why you pay for CDN.

    If you dont need it you can serve whole world with one server like people used to do it. Host in London/Amsterdam/NY/Ashburn, site will run good enough everywhere in the world.
    It will be a little bit slower in Latin America and Oceania, but people there are used to it (hard truth)

  • @AXYZE said:

    @letlover said:

    @FatGrizzly said:
    I don't get the point in this thread, and one of your other recent thread.

    Are you trying to inform us that Cloudfront is expensive or trying to get alternatives?
    and with your other thread, it would cost way more than Amazon Cloudfront to setup an "in house CDN"

    AWS cloudfront first 1 tb free, then each 1 tb after is about $200/m. With $200/m, I can rent several powerful dedis in different locations and set up my own cdn.
    Just trying to save money here. Follow the LET's spirit. Hahaha.

    But your CDN for $200 wont be as reliable as CloudFront is. With CloudFront your data is served everywhere, fast, always online, no packet loss, no fiber cut... Your serrvice will be down only if half of internet is down.

    This is why you pay for CDN.

    If you dont need it you can serve whole world with one server like people used to do it. Host in London/Amsterdam/NY/Ashburn, site will run good enough everywhere in the world.
    It will be a little bit slower in Latin America and Oceania, but people there are used to it (hard truth)

    i did not realize that cdn is for redundance too, just thought it reducing latency. i like cdn, just too expensive.

  • OhJohnOhJohn Member

    @AXYZE said: But your CDN for $200 wont be as reliable as CloudFront is. With CloudFront your data is served everywhere, fast, always online, no packet loss, no fiber cut... Your serrvice will be down only if half of internet is down.

    Hm, my own self-run CDN (which is more expansive than $200) is having a much better uptime than e.g. AWS or Cloudflare.
    I don't believe in centralization which is prone to SPOF by software/configuration (and most of the times BGP-related) as shown again and again by CF or AWS.

  • ArkasArkas Moderator

    @leftover Kindly try to post similar topics under one thread with multiple questions instead of creating multiple threads. It doesn't look good :smile:

    Thanked by 2FatGrizzly claudio
  • speedypagespeedypage Member, Patron Provider

    Bunny is great! :)

    Thanked by 1FatGrizzly
  • @OhJohn said:

    Hm, my own self-run CDN (which is more expansive than $200) is having a much better uptime than e.g. AWS or Cloudflare.

    Curious, how are you running your CDN?

  • OhJohnOhJohn Member
    edited June 2022

    @LiliLabs said: Curious, how are you running your CDN?

    LBs with ACLs and ssl termination and reverse proxies/caches in different regions of the world with different providers (and looking for different transit/networks as well) on geodns (so no, I'm not using anycast <- too expansive in traffic) with minutely health checks and dns failover (and dns round robin thrown in as well). Internal lines with secondly health checks and automatic failovers with diverse backends on different providers. No central automatization, Cassandra is used as an DB for e.g. ACLs. Automatic maintenance of a node with prior automatic removal of a node from the mesh.

    So the (regional) downtime is mainly happening with an edge node hw failure/fiber cut etc. resulting in max 60 seconds regional downtime with good dns resolvers but even less felt for consumers as round-robin is in there as well and (at least) browsers will retry a different node in that max 60sec timeframe if they can't reach that failed ip.

    Overall e.g. Hetrixtools is showing me an uptime of 100%, >99.9998% and >99.998% of my CDN globally for the last two years (the CDN is used for three different services) and the 99.998% was a result of stupidly blocking the hetrix bot on that service for some minutes. So in reality I have two services with 100% uptime for two years and one with 2 minutes of downtime in two years.

  • FatGrizzlyFatGrizzly Member, Host Rep

    @OhJohn said:

    @LiliLabs said: Curious, how are you running your CDN?

    LBs with ACLs and ssl termination and reverse proxies/caches in different regions of the world with different providers (and looking for different transit/networks as well) on geodns (so no, I'm not using anycast <- too expansive in traffic) with minutely health checks and dns failover (and dns round robin thrown in as well). Internal lines with secondly health checks and automatic failovers with diverse backends on different providers. No central automatization. Automatic maintenance of a node with prior automatic removal of a node from the mesh.

    So the (regional) downtime is mainly happening with a node hw failure/fiber cut etc. resulting in max 60 seconds regional downtime with good dns resolvers but even less felt for consumers as round-robin is in there as well and (at least) browsers will retry a different node in that max 60sec timeframe if they can't reach that failed ip.

    Overall e.g. Hetrixtools is showing me an uptime of 100%, >99.9998% and >99.998% of my CDN globally for the last two years (the CDN is used for three different services) and the 99.998% was a result of stupidly blocking the hetrix bot on that service for some minutes. So in reality I have two services with 100% uptime for two years and one with 2 minutes of downtime in two years.

    Could you tell us everyone on how much costs for a year with your setup?

  • OhJohnOhJohn Member

    @FatGrizzly : that would depend highly on the number of nodes/regions/locality you want to use and the numbers in traffic/compute power etc. your CDN would need. And also what kind of latency degradation you would accept (e.g. can you failover from Asia to the US, can you failover from US East to US West or do you have to failover from US East to US East?, etc.). Can you use VPS or do you need bare metal machines?, etc. And then: Are you available 24/7 to intervene?
    E.g. my CDN is not a hyperscaler (while AWS or Cloudflare pretty much is), so new nodes would be added manually (which takes like one or two hours when I hit a provider w/ instant delivery).

    I mainly did this because a) CDN providers tested produced too many errors for me and b) I like to have the control in-house and sometimes for special requirements (gdpr or government customers) that may only use a subset of the CDN nodes to meet requirements. Overall I would expect Bunny or Cloudflare to be cheaper than my setup but if you start small or mix up your CDN with a CDN provider (like doing it yourself in e.g. Europe but using e.g. Bunny in South America) you may save.

  • I am running my own CDN for 1 year and more. It is costing me upwards of 200USD+ but I have many pops.

    Thanked by 1Logano
  • @imgmoney said: I am running my own CDN for 1 year and more. It is costing me upwards of 200USD+ but I have many pops.

    Now to be fair your service is down most of the time. Look at all the complaint threads from various LET users.

  • chrispchrisp Member

    @FatGrizzly said:
    I don't get the point in this thread, and one of your other recent thread.

    Are you trying to inform us that Cloudfront is expensive or trying to get alternatives?
    and with your other thread, it would cost way more than Amazon Cloudfront to setup an "in house CDN"

    This. Totally unclear what the expectation is. @letlover, why don't you comment on BunnyCDN or give us some insights how you would build your own CDN for cheaper?

  • @OhJohn said:

    @LiliLabs said: Curious, how are you running your CDN?

    LBs with ACLs and ssl termination and reverse proxies/caches in different regions of the world with different providers (and looking for different transit/networks as well) on geodns (so no, I'm not using anycast <- too expansive in traffic) with minutely health checks and dns failover (and dns round robin thrown in as well). Internal lines with secondly health checks and automatic failovers with diverse backends on different providers. No central automatization, Cassandra is used as an DB for e.g. ACLs. Automatic maintenance of a node with prior automatic removal of a node from the mesh.

    How do you drain existing connections on a node (like, do you do this at all)?

  • JordJord Moderator, Host Rep

    Bunny is prem

    Thanked by 1FatGrizzly
  • OhJohnOhJohn Member
    edited June 2022

    @stevewatson301 said: How do you drain existing connections on a node (like, do you do this at all)?

    On the LBs (that is: edge nodes)? Only through dns failover. If I have to restart a server for e.g. kernel updates or other work, it first gets removed from dns in advance and checks if it is still used: if the traffic drains to zero, the maintenance work starts and the server brought back into the mesh after the maintenance finishes. So a consumer with an existing connection would have sth. like 5 minutes of still accessing the server (as browsers cache dns longer) while it is removed already via dns (and new consumers would already use the different failover ip), then a dns-refetch would bring up a new ip. And via dns round-robin this is not really felt as the browser would try another round-robin ip if the one first fetched isn't reachable anymore.

  • imgmoneyimgmoney Member
    edited June 2022

    @stevewatson301 said: Now to be fair your service is down most of the time. Look at all the complaint threads from various LET users.

    It got down only on a few locations and I have fixed all of them. So it won't be down anymore. You can verify now :)

  • @OhJohn said: On the LBs (that is: edge nodes)? Only through dns failover. If I have to restart a server for e.g. kernel updates or other work, it first gets removed from dns in advance and checks if it is still used

    Thanks for confirming, useful info for some projects I had. Seems like draining connections isn't the challenge I imagined it to be!

Sign In or Register to comment.