#amazoncloudfront
Explore tagged Tumblr posts
govindhtech · 6 months ago
Text
CloudFront Now Supports gRPC Calls For Your Applications
Tumblr media
Your applications’ gRPC calls are now accepted by Amazon CloudFront.
You may now set up global content delivery network (CDN), Amazon CloudFront, in front of your gRPC API endpoints.
An Overview of gRPC
You may construct distributed apps and services more easily with gRPC since a client program can call a method on a server application on a separate machine as if it were a local object. The foundation of gRPC, like that of many RPC systems, is the concept of establishing a service, including the methods that may be called remotely along with their parameters and return types. This interface is implemented by the server, which also uses a gRPC server to manage client requests. The same methods as the server are provided by the client’s stub, which is sometimes referred to as just a client.
Any of the supported languages can be used to write gRPC clients and servers, which can operate and communicate with one another in a range of settings, including your desktop computer and servers within Google. For instance, a gRPC server in Java with clients in Go, Python, or Ruby can be readily created. Furthermore, the most recent Google APIs will include gRPC interfaces, making it simple to incorporate Google functionality into your apps.
Using Protocol Buffers
Although it can be used with other data formats like JSON, gRPC by default serializes structured data using Protocol Buffers, Google’s well-established open source method.
Establishing the structure for the data you wish to serialize in a proto file a regular text file with a.proto extension is the first step in dealing with protocol buffers. Protocol buffer data is organized as messages, each of which is a brief logical record of data made up of a number of fields, or name-value pairs.
After defining your data structures, you can use the protocol buffer compiler protoc to create data access classes from your proto specification in the language or languages of your choice. These offer methods to serialize and parse the entire structure to and from raw bytes, along with basic accessors for each field, such as name() and set_name(). For example, executing the compiler on the aforementioned example will produce a class named Person if you have selected C++ as your language. This class can then be used to serialize, retrieve, and populate Person protocol buffer messages in your application.
You specify RPC method parameters and return types as protocol buffer messages when defining gRPC services in standard proto files:
Protoc is used by gRPC with a specific gRPC plugin to generate code from your proto file. This includes the standard protocol buffer code for populating, serializing, and retrieving your message types, as well as generated gRPC client and server code.
Versions of protocol buffers
Although open source users have had access to protocol buffers for a while, the majority of the examples on this website use protocol buffers version 3 (proto3), which supports more languages, has a little simplified syntax, and several helpful new capabilities. In addition to a Go language generator from the golang/protobuf official package, Proto3 is presently available in Java, C++, Dart, Python, Objective-C, C#, a lite-runtime (Android Java), Ruby, and JavaScript from the protocol buffers GitHub repository. Additional languages are being developed.
Although proto2 (the current default protocol buffers version) can be used, it advises using proto3 with gRPC instead because it allows you to use all of the languages that gRPC supports and prevents incompatibilities between proto2 clients and proto3 servers.
What is gRPC?
A contemporary, open-source, high-performance Remote Procedure Call (RPC) framework that works in any setting is called gRPC. By supporting pluggable load balancing, tracing, health checking, and authentication, it may effectively connect services both within and between data centers. It can also be used to link devices, browsers, and mobile apps to backend services in the last mile of distributed computing.
A basic definition of a service
Describe your service using Protocol Buffers, a robust language and toolkit for binary serialization.
Launch swiftly and grow
Use the framework to grow to millions of RPCs per second and install the runtime and development environments with only one line.
Works on a variety of platforms and languages
For your service, automatically create idiomatic client and server stubs in several languages and platforms.
Both-way streaming and integrated authentication
Fully integrated pluggable authentication and bi-directional streaming with HTTP/2-based transport
For creating APIs, gRPC is a cutting-edge, effective, and language-neutral framework. Platform-independent service and message type design is made possible by its interface defining language (IDL), Protocol Buffers (protobuf). With gRPC, remote procedure calls (RPCs) over HTTP/2 are lightweight and highly performant, facilitating communication between services. Microservices designs benefit greatly from this since it facilitates effective and low-latency communication between services.
Features like flow control, bidirectional streaming, and automatic code generation for multiple programming languages are all provided by gRPC. When you need real-time data streaming, effective communication, and great performance, this is a good fit. gRPC may be an excellent option if your application must manage a lot of data or the client and server must communicate with low latency. However, compared to REST, it could be harder to master. Developers must specify their data structures and service methods in.proto files since gRPC uses the protobuf serialization standard.
When you put CloudFront in front of your gRPC API endpoints, we see two advantages.
Initially, it permits the decrease of latency between your API implementation and the client application. A global network of more than 600 edge locations is provided by CloudFront, with intelligent routing to the nearest edge. TLS termination and optional caching for your static content are offered by edge locations. Client application requests are sent to your gRPC origin by CloudFront via the fully managed, high-bandwidth, low-latency private AWS network.
Second, your apps gain from extra security services that are set up on edge locations, like traffic encryption, AWS Web Application Firewall’s HTTP header validation, and AWS Shield Standard defense against distributed denial of service (DDoS) assaults.
Cost and Accessibility
All of the more than 600 CloudFront edge locations offer gRPC origins at no extra cost. There are the standard requests and data transfer costs.
Read more on govindhtech.com
0 notes
muellermh · 2 years ago
Text
15. Was sind die Top-AWS-Services für Unternehmen?: Hallo Manuel! Der Titel des Blog-Beitrags lautet: "Die Top-AWS-Services für Unternehmen: Wie MHM Digitale Lösungen UG Ihnen bei der Auswahl hilft".
#AWS #CloudServices #AmazonEC2 #AmazonS3 #AmazonRDS #AmazonVPC #AmazonCloudFront #AWSLambda #AmazonECS #AmazonElasticBeanstalk #AWSGlue #AmazonKinesis - Welche AWS-Services helfen Unternehmen, ihre digitale Transformation voranzutreiben? Lerne mehr darüber im MHM Digitale Lösungen UG Blog-Beitrag!
Amazon Web Services (AWS) bietet Unternehmen eine breite Palette an Cloud-Computing-Services, um ihnen dabei zu helfen, digitale Lösungen zu erstellen und zu implementieren. Unternehmen können aus einer Vielzahl an Services wählen: von Computing über Datenbanken und Netzwerkinfrastruktur bis hin zu Entwicklungs-Tools. Während es schwierig ist, die richtige Auswahl zu treffen, kann die MHM…
View On WordPress
0 notes
fortunatelycoldengineer · 2 years ago
Text
Tumblr media
Amazon CloudFront . . . visit: http://bit.ly/3kQjhqT for more information
0 notes
nettyfytechnology · 2 years ago
Link
Amazon CloudFront is a fast content delivery network (CDN) service that securely delivers data, videos, applications, and APIs to customers globally with low latency, high transfer speeds, all within a developer-friendly environment. It’s a tool made available by Amazon to help make traffic more resilient to problems and better handle variable loads without slowing down users’ experiences.
0 notes
bishnumahali · 6 years ago
Photo
Tumblr media
Here comes the list of top 3 fastest CDNs. 1. Airee 2. Amazon Cloudfront 3. Azure CDN *The list is based on a research done by Backlinko. -------------------------------------------------- Follow me on Facebook, Twitter & Instagram @itsBishnuMahali for more such content! -------------------------------------------------- #cdn #websitespeed #sitespeed #fastestcdn #wordpress #websites #webdeveloper #blogger #bloggingtips #webdevelopment #amazoncloudfront #airee #azure #azurecdn https://www.instagram.com/p/B3ox4uOgDLC/?igshid=m0oyyv70exgg
0 notes
markiis · 6 years ago
Photo
Tumblr media
The rise in the demand for Amazon Elastic Compute Cloud! #amazoncloud #amazoncloudcam #amazonclouddrive #amazoncloudcomputing #amazoncloudforest #amazoncloudplayer #amazoncloudfront #amazoncloudpractitioner #amazoncloudservices #amazonclouds #amazoncloudcamera #amazoncloudreader #amazonclouddrivephotos #amazoncloudmold #amazoncloudwatch #amazoncloudday #amazoncloudservicescertifications #amazoncloudfont #amazoncloudplaylist #amazoncloudninja #amazoncloudoutage #amazoncloudserver #amazoncloudphotos #amazoncloudplayet #amazoncloudzearch #amazoncloudstorage #amazoncloudtraininginnoida #amazoncloudservice https://www.instagram.com/p/BsXY4VeHZM0/?utm_source=ig_tumblr_share&igshid=8ffuu3s97oxs
0 notes
msitter29 · 3 years ago
Text
0 notes
typista · 5 years ago
Photo
Tumblr media
AmazonCloudFrontのInvaridation機能で20万円ぶっ飛ばした話 via Pocket https://ift.tt/33DEObx
0 notes
awsexchage · 5 years ago
Photo
Tumblr media
CloudFrontで作るリバースプロキシ https://ift.tt/3bqYxfO
1. 概要
2. CloudFrontを使ったリバースプロキシ構築
3. CloudFrontリバースプロキシの動作確認
4. 参考資料
概要
今回はCloudFrontを応用したリバースプロキシの構築方法を紹介します。CloudFrontに複数のオリジンを設定し、パスパターンに応じてリクエストをオリジンに転送する方法となります。
リバースプロキシとは、クライアントとサーバーを仲介するプロキシサーバーであり、負荷分散や異なるWebサイトを1つに統合する用途で使用します。リバースプロキシの説明は、@IT の記事をご覧ください。
CloudFrontを使ったリバースプロキシ構築
先ずCloudFront のコンソールを開きます。
下記の記事を参考に、CloudFrontにディストリビューションを作成し、ディストリビューションに代替ドメイン名(CNAME)を設定します。
概要はじめに今回は、CloudFront のディストリビューションに代替ドメイン名(CNAME)を設定する方法をまとめます。代替ドメイン名の設定によって、ディストリビューションにデフォルトで割り当てられたドメイン名ではなく独自のドメイン名 (例: www.example.com) が... やさしいCloudFront の代替ドメイン名設定 | Oji-Cloud - Oji-Cloud
CloudFront のディストリビューション選択し、[Origins and Origin Groups]タブを開きます。既に設定済みのオリジンが表示されていることを確認し、2つ目のオリジンを設定するため、[Create Origin]を押します。
Tumblr media
1つ目に設定したオリジンと同じように、2つ目のオリジンを設定します。オリジン設定の詳細は、こちらの記事を参照ください。
Tumblr media
以下の通り、2つ目のオリジンが追加され、一覧に2つのELB が表示されています。
Tumblr media
次に、Behaviorsタブを開きます。初期は、Default (*)のPath Pattern(パスパターン)が設定されていますので、今回は下記のパスパターンを追加する設定を行います。
Path Pattern: test1/* → Origin: ELB-niikawa-test-nlb1-xxxxxxxxxxxxxxxx.elb.ap-northeast-1.amazonaws.com
Path Pattern: test2/* → Origin: ELB-niikawa-test-nlb2-yyyyyyyyyyyyyyyy.elb.ap-northeast-1.amazonaws.com
[Create Behavior]を押して、Path Patternを入力し、Origin or Origin Groupを選択します。
Tumblr media
以下のパスパターンが設定されました。必要に応じて、Precedence(優先順位)を指定します。
Tumblr media
CloudFrontリバースプロキシの動作確認
クライアントより、CloudFront のドメイン名にパスを指定してリクエストを投げます。
なお、オリジン側Webサーバーのパス構成は、CloudFront のBehaviorsに設定したPath Patternと一致させる必要があります。例えば、WebサーバーのDocumentRootが “/var/www/html” であれば、Webサーバーのコンテンツは”/var/www/html/test1″、”/var/www/html/test2″ に配置されています。
以下の通り、curlコマンドでリクエストを投げた結果、各パスパターンに応じたレスポンスが返りました。
niikawa@niikawa1:~$ curl https://niikawa-test.example.com/test1/ backend web1 niikawa@niikawa1:~$ curl https://niikawa-test.example.com/test2/ backend web2
参考資料
概要はじめに今回は、CloudFront のディストリビューションに代替ドメイン名(CNAME)を設定する方法をまとめます。代替ドメイン名の設定によって、ディストリビューションにデフォルトで割り当てられたドメイン名ではなく独自のドメイン名 (例: www.example.com) が... やさしいCloudFront の代替ドメイン名設定 | Oji-Cloud - Oji-Cloud
新しいディストリビューションの作成や、既存のディストリビューションの更新を行う場合、以下の値を指定します。CloudFront コンソールを使用してディストリビューションを作成または更新する方法については、「 」または「 」を参照してください。 https://docs.aws.amazon.com/ja_jp/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesPathPattern - docs.aws.amazon.com
元記事はこちら
「CloudFrontで作るリバースプロキシ」
April 22, 2020 at 12:00PM
0 notes
iwillreadthesesomeday · 5 years ago
Link
via Instapaper: Unread
0 notes
govindhtech · 6 months ago
Text
Amazon CloudFront VPC Origins: Improved CloudFront Security
Tumblr media
Introducing the Amazon CloudFront VPC Origin: Improved protection and more efficient use of your apps
I’m happy to inform you that the Amazon CloudFront Virtual Private Cloud (VPC) origins has launched, a new feature that allows businesses to serve content from apps housed in private subnets inside their Amazon VPC. This makes it simple to protect web apps, so you can concentrate on expanding your company while enhancing security and preserving great speed and worldwide scalability with CloudFront.
Origin Access Control is a managed service that allows customers to safeguard their origins and make CloudFront the only front-door to your application when serving content via Amazon Simple Storage service (Amazon S3), AWS Elemental Services, and AWS Lambda Function URLs. For apps that employ load balancers or are hosted on Amazon Elastic Compute Cloud (Amazon EC2), this was more challenging to accomplish because you had to come up with your own method to get the same outcome. To guarantee that the endpoint remained exclusive to CloudFront, you would need to employ a variety of strategies, including monitoring firewall rules, employing logic like header validation, and using access control lists (ACLs).
By providing a managed solution that can be used to send CloudFront distributions to Application Load Balancers (ALBs), Network Load Balancers (NLBs), or EC2 instances inside your private subnets, CloudFront VPC origins eliminates the requirement for this type of undifferentiated effort. Because it also removes the need for public IP addresses, this guarantees that CloudFront will be the only point of entry for those resources with the least amount of configuration work, giving you better performance and the chance to save money.
Setting up CloudFront VPC Origin
The fact that CloudFront VPC origins is free of charge means that any AWS client can use it. Using the AWS Command Line Interface (AWS CLI) or the Amazon CloudFront console, it may be linked with both new and pre-existing CloudFront distributions.
Consider that you have a private AWS Fargate application for Amazon ECS that is fronted by an ALB. Using the ALB directly within the private subnet, let’s build a CloudFront distribution.
To begin, open the CloudFront dashboard and choose the newly added VPC origins menu item.Image credit to AWS
It’s easy to create a new VPC origin. There aren’t many options for you to choose from. You can either input the Origin ARN directly or search for resources hosted in private subnets. You pick the resources you want, give your VPC origin a catchy name, set up some security settings, and then confirm. Although support for resources across all accounts is on the horizon, please take note that the VPC origin resource must be in the same AWS Account as the CloudFront distribution at launch.
Your VPC origin will be deployed and operational after the creation procedure is finished! On the VPC origins page, you can see its current state.
By doing this, it has developed a CloudFront distribution that, with just a few clicks, can serve content straight from a resource hosted on a private subnet! Once your VPC origin has been built, you can go to your Distribution window and copy and paste the ARN or choose it from the dropdown menu to add the VPC origin to your Distribution.
To achieve full-spectrum protection, keep in mind that you should still layer your application’s security using services like AWS Web Application Firewall (WAF) to guard against web vulnerabilities, AWS Shield for managed DDoS protection, and others.
In conclusion
By allowing CloudFront distributions to serve content directly from resources hosted within private subnets, CloudFront VPC Origins provides a new means for enterprises to create high-performance, secure applications. This keeps your application safe while lowering the difficulty and expense of maintaining sources that are visible to the public.
Read more on govindhtech.com
0 notes
muellermh · 2 years ago
Text
12. Warum ist Amazon CloudFront eine gute Wahl für Cloud Computing?: "Erfahren Sie, warum Amazon CloudFront die beste Wahl für Ihr Cloud Computing ist - MHM Digitale Lösungen UG"
#CloudComputing #AmazonCloudFront #Performance #Skalierbarkeit #Zuverlässigkeit #Sicherheit #Flexibilität #Kosteneffizienz #Innovationskraft #Support #MHMDigitaleLösungenUG
Cloud Computing ist ein wesentlicher Bestandteil der heutigen digitalen Welt. Jedes Unternehmen, das an der Technologie-Revolution teilnehmen möchte, muss erkennen, dass es zwingend erforderlich ist, die richtige Cloud-Technologie für seinen Einsatzzweck zu verwenden. Amazon CloudFront ist eine großartige Option, wenn Sie nach einer robusten und benutzerfreundlichen Cloud-Lösung suchen. Amazon…
View On WordPress
0 notes
macronimous · 6 years ago
Text
How to upload and serve data using #AmazonCloudFront and Amazon S3 in #Nodejs https://t.co/unTRjjzVUE #AWS https://t.co/loqdEtdeTh
How to upload and serve data using #AmazonCloudFront and Amazon S3 in #Nodejs https://t.co/unTRjjzVUE #AWS pic.twitter.com/loqdEtdeTh
— Macronimous.com (@macronimous) September 5, 2019
from Twitter https://twitter.com/macronimous September 05, 2019 at 07:17AM via IFTTT
0 notes
mbarczyk · 6 years ago
Link
0 notes
mediba-ce · 8 years ago
Text
【小ネタ】Lambda@Edgeのログはどこに…?
こんにちは、AWS Lambda と戯れる日々を過ごしているインフラストラクチャー部の沼沢です。
みなさん、AWS Lambda 使っていますか? Lambda では CloudWatch Logs に /aws/lambda/関数名 というロググループ名でログを出力することができますね。
Lambda@Edge でも同じようにログを出力しようと思ったのですが、ロググループが見つからず困ったので同じように困ってる人の助けになれば幸いです。
結論
以下の公式ドキュメントを見るとちゃんと書いてあります。 Lambda 関数の CloudWatch メトリクスと CloudWatch Logs - Amazon CloudFront 以下引用です。
Lambda は、関数が実行される場所に最も近い CloudWatch Logs リージョンで CloudWatch Logs ログストリームを作成します。各ログストリームの名前の形式は、/aws/lambda/us-east-1.function-name です。
つまり、日本で CloudFront にアクセスして Lambda@Edge を動作させた場合は東京リージョン近辺のエッジロケーションにアクセスされるので、東京リージョンの CloudWatch Logs に出力されます。
Lambda@Edge では関数自体はバージニアリージョンに作成する必要があるため、てっきりログもバージニアリージョンの CloudWatch Logs に出力されるもとの思い込んでいました。 そのため、最初は Lambda@Edge ではログが出せないのかと思ってしまいましたが、無事に発見することができました。
困ってからドキュメントを見るという癖が付いているため、少しハマったというお話でした。 公式ドキュメントはちゃんと見ましょう。(自戒)
0 notes
hocmarketingonline279-blog · 10 years ago
Text
[Quảng cáo trực tuyến hiệu quả] Top CDN t
Trong bài này, xTraffic.pep.vn sẽ tổng hợp và giới thiệu đến với các bạn Top những dịch vụ CDN ( Content Delivery Network ) miễn phí và trả phí tốt nhất tại Việt Nam và nước ngoài. CDN là gì? CDN là cụm từ được viết tắt từ tiếng Anh "Content Delivery Network" (hoặc "Content Distribution Network"). Đây là một mạng lưới phân phối nội dung giúp việc truyền tải dữ liệu giữa Server (Hosting, VPS) và người dùng (User) được tối ưu và nhanh hơn. CDN hoạt động như thế nào? Cách CDN hoạt động Cách CDN hoạt động Theo cách truyền thống thì người dùng khi truy cập đến website của bạn thì sẽ truy vấn trực tiếp đến Server chứa website của bạn. Vấn đề này sẽ không có gì là bất cập nếu người dùng và Server của bạn cùng 1 quốc gia (Việt Nam). Tuy nhiên, nếu website của bạn phục vụ tại thị trường Quốc tế và người dùng đến từ khắp nơi trên thế giới thì sẽ có bất cập xảy ra. Nếu server của bạn đặt tại Việt Nam nhưng người dùng của bạn lại đến từ Châu Âu (như nước Đức chẳng hạn) thì quá trình truy vấn sẽ xảy ra lâu do hạ tầng mạng từ Đức đến Việt Nam chưa tốt lắm, ngoài ra khoảng cách địa lý cũng là một nguyên nhân quan trọng khiến việc truyền tải dữ liệu bị chậm. CDN ra đời để giải quyết vấn đề này. Lấy ví dụ người dùng của bạn đến từ Đức nhưng server của bạn lại đặt tại Việt Nam, thì khi người dùng truy cập vào website của bạn thì thay vì lấy dữ liệu trực tiếp từ website của bạn thì người dùng lại lấy dữ liệu từ server (trong mạng lưới datacenter của nhà cung cấp dịch vụ CDN) có vị tri gần nhất so với vị trí của người dùng (có thể server của CDN đặt ngay tại Đức hoặc một quốc gia gần Đức như Bỉ hoặc Anh hoặc Hà Lan,...). Nếu server của CDN chưa có dữ liệu của website bạn thì nó sẽ truy vấn đến server của bạn (đặt tại Việt Nam) để lấy dữ liệu và lưu lại cho những lần truy vấn sau. Nhờ vào hạ tầng mạng tốt hơn của CDN (so với người dùng) và khoảng cách địa lý gần (giữa người dùng và server của CDN) nên việc truy vấn và truyền tải dữ liệu diễn ra nhanh hơn rất nhiều nếu website của bạn không sử dụng CDN. Danh sách những dịch vụ CDN tốt nhất tại Việt Nam và nước ngoài CloudFlare ( Free - https://www.cloudflare.com/ ) CloudFlare Logo CloudFlare Logo CloudFlare hiện là nhà cung cấp dịch vụ CDN miễn phí được nhiều người sử dụng nhất trên thế giới. CloudFlare cung cấp cho bạn những tính năng sau : CloudFlare có hơn 30 trung tâm dữ liệu (data centers) ở nhiều quốc gia trên thế giới, bao gồm : Khu vực Bắc Mỹ (North America); Khu vực Châu Á (Asia); Khu vực Nam Mỹ (South America),... CloudFlare cải thiện mức độ bảo mật (security) cho website của bạn. Bạn có thể tuỳ chọn các mức độ bảo mật để CloudFlare bảo vệ bạn trước những cuộc tấn công của Hacker. Tuy nhiên, nếu bạn thiết lập mức quá cao có thể gây phiền phức cho người dùng vì CloudFlare sẽ bắt người dùng nhập mã Captcha để có thể truy cập vào website của bạn. CloudFlare analytics : cung cấp tính năng thống kê giúp bạn biết được những truy vấn đến website của bạn là người dùng hay bot, các vị trí địa lý của người dùng.... CloudFlare optimizer : giúp bạn tối ưu website làm website nạp nhanh hơn. Ưu điểm của CloudFlare : CloudFlare cung cấp cho bạn những tính năng tuyệt vời và miễn phí CloudFlare là một trong những dịch vụ CDN có nhiều trung tâm dữ liệu nhất trên thế giới CloudFlare giúp bạn quản lý DNS của tên miền dễ dàng và hiệu quả CloudFlare giúp bạn triển khai CDN rất đơn giản và hiệu quả CloudFlare hỗ trợ SSL cho website miễn phí Khuyết điểm của CloudFlare : Gói miễn phí của CloudFlare có tốc độ đường truyền không cao Tính năng CloudFlare security đôi lúc gây phiền toái cho người dùng. Khuyến nghị của xTraffic.pep.vn : Sử dụng CloudFlare để quản lý DNS của tên miền rất hiệu quả, nếu bạn không sử dụng CDN của CloudFlare thì cũng nên sử dụng tính năng quản lý DNS này, nó giúp thời gian truy vấn DNS đến tên miền của bạn. Nếu website của bạn có lượng truy cập khoảng 1000 visitor/ngày trở xuống thì gói miễn phí của CloudFlare là phù hợp với bạn. Còn nếu website của bạn có lượng truy cập tương đối cao thì hãy sử dụng gói tính phí của CloudFlare hoặc sử dụng các nhà cung cấp CDN tính phí khác để đạt hiệu quả cao hơn. Bạn có thể xem chi tiết và đăng ký CloudFlare tại link https://www.cloudflare.com/plans Amazon CloudFront ( Commercial - http://aws.amazon.com/cloudfront/ ) Amazon Web Services (AWS) Amazon Web Services (AWS) Amazon CloudFront là dịch vụ CDN trả phí của Amazon. Với lợi thế về hạ tầng điện toán đám mây và khả năng tài chính mạnh nên dịch vụ CDN Amazon CloudFront là một sự lựa chọn tốt cho website của bạn. Nếu bạn đang sử dụng dịch vụ Amazon Web Services (S3, EC2) thì bạn nên sử dụng dịch vụ CDN Amazon CloudFront này tất cả đều chung 1 hạ tầng của Amazon nên sẽ hoạt động hoàn hảo nhất. Ưu điểm của Amazon CloudFront : Amazon CloudFront tính phí theo tài nguyên mà bạn đã sử dụng, thực sự rất hiệu quả nếu website của bạn không có quá nhiều lượng truy cập mỗi tháng Amazon CloudFront có chi phí khá rẻ Amazon CloudFront có data center tại Hồng Kông nên sẽ có tốc độ rất tốt nếu người dùng truy cập từ Việt Nam Khuyết điểm của Amazon CloudFront : Cách tính phí tương đối phức tạp vì không chỉ liên quan đến băng thông mà còn liên quan đến lưu trữ và truy vấn. Nhưng đây sẽ không phải là vấn đề nếu website của bạn không quá lớn như Vnexpress.net :) Amazon CloudFront không tính phí theo tháng mà tính theo tài nguyên bạn đã sử dụng. Chi tiết về giá dịch vụ bạn có thể xem t���i link này http://aws.amazon.com/cloudfront/pricing/ KeyCDN ( Commercial - https://www.keycdn.com/ ) KeyCDN KeyCDN KeyCDN là một dịch vụ CDN rất tốt của Thuỵ Sĩ (Made in Switzerland). Hiện tại họ đang có hơn 16 trung tâm dữ liệu tại khắp nơi trên thế giới (đặc biệt là Hồng Kông). Ưu điểm của KeyCDN : KeyCDN là một công ty của Thuỵ Sĩ nên rất chuyên nghiệp và ổn định KeyCDN có chi phí rẻ nhất trong số các CDN thương mại tốt nhất hiện nay. Bạn có thể tham khảo giá củaKeyCDN tại đây https://www.keycdn.com/pricing KeyCDN chỉ tính phí theo băng thông bạn đã sử dụng mà không tính thêm bất kỳ các loại phí khác (lưu trữ, truy vấn) như Amazon CloudFront. Rất dễ tính và quản lý chi phí hiệu quả cho website của bạn KeyCDN có trung tâm dữ liệu tại Hồng Kông nên có tốc độ rất tốt khi người dùng truy vấn tại Việt Nam KeyCDN cung cấp share SSL miễn phí khi bạn sử dụng dịch vụ của họ. Hiện tại KeyCDN đang cung cấp 25GB dùng thử cho các tài khoản đăng ký mới, bạn có thể đăng ký và dùng thử KeyCDN để quyết định có tiếp tục sử dụng dịch vụ của họ. Bạn vào đây https://www.keycdn.com/ để tìm hiểu thông tin và đăng ký sử dụng KeyCDN. VIETNAM CDN ( Commercial - http://cdn.com.vn/ ) cdn.com.vn cdn.com.vn cdn.com.vn là đại biểu duy nhất đến từ Việt Nam cung cấp dịch vụ CDN. Nếu đa số người dùng của bạn đến từ Việt Nam thì hãy cân nhắc sử dụng dịch vụ này của họ. Ưu điểm của cdn.com.vn : Ưu điểm lớn nhất của cdn.com.vn là có trung tâm dữ liệu đặt tại Việt Nam, nên sẽ cho tốc độ tốt nhất nếu người dùng truy cập từ Việt Nam cdn.com.vn cung cấp hình thức thanh toán đa dạng bao gồm chuyển khoản ngân hàng, thẻ cào điện thoại (mobifone, vinaphone, viettel,...), paypal,... rất phù hợp và thuận tiện khi bạn ở Việt Nam Tính phí theo băng thông bạn đã sử dụng Khuyết điểm của cdn.com.vn : Do hạ tầng mạng tại Việt Nam không tốt khi kết nối với nước ngoài, do đó, nếu server chứa website của bạn đặt tại nước ngoài thì sẽ mất khá lâu để cdn.com.vn tải về nội dung từ server của bạn. Tuy nhiên, việc này chỉ xảy ra lần đầu tiên khi cdn.com.vn chưa có dữ liệu. Khuyến nghị của xTraffic.pep.vn : Đây là dịch vụ bạn nên dùng nếu lượng truy cập đến website của bạn chủ yếu từ Việt Nam. Tổng kết Top CDN tốt nhất tại Việt Nam và thế giới Đầu tiên bạn cần phải dùng một công cụ thống kê (như Google Analytics) để phân tích vị trí địa lý người dùng của website. Nếu website của bạn có trên 80% người dùng đến từ Việt Nam thì lựa chọn tốt nhất là cdn.com.vn và KeyCDN. Còn nếu người dùng của bạn chia đều ở nhiều quốc gia khác nhau thì lựa chọn tốt nhất là KeyCDN vì chi phí hợp lý và hạ tầng tốt. Nếu website của bạn có lượng truy cập tương đối thấp (dưới 1000 visitors/ngày) thì hãy sử dụng dịch vụ miễn phí của CloudFlare :). Ngoài ra bạn cũng nên dùng CloudFlare để quản lý DNS cho tên miền của bạn thay cho nhà cung cấp tên miền (như pavietnam.vn, Mắt Bão,...) để đạt hiệu quả truy vấn DNS tốt nhất cho website.
0 notes