-
Notifications
You must be signed in to change notification settings - Fork 10k
[Fundamentals] Traffic flow through Cloudflare #21907
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 3 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
8e59db4
Added partials for traffic flow content
dcpena 4864f02
Added new pages for traffic flow
dcpena 3e7de70
Removed unnecessary partial file
dcpena ac21b26
Apply suggestions from code review
dcpena c23df96
Replaced edge with global network
dcpena File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
src/content/docs/fundamentals/concepts/traffic-flow-cloudflare.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| --- | ||
| pcx_content_type: concept | ||
| title: Traffic flow through Cloudflare | ||
| sidebar: | ||
| order: 3 | ||
| --- | ||
|
|
||
| import { Render } from "~/components"; | ||
|
|
||
| <Render file="traffic-flow-cf" /> |
10 changes: 10 additions & 0 deletions
10
src/content/docs/learning-paths/get-started/concepts/traffic-flow-cloudflare.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| --- | ||
| pcx_content_type: concept | ||
| title: Traffic flow through Cloudflare | ||
| sidebar: | ||
| order: 3 | ||
| --- | ||
|
|
||
| import { Render } from "~/components"; | ||
|
|
||
| <Render file="traffic-flow-cf" product="fundamentals" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| --- | ||
| {} | ||
|
|
||
| --- | ||
|
|
||
| Internet traffic is made up of people, services, and agents requesting online resources from wherever they are hosted. Your resources may be publicly available, like a website or application that anyone on the Internet can access. Or your resources may be privately available, like an internal app or network that only your employees and partners should be able to access. | ||
|
|
||
| Both public and private resources can be connected to the Cloudflare network to ensure only good actors can access what they are supposed to be able to access with high performance. | ||
|
|
||
| For example, you may not always want the direct traffic because it can come from malicious sources, like hackers, or in the form of [DDoS attacks](https://www.cloudflare.com/learning/ddos/ddos-attack-tools/how-to-ddos/). Additionally, depending on the location where the request originated, you want to ensure the traffic is [routed through the most efficient and fastest path](/argo-smart-routing/). | ||
|
|
||
| ## Cloudflare's network | ||
|
|
||
| [Cloudflare's global network](https://www.cloudflare.com/network/), coupled with [Anycast](https://www.cloudflare.com/learning/dns/what-is-anycast-dns/) IP addressing, ensures that requests are handled by a Cloudflare server that is as close to the source as possible. | ||
|
|
||
| If you want to protect your traffic and ensure it travels efficiently, you need to configure Cloudflare to be in front of whatever you are trying to protect, such as your application, service, or server. How you put your resources behind Cloudflare's network will depend on the type of traffic and how you want to control it. | ||
|
|
||
| ## On-ramp and off-ramp traffic | ||
|
|
||
| Traffic that enters Cloudflare's network is referred to as "on-ramping," and traffic that exits Cloudflare's network is referred to as "off-ramping." You may also know this as ingress and egress or "routing your traffic" through a network. | ||
|
|
||
| ### On-ramp traffic to Cloudflare | ||
|
|
||
| When you on-ramp traffic to Cloudflare, this ensures Cloudflare's can act on, secure, and increase performance of that traffic. | ||
|
|
||
| One example of on-ramping traffic to Cloudflare is updating your public website to use Cloudflare as the primary authoritative [DNS provider](/fundamentals/concepts/how-cloudflare-works/#cloudflare-as-a-dns-provider) for your domain. | ||
|
|
||
| However, maybe you need to protect a private application that is not directly available on the Internet. In this scenario, you can: | ||
|
|
||
| * Connect your private application to Cloudflare using a [device agent](/cloudflare-one/connections/connect-devices/warp/) which will also create [secure tunnels](/cloudflare-one/connections/connect-networks/) from the device to Cloudflare. | ||
dcpena marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| * For users already connected to a private company network, connect the entire network to Cloudflare using secure tunnels, and any request from a user device will access the private application through those tunnels. | ||
|
|
||
| With these options, any request from a user device can access internal private applications via the secure private tunnels. | ||
|
|
||
| Refer to the list below for products you can use to on-ramp traffic to Cloudflare. | ||
|
|
||
| * [Anycast routing](https://www.cloudflare.com/learning/cdn/glossary/anycast-network/) uses Anycast IP addressing to route traffic to the nearest Cloudflare data center. Selective routing allows an Anycast network to be resilient in the face of high traffic volume, network congestion, and[ DDoS attacks](https://www.cloudflare.com/learning/ddos/what-is-a-ddos-attack/). | ||
| * [DNS-based](/fundamentals/concepts/how-cloudflare-works/#cloudflare-as-a-dns-provider) traffic resolves domains onboarded to [Cloudflare's CDN](/fundamentals/concepts/how-cloudflare-works/). Cloudflare's DNS directs traffic to Cloudflare's global network of servers instead of a website's origin server. | ||
| * [Cloudflare Tunnels](/cloudflare-one/connections/connect-networks/) connects your resources to Cloudflare without a publicly routable IP address so that your origins can serve traffic through Cloudflare without being vulnerable to attacks that bypass Cloudflare. | ||
dcpena marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| * [Magic Transit](/magic-transit/about/) offers DDoS protection, traffic acceleration, and more for on-premise, cloud-hosted, and hybrid networks by accepting IP packets destined for your network, processing them, and outputting the packets to your origin infrastructure. | ||
| * The Cloudflare[ WARP Client](/cloudflare-one/connections/connect-devices/warp/) securely and privately sends traffic from corporate devices to Cloudflare's global network while also applying advanced Zero Trust policies that check for a device's health before it connects to corporate applications. | ||
dcpena marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ### Off-ramp traffic from Cloudflare | ||
|
|
||
| If you need to ensure traffic leaves Cloudflare's network in a specific way, you can manage how traffic is off-ramped. | ||
|
|
||
| For example, if you need to adhere to [regional laws](/cloudflare-one/connections/connect-networks/) that dictate user traffic and require data never leaves your country, you can configure off-ramp and on-ramp traffic on servers in the same geographical area. | ||
dcpena marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| Or maybe you want to force traffic to off-ramp in a certain country to maintain your user's experience. For example, if you have employees in India who travel frequently, you can configure the off-ramp traffic to always appear to come from India so websites they visit maintain their language and preferences. | ||
|
|
||
| You can also utilize [caching](/cache/) to help with performance. Instead of off-ramp traffic going to a server across the globe, Cloudflare can cache that content locally for the user to reduce the overall time for their request. | ||
|
|
||
| Refer to the list below for products you can use to off-ramp traffic from Cloudflare. | ||
|
|
||
| * [Argo Smart Routing](/argo-smart-routing/) detects real-time network issues and routes your web traffic across the most efficient network path, avoiding congestion. | ||
| * [Cache](/cache/) works with cached content to avoid off-ramping to origin servers and instead serving directly from Cloudflare's edge. | ||
dcpena marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| * [Regional services](/data-localization/regional-services/) lets you choose which subset of data centers decrypt and service HTTPS traffic, which can help customers who have to meet regional compliance or have preferences for maintaining regional control over their data. | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.