-
Notifications
You must be signed in to change notification settings - Fork 0
Description
After #22, @debloper, you need to reach out to the cloud service providers and apply for credit. Rope me in the conversations. But you take charge. This may depend on #24 as you may be asked to answer related questions.
Cloud providers (in order of preference):
- Azure
- Google Cloud
- Digital Ocean.
Azure: Gives up to 10K USD in monthly credits for 12 months. Hence top of the list. They have got tier 1 networks with most points of presence globally. FWIW, we are most likely to get their credits because Microsoft is pushing hard for increasing APAC sales this FY.
GCP: Gives up to 1K USD in monthly credits. Has maximum flexibility of servers configurations. Plus, is backed by the most resilient network tier any cloud service offers today. (Edit: Plus, good dashboard)
DO: Gives up to 1K USD in monthly credits, but has an additional clause stating the company needs to be less than 2 years old. They are the cheapest shot, hence worth talking. Poor network IO compared to the 2 others, but still better than AWS (which is why AWS does not feature on my list). Let them know our bandwidth usage and get network guarantees. FTR, I don't want to go with DO for the network performance issues, but we can always have our app servers running on their infra.
We are eligible for all three as part of 10K Startups programme, still, these companies would be eager to put in free credits if they see any progress on our side.
The crucial part here is to explain each of them our use case and resource requirements so that neither parties are in for surprise when the usage mounts on when the bills are generated.
Cloud network traffic is shit expensive
Cloud services are shit costly when it comes to bandwidth. As part of your outreach, also negotiate bandwidth cost with the providers. This will already start to hurt us for multi-streaming and will become Peter-North-up-your-ass for interactive streaming.
Some numbers
Just for multi-streaming, having only 500 users stream for 90 hours a month, 3 providers each, at 3.5 MiB/sec per stream, would cost us 1622TB of egress bandwidth.
GCP and Azure charge anywhere in between $0.08 to $0.2 per GiB egress depending on region. Even if we avoid sending data to the expensive zones, we would have a median cost of $0.10 per GiB egress on these cloud platforms, which amounts to about $166,113 for bandwidth bills per month for this workload. We need high throughput environments and doing media services on cloud platforms would cost us dearly.
DO doesn't charge for bandwidth yet, but gossip says they will have a price point of $0.08 to $0.09 per GiB egress, which they may flatline to $0.05 per GiB at announcement. But getting this resource usage out of DO is very unpredictable and they cannot guarantee you high grade network I/O because they share it with many VMs.
Solution
The solution can be to put our media deployments on bare metal for production scenarios. Bare metal offerings provide you with dedicated network ports and CPUs and they have earthly prices for network traffic. Some of them even offer unmetered connections. Details in #25.
Edit: If we do get excellent bandwidth price from cloud providers like GCP or Azure, we wouldn't have much reason to go bare-metal through other data centres.